#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 randperm(int64_t n, c10::optional dtype={}, c10::optional layout={}, c10::optional device={}, c10::optional pin_memory={}); TORCH_API at::Tensor & randperm_out(int64_t n, at::Tensor & out); TORCH_API at::Tensor randperm(int64_t n, c10::optional generator, c10::optional dtype={}, c10::optional layout={}, c10::optional device={}, c10::optional pin_memory={}); TORCH_API at::Tensor & randperm_out_cpu(int64_t n, c10::optional generator, at::Tensor & out); TORCH_API at::Tensor & randperm_out_cuda(int64_t n, c10::optional generator, at::Tensor & out); } // namespace native } // namespace at