Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DMetaModel.cpp143 std::vector<size_t> poolSizes) in OrigOperandToSlicedInputOperandIndex() argument
148 kPoolSizes(std::move(poolSizes)) {} in OrigOperandToSlicedInputOperandIndex()
338 const auto [operandValuesSize, poolSizes] = getMemorySizes(mModel); in getNoncompliantOperations()
346 operation, mModel.main.operands, operandValuesSize, poolSizes, in getNoncompliantOperations()
451 const auto [operandValuesSize, poolSizes] = getMemorySizes(mModel); in makeSlice()
455 poolSizes); in makeSlice()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp351 const std::vector<size_t>& poolSizes,
356 const Operand& operand, size_t operandValuesSize, const std::vector<size_t>& poolSizes, in validateOperandDataLocation() argument
375 NN_RET_CHECK_LT(location.poolIndex, poolSizes.size()); in validateOperandDataLocation()
378 poolSizes[location.poolIndex]) in validateOperandDataLocation()
380 << ", length " << location.length << ", max " << poolSizes[location.poolIndex]; in validateOperandDataLocation()
406 subgraphs[location.offset], location.offset, operandValuesSize, poolSizes, in validateOperandDataLocation()
632 const std::vector<size_t>& poolSizes, in validateOperand() argument
642 version, NN_TRY(validateOperandDataLocation(operand, operandValuesSize, poolSizes, in validateOperand()
664 const std::vector<size_t>& poolSizes, const std::vector<Model::Subgraph>& subgraphs, in validateOperands() argument
669 auto result = validateOperand(operands[i], operandValuesSize, poolSizes, subgraphs, in validateOperands()
[all …]
DTypeUtils.cpp267 std::vector<size_t> poolSizes; in getMemorySizes() local
268 poolSizes.reserve(model.pools.size()); in getMemorySizes()
269 std::transform(model.pools.begin(), model.pools.end(), std::back_inserter(poolSizes), in getMemorySizes()
272 return std::make_pair(operandValuesSize, std::move(poolSizes)); in getMemorySizes()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DValidation.h141 const std::vector<size_t>& poolSizes, const std::vector<Model::Subgraph>& subgraphs,
145 const std::vector<size_t>& poolSizes,