MCPcopy Create free account
hub / github.com/ARM-software/armnn / Validate

Method Validate

src/backends/backendsCommon/WorkloadData.cpp:455–470  ·  view source on GitHub ↗

---------------------------------------------------------------

Source from the content-addressed store, hash-verified

453
454//---------------------------------------------------------------
455void MapQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const
456{
457 const std::string descriptorName{"MapQueueDescriptor"};
458
459 ValidateNumInputs(workloadInfo, descriptorName, 1);
460 ValidateNumOutputs(workloadInfo, descriptorName, 0);
461
462 for (unsigned int i = 0; i < m_Inputs.size(); ++i)
463 {
464 if (!m_Inputs[i])
465 {
466 throw InvalidArgumentException(
467 fmt::format("{}: Invalid NULL input {}.", descriptorName, static_cast<int>(i)));
468 }
469 }
470}
471
472//---------------------------------------------------------------
473void UnmapQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const

Callers 5

BaseWorkloadMethod · 0.45

Calls 15

formatEnum · 0.85
ValidateDataTypesFunction · 0.85
GetUnsignedAxisFunction · 0.85
ValidateTensorDataTypeFunction · 0.85
GetBiasDataTypeFunction · 0.85
ValidatePointerFunction · 0.85
ValidateWeightDataTypeFunction · 0.85

Tested by

no test coverage detected