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

◆ has_data()

bool MayaFlux::Kakshya::TensorContainer::has_data ( ) const
inlinenodiscardoverridevirtual

Whether the tensor contains any elements.

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

Definition at line 171 of file TensorContainer.hpp.

171{ return get_total_elements() > 0; }
uint64_t get_total_elements() const override
Number of elements in the tensor.

References get_total_elements().

Here is the call graph for this function: