Home
last modified time | relevance | path

Searched refs:subgraphs (Results 1 – 1 of 1) sorted by relevance

/frameworks/ml/nn/common/
DValidateHal.cpp171 const hidl_vec<Subgraph>& subgraphs, bool allowUnspecifiedRank) { in validateOperands() argument
386 if (location.offset >= subgraphs.size()) { in validateOperands()
388 << " >= " << subgraphs.size(); in validateOperands()
451 const hidl_vec<Subgraph>& subgraphs, ValidationMode mode) { in validateOperations() argument
452 auto isValidSubgraphReference = [&subgraphs](const Operand& modelOperand) -> bool { in validateOperations()
455 NN_RET_CHECK_LT(modelOperand.location.offset, subgraphs.size()) in validateOperations()
459 auto getSubgraph = [&subgraphs](const Operand& modelOperand) -> const Subgraph* { in validateOperations()
460 CHECK_LT(modelOperand.location.offset, subgraphs.size()); in validateOperations()
461 return &subgraphs[modelOperand.location.offset]; in validateOperations()