|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Kakshya::TensorInsertion::assign_window | ( | const Region & | region, |
| const TensorAccess & | view ) |
Overwrite the box a Region selects with a view of the box's shape.
Strided views are gathered first, so the source may alias this tensor.
Definition at line 66 of file TensorInsertion.cpp.
References assign(), MayaFlux::Kakshya::TensorData::copy_of(), MayaFlux::Kakshya::TensorSpec::dtype, m_tensor, MayaFlux::Kakshya::TensorSpec::shape, and MayaFlux::Kakshya::TensorAccess::spec().
Referenced by MayaFlux::Kakshya::TensorContainer::set_region_data().