Rate this Page

Function torch::_to_copy#

Function Documentation#

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