#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::clone(Tensor self, *, MemoryFormat? memory_format=None) -> Tensor inline at::Tensor clone(const at::Tensor & self, ::std::optional memory_format=::std::nullopt) { return at::_ops::clone::call(self, memory_format); } // aten::clone.out(Tensor self, *, MemoryFormat? memory_format=None, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & clone_out(at::Tensor & out, const at::Tensor & self, ::std::optional memory_format=::std::nullopt) { return at::_ops::clone_out::call(self, memory_format, out); } // aten::clone.out(Tensor self, *, MemoryFormat? memory_format=None, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & clone_outf(const at::Tensor & self, ::std::optional memory_format, at::Tensor & out) { return at::_ops::clone_out::call(self, memory_format, out); } }