|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Kakshya::TensorInsertion::reshape | ( | std::vector< uint64_t > | shape | ) |
Change the shape without moving data.
| shape | New shape with the same element count; the tensor becomes dense. |
Definition at line 93 of file TensorInsertion.cpp.
References MayaFlux::Kakshya::TensorSpec::axes, MayaFlux::Kakshya::TensorSpec::element_count(), MayaFlux::Kakshya::TensorSpec::is_valid(), m_tensor, MayaFlux::Kakshya::TensorSpec::quantization, MayaFlux::Kakshya::TensorSpec::shape, and MayaFlux::Kakshya::TensorSpec::strides.