#pragma once // @generated by torchgen/gen.py from NativeFunction.h #include #include #include #include #include #include #include #include #include #include namespace at { namespace native { TORCH_API at::Tensor eye(int64_t n, c10::optional dtype={}, c10::optional layout={}, c10::optional device={}, c10::optional pin_memory={}); TORCH_API at::Tensor & eye_out_cpu(int64_t n, at::Tensor & out); TORCH_API at::Tensor & eye_out_cuda(int64_t n, at::Tensor & out); TORCH_API at::Tensor eye(int64_t n, int64_t m, c10::optional dtype={}, c10::optional layout={}, c10::optional device={}, c10::optional pin_memory={}); TORCH_API at::Tensor & eye_out_cpu(int64_t n, int64_t m, at::Tensor & out); TORCH_API at::Tensor & eye_out_cuda(int64_t n, int64_t m, at::Tensor & out); } // namespace native } // namespace at