|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Kakshya::TensorInsertion::assign | ( | const TensorAccess & | view | ) |
Overwrite the tensor with a copy of a view of the same dtype and shape.
Strided views are gathered into the tensor's own layout.
Definition at line 45 of file TensorInsertion.cpp.
References MayaFlux::Kakshya::TensorData::copy_of(), MayaFlux::Kakshya::TensorSpec::dtype, m_tensor, MayaFlux::Kakshya::TensorSpec::shape, MayaFlux::Kakshya::TensorAccess::spec(), and write_bytes().
Referenced by assign_window().