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

◆ is_valid()

bool MayaFlux::Kakshya::TensorData::is_valid ( ) const
inlinenodiscardnoexcept

Whether the tensor holds a consistent spec and its storage.

Definition at line 107 of file Tensor.hpp.

107{ return m_size > 0 || m_spec.element_count().value_or(1) == 0; }

References m_size, and m_spec.

Referenced by access().

Here is the caller graph for this function: