Rate this Page

Function at::_to_copy(const at::Tensor&, at::TensorOptions, bool, ::std::optional<at::MemoryFormat>)#

Function Documentation#

inline at::Tensor at::_to_copy(const at::Tensor &self, at::TensorOptions options = {}, bool non_blocking = false, ::std::optional<at::MemoryFormat> memory_format = ::std::nullopt)#