#pragma once // @generated by torchgen/gen.py from Function.h #include #include #include #include #include #include #include #include #include #include #include #include #include namespace at { // aten::randperm(int n, *, ScalarType? dtype=long, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor inline at::Tensor randperm(int64_t n, at::TensorOptions options=at::kLong) { return at::_ops::randperm::call(n, optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); } // aten::randperm(int n, *, ScalarType? dtype=long, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor inline at::Tensor randperm(int64_t n, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { return at::_ops::randperm::call(n, dtype, layout, device, pin_memory); } // aten::randperm.generator(int n, *, Generator? generator, ScalarType? dtype=long, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor inline at::Tensor randperm(int64_t n, c10::optional generator, at::TensorOptions options=at::kLong) { return at::_ops::randperm_generator::call(n, generator, optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); } // aten::randperm.generator(int n, *, Generator? generator, ScalarType? dtype=long, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor inline at::Tensor randperm(int64_t n, c10::optional generator, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { return at::_ops::randperm_generator::call(n, generator, dtype, layout, device, pin_memory); } // aten::randperm.out(int n, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & randperm_out(at::Tensor & out, int64_t n) { return at::_ops::randperm_out::call(n, out); } // aten::randperm.out(int n, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & randperm_outf(int64_t n, at::Tensor & out) { return at::_ops::randperm_out::call(n, out); } // aten::randperm.generator_out(int n, *, Generator? generator, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & randperm_out(at::Tensor & out, int64_t n, c10::optional generator) { return at::_ops::randperm_generator_out::call(n, generator, out); } // aten::randperm.generator_out(int n, *, Generator? generator, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & randperm_outf(int64_t n, c10::optional generator, at::Tensor & out) { return at::_ops::randperm_generator_out::call(n, generator, out); } }