MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_total_elements()

uint64_t MayaFlux::Kakshya::TensorContainer::get_total_elements ( ) const
nodiscardoverridevirtual

Number of elements in the tensor.

Implements MayaFlux::Kakshya::NDDataContainer< TensorData >.

Definition at line 62 of file TensorContainer.cpp.

63{
64 return m_data.spec().element_count().value_or(0);
65}

References m_data.

Referenced by has_data(), and linear_index_to_coordinates().

Here is the caller graph for this function: