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

◆ get_num_frames()

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

Extent of the leading axis.

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

Definition at line 83 of file TensorContainer.cpp.

84{
85 const auto& shape = m_data.spec().shape;
86 return shape.empty() ? 0 : shape.front();
87}

References m_data.