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

◆ diagnose()

std::string MayaFlux::Yantra::SileroVadModel::diagnose ( const Kakshya::TensorSet & weights)
staticnodiscard

Check that a tensor set holds the weights the network needs.

Parameters
weightsCandidate weights.
Returns
Empty when usable, otherwise the first missing tensor or shape mismatch.

Definition at line 206 of file SileroVadModel.cpp.

207{
208 return TensorKernels::check_tensors(weights, slot_specs());
209}
std::string check_tensors(const Kakshya::TensorSet &weights, std::span< const TensorRequirement > required)
Whether a set holds every required tensor with the required shape.

References MayaFlux::Yantra::TensorKernels::check_tensors(), and diagnose().

Referenced by diagnose().

Here is the call graph for this function:
Here is the caller graph for this function: