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

◆ find() [1/2]

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

Tensor with this exact name, or nullptr.

Definition at line 185 of file Tensor.cpp.

186{
187 for (auto& tensor : tensors) {
188 if (tensor.spec().name == name)
189 return &tensor;
190 }
191 return nullptr;
192}
std::vector< TensorData > tensors
Definition Tensor.hpp:168

References tensors.