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

◆ find() [2/2]

const TensorData * MayaFlux::Kakshya::TensorSet::find ( std::string_view name) const
nodiscard

Tensor with this exact name, or nullptr.

Definition at line 176 of file Tensor.cpp.

177{
178 for (const auto& tensor : tensors) {
179 if (tensor.spec().name == name)
180 return &tensor;
181 }
182 return nullptr;
183}
std::vector< TensorData > tensors
Definition Tensor.hpp:168

References tensors.

Referenced by MayaFlux::Yantra::TensorKernels::check_tensors(), and MayaFlux::Yantra::TensorKernels::pack_weights().

Here is the caller graph for this function: