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

◆ TensorContainer() [1/2]

MayaFlux::Kakshya::TensorContainer::TensorContainer ( TensorData data)
explicit

Take ownership of a tensor.

Exceptions
std::invalid_argumentIf the tensor holds no valid spec.

Definition at line 23 of file TensorContainer.cpp.

24 : m_data(std::move(data))
25{
26 if (!m_data.is_valid() || !m_data.spec().is_valid()) {
27 error<std::invalid_argument>(
29 std::source_location::current(),
30 "TensorContainer: the tensor holds no valid spec");
31 }
32}
@ Configuration
Configuration and parameter updates.
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.

References m_data.

Referenced by ~TensorContainer().

Here is the caller graph for this function: