• Home
  • Raw
  • Download

Lines Matching refs:m_Model

816     const auto& subgraphPtr = m_Model->subgraphs[subgraphIndex];  in InputTensorInfo()
817 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in InputTensorInfo()
840 const auto& subgraphPtr = m_Model->subgraphs[subgraphIndex]; in OutputTensorInfoFromInputs()
841 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in OutputTensorInfoFromInputs()
864 auto inputTensorIds = GetInputTensorIds(m_Model, subgraphIndex, operatorIndex); in OutputTensorInfoFromInputs()
879 m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in OutputTensorInfoFromInputs()
898 const auto& subgraphPtr = m_Model->subgraphs[subgraphIndex]; in OutputTensorInfoFromShapes()
899 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in OutputTensorInfoFromShapes()
917 m_Model = nullptr; in ResetParser()
928 m_Model = LoadModelFromFile(graphFile); in CreateNetworkFromBinaryFile()
935 m_Model = LoadModelFromBinary(binaryContent.data(), binaryContent.size()); in CreateNetworkFromBinary()
943 m_Model = std::move(model); in LoadModel()
975 ARMNN_ASSERT(m_Model.get() != nullptr); in CreateNetworkFromModel()
977 if (m_Model->subgraphs.size() != 1) in CreateNetworkFromModel()
981 m_Model->subgraphs.size(), in CreateNetworkFromModel()
989 for (SubgraphPtr const& subgraph : m_Model->subgraphs) in CreateNetworkFromModel()
997 auto const& opCodePtr = m_Model->operator_codes[op->opcode_index]; in CreateNetworkFromModel()
1076 CHECK_TENSOR(m_Model, subgraphIndex, tensorIndex); in RegisterProducerOfTensor()
1102 CHECK_TENSOR(m_Model, subgraphIndex, tensorIndex); in RegisterConsumerOfTensor()
1112 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseCustomOperator()
1118 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseCustomOperator()
1119 const auto& customCode = m_Model->operator_codes[operatorPtr->opcode_index]->custom_code; in ParseCustomOperator()
1134 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseUnsupportedOperator()
1136 const auto & operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseUnsupportedOperator()
1142 auto opcode = std::max(m_Model->operator_codes[opcodeIndex]->builtin_code, in ParseUnsupportedOperator()
1143 …static_cast<tflite::BuiltinOperator>(m_Model->operator_codes[opcodeIndex]->deprecated_builtin_code… in ParseUnsupportedOperator()
1145 auto opcode = m_Model->operator_codes[opcodeIndex]->builtin_code; in ParseUnsupportedOperator()
1163 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseUnsupportedOperator()
1164 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseUnsupportedOperator()
1181 … auto inputTensorIds = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex)); in ParseUnsupportedOperator()
1182 …auto outputTensorIds = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorIndex)); in ParseUnsupportedOperator()
1190 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseCast()
1192 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseCast()
1194 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseCast()
1205 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseCast()
1208 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseCast()
1214 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseConv2D()
1216 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseConv2D()
1221 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseConv2D()
1222 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseConv2D()
1253 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseConv2D()
1288 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseConv2D()
1296 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseConv3D()
1298 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseConv3D()
1313 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseConv3D()
1316 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseConv3D()
1343 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseConv3D()
1367 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseConv3D()
1374 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseDepthwiseConv2D()
1376 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseDepthwiseConv2D()
1387 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseDepthwiseConv2D()
1394 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseDepthwiseConv2D()
1418 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseDepthwiseConv2D()
1444 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseDepthwiseConv2D()
1450 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseDequantize()
1452 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseDequantize()
1455 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseDequantize()
1466 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseDequantize()
1469 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseDequantize()
1475 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseExpandDims()
1477 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseExpandDims()
1480 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseExpandDims()
1538 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseExpandDims()
1541 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseExpandDims()
1547 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseTranspose()
1549 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseTranspose()
1552 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseTranspose()
1561 BufferRawPtr permuteBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseTranspose()
1578 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseTranspose()
1581 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseTranspose()
1587 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseTransposeConv()
1589 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseTransposeConv()
1598 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseTransposeConv()
1608 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseTransposeConv()
1622 …::memcpy(output_shape.data(), GetBuffer(m_Model, inputs[0]->buffer)->data.data(), tensorInfo.GetNu… in ParseTransposeConv()
1628 output_shape[i] = GetBuffer(m_Model, inputs[0]->buffer)->data.data()[i]; in ParseTransposeConv()
1692 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseTransposeConv()
1695 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseTransposeConv()
1706 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseBatchMatMul()
1708 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseBatchMatMul()
1711 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseBatchMatMul()
1719 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseBatchMatMul()
1735 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseBatchMatMul()
1738 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseBatchMatMul()
1744 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseBatchToSpaceND()
1746 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseBatchToSpaceND()
1749 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseBatchToSpaceND()
1753 BufferRawPtr blockShapeBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseBatchToSpaceND()
1756 BufferRawPtr cropsBufferPtr = GetBuffer(m_Model, inputs[2]->buffer); in ParseBatchToSpaceND()
1787 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseBatchToSpaceND()
1790 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseBatchToSpaceND()
1796 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseL2Normalization()
1798 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseL2Normalization()
1801 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseL2Normalization()
1814 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseL2Normalization()
1817 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseL2Normalization()
1828 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseMaximum()
1830 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseMaximum()
1833 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseMaximum()
1849 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseMaximum()
1852 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseMaximum()
1858 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseMinimum()
1860 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseMinimum()
1863 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseMinimum()
1879 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseMinimum()
1882 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseMinimum()
1890 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParsePool()
1892 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParsePool()
1924 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParsePool()
1937 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParsePool()
1949 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParsePool()
1954 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParsePool()
1960 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSlice()
1962 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSlice()
1964 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSlice()
1971 BufferRawPtr beginBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseSlice()
1978 BufferRawPtr sizeBufferPtr = GetBuffer(m_Model, inputs[2]->buffer); in ParseSlice()
2026 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSlice()
2030 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSlice()
2036 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSoftmax()
2037 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseSoftmax()
2043 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSoftmax()
2045 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSoftmax()
2056 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSoftmax()
2060 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSoftmax()
2066 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseLogSoftmax()
2070 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseLogSoftmax()
2072 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseLogSoftmax()
2083 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseLogSoftmax()
2087 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseLogSoftmax()
2093 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSpaceToBatchND()
2095 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSpaceToBatchND()
2098 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSpaceToBatchND()
2102 BufferRawPtr blockShapeBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseSpaceToBatchND()
2105 BufferRawPtr padListBufferPtr = GetBuffer(m_Model, inputs[2]->buffer); in ParseSpaceToBatchND()
2136 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSpaceToBatchND()
2139 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSpaceToBatchND()
2145 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSpaceToDepth()
2147 TfLiteParserImpl::TensorRawPtrVector inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSpaceToDepth()
2149 … TfLiteParserImpl::TensorRawPtrVector outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSpaceToDepth()
2154 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseSpaceToDepth()
2172 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSpaceToDepth()
2175 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSpaceToDepth()
2232 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseShape()
2234 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseShape()
2236 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseShape()
2257 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseShape()
2260 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseShape()
2266 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSqueeze()
2268 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSqueeze()
2271 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSqueeze()
2274 const auto & operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseSqueeze()
2300 auto outputTensorIds = GetOutputTensorIds(m_Model, subgraphIndex, operatorIndex); in ParseSqueeze()
2307 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSqueeze()
2310 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSqueeze()
2316 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseStridedSlice()
2318 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseStridedSlice()
2321 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseStridedSlice()
2324 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseStridedSlice()
2336 BufferRawPtr beginBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseStridedSlice()
2342 BufferRawPtr endBufferPtr = GetBuffer(m_Model, inputs[2]->buffer); in ParseStridedSlice()
2348 BufferRawPtr strideBufferPtr = GetBuffer(m_Model, inputs[3]->buffer); in ParseStridedSlice()
2364 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseStridedSlice()
2367 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseStridedSlice()
2373 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSub()
2375 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseSub()
2378 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSub()
2381 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSub()
2394 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSub()
2399 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSub()
2405 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseDiv()
2407 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseDiv()
2410 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseDiv()
2413 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseDiv()
2426 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseDiv()
2430 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseDiv()
2436 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseFloorDiv()
2438 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseFloorDiv()
2441 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseFloorDiv()
2454 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseFloorDiv()
2458 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseFloorDiv()
2464 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseAdd()
2466 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseAdd()
2469 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseAdd()
2472 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseAdd()
2485 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseAdd()
2489 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseAdd()
2495 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseMul()
2497 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseMul()
2500 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseMul()
2503 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseMul()
2516 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseMul()
2520 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseMul()
2526 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseMean()
2528 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseMean()
2530 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseMean()
2537 BufferRawPtr axisBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseMean()
2573 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseMean()
2576 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseMean()
2582 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParsePad()
2584 TfLiteParserImpl::TensorRawPtrVector inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParsePad()
2586 … TfLiteParserImpl::TensorRawPtrVector outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParsePad()
2592 std::vector<unsigned int> padBuffer = GetUIntBuffer(padTensorInfo, m_Model, inputs[1]->buffer); in ParsePad()
2596 auto opcode = GetOpCode(m_Model, subgraphIndex, operatorIndex); in ParsePad()
2617 BufferRawPtr padValueBufferPtr = GetBuffer(m_Model, inputs[2]->buffer); in ParsePad()
2672 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParsePad()
2675 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParsePad()
2681 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseMirrorPad()
2683 TfLiteParserImpl::TensorRawPtrVector inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseMirrorPad()
2686 … TfLiteParserImpl::TensorRawPtrVector outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseMirrorPad()
2692 BufferRawPtr bufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseMirrorPad()
2704 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseMirrorPad()
2743 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseMirrorPad()
2746 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseMirrorPad()
2752 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParsePrelu()
2754 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParsePrelu()
2757 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParsePrelu()
2771 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParsePrelu()
2791 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParsePrelu()
2799 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParsePrelu()
2805 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseQuantize()
2807 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseQuantize()
2810 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseQuantize()
2821 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseQuantize()
2824 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseQuantize()
2865 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseActivation()
2866 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseActivation()
2869 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseActivation()
2872 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseActivation()
2938 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseActivation()
2942 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseActivation()
2977 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseReshape()
2979 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseReshape()
2981 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseReshape()
2984 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseReshape()
3031 auto bufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseReshape()
3125 auto outputTensorIds = GetOutputTensorIds(m_Model, subgraphIndex, operatorIndex); in ParseReshape()
3135 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseReshape()
3138 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseReshape()
3154 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseResize()
3156 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseResize()
3159 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseResize()
3167 BufferRawPtr sizeBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseResize()
3184 const auto & operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseResize()
3211 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseResize()
3214 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseResize()
3220 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseConcatenation()
3222 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseConcatenation()
3227 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseConcatenation()
3228 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseConcatenation()
3229 auto inputTensorIds = GetInputTensorIds(m_Model, subgraphIndex, operatorIndex); in ParseConcatenation()
3259 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseConcatenation()
3265 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseConcatenation()
3271 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseFullyConnected()
3273 const auto& operatorRfr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseFullyConnected()
3282 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseFullyConnected()
3283 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseFullyConnected()
3302 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseFullyConnected()
3408 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseFullyConnected()
3416 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseDetectionPostProcess()
3418 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseDetectionPostProcess()
3420 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseDetectionPostProcess()
3421 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseDetectionPostProcess()
3480 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseDetectionPostProcess()
3484 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseDetectionPostProcess()
3494 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParsePack()
3496 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParsePack()
3497 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParsePack()
3505 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParsePack()
3524 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParsePack()
3527 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParsePack()
3533 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseUnidirectionalSequenceLSTM()
3535 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseUnidirectionalSequenceLSTM()
3536 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseUnidirectionalSequenceLSTM()
3543 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseUnidirectionalSequenceLSTM()
3544 const auto& subgraphPtr = m_Model->subgraphs[subgraphIndex]; in ParseUnidirectionalSequenceLSTM()
3794 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseUnidirectionalSequenceLSTM()
3807 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseUnpack()
3809 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseUnpack()
3815 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseUnpack()
3843 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseUnpack()
3881 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseUnpack()
3920 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSplit()
3922 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseSplit()
3933 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSplit()
3935 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSplit()
3942 BufferRawPtr axisBufferPtr = GetBuffer(m_Model, inputs[0]->buffer); in ParseSplit()
4007 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSplit()
4016 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSplit()
4032 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseSplitV()
4034 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseSplitV()
4037 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseSplitV()
4062 BufferRawPtr axisBufferPtr = GetBuffer(m_Model, axisTensor->buffer); in ParseSplitV()
4106 BufferRawPtr splitsBufferPtr = GetBuffer(m_Model, splitsTensor->buffer); in ParseSplitV()
4144 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseSplitV()
4173 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseSplitV()
4182 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseSplitV()
4198 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseArgMinMax()
4199 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseArgMinMax()
4202 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseArgMinMax()
4221 BufferRawPtr axisBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseArgMinMax()
4258 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseArgMinMax()
4262 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseArgMinMax()
4268 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseGather()
4270 TfLiteParserImpl::TensorRawPtrVector inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseGather()
4272 … TfLiteParserImpl::TensorRawPtrVector outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseGather()
4281 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseGather()
4314 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseGather()
4317 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseGather()
4323 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseGatherNd()
4325 TfLiteParserImpl::TensorRawPtrVector inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseGatherNd()
4327 … TfLiteParserImpl::TensorRawPtrVector outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseGatherNd()
4339 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseGatherNd()
4342 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseGatherNd()
4348 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseDepthToSpace()
4350 TfLiteParserImpl::TensorRawPtrVector inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseDepthToSpace()
4352 … TfLiteParserImpl::TensorRawPtrVector outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseDepthToSpace()
4357 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseDepthToSpace()
4375 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseDepthToSpace()
4378 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseDepthToSpace()
4404 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseReduce()
4406 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseReduce()
4409 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseReduce()
4412 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseReduce()
4421 BufferRawPtr axisBufferPtr = GetBuffer(m_Model, inputs[1]->buffer); in ParseReduce()
4456 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseReduce()
4460 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseReduce()
4466 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseLocalResponseNormalization()
4468 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseLocalResponseNormalization()
4471 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseLocalResponseNormalization()
4479 const auto& operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; in ParseLocalResponseNormalization()
4501 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseLocalResponseNormalization()
4504 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseLocalResponseNormalization()
4555 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseElementwiseUnary()
4557 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseElementwiseUnary()
4560 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseElementwiseUnary()
4574 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseElementwiseUnary()
4577 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseElementwiseUnary()
4614 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in ParseComparison()
4616 auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); in ParseComparison()
4619 auto outputs = GetOutputs(m_Model, subgraphIndex, operatorIndex); in ParseComparison()
4637 …auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex… in ParseComparison()
4640 …auto outputTensorIndexes = AsUnsignedVector(GetOutputTensorIds(m_Model, subgraphIndex, operatorInd… in ParseComparison()
4892 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in RegisterInputSlots()
4920 CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); in RegisterOutputSlots()
4944 CHECK_SUBGRAPH(m_Model, subgraphIndex); in SetupInputLayerTensorInfos()
4946 auto inputs = GetSubgraphInputs(m_Model, subgraphIndex); in SetupInputLayerTensorInfos()
4956 CHECK_SUBGRAPH(m_Model, subgraphIndex); in SetupInputLayers()
4958 auto inputs = GetSubgraphInputs(m_Model, subgraphIndex); in SetupInputLayers()
4977 CHECK_SUBGRAPH(m_Model, subgraphIndex); in SetupOutputLayers()
4979 auto outputs = GetSubgraphOutputs(m_Model, subgraphIndex); in SetupOutputLayers()
4995 CHECK_SUBGRAPH(m_Model, subgraph); in SetupConstantLayerTensorInfos()
4997 const auto & subgraphPtr = m_Model->subgraphs[subgraph]; in SetupConstantLayerTensorInfos()
5017 CHECK_SUBGRAPH(m_Model, subgraph); in SetupConstantLayers()
5019 const auto & subgraphPtr = m_Model->subgraphs[subgraph]; in SetupConstantLayers()
5123 auto buffer = GetBuffer(m_Model, tensorPtr->buffer); in IsConstTensor()
5138 auto bufferPtr = GetBuffer(m_Model, tensorPtr->buffer); in CreateConstTensorPermuted()
5187 auto bufferPtr = GetBuffer(m_Model, tensorPtr->buffer); in CreateConstTensorNonPermuted()
5202 auto bufferPtr = GetBuffer(m_Model, tensorPtr->buffer); in CreateConstTensorNonPermuted()
5236 auto bufferPtr = GetBuffer(m_Model, tensorPtr->buffer); in CreateConstTensorPtr()
5268 CHECK_SUBGRAPH(m_Model, subgraphId); in GetNetworkInputBindingInfo()
5269 auto inputs = GetSubgraphInputs(m_Model, subgraphId); in GetNetworkInputBindingInfo()
5300 CHECK_SUBGRAPH(m_Model, subgraphId); in GetNetworkOutputBindingInfo()
5301 auto outputs = GetSubgraphOutputs(m_Model, subgraphId); in GetNetworkOutputBindingInfo()
5331 return m_Model->subgraphs.size(); in GetSubgraphCount()
5336 CHECK_SUBGRAPH(m_Model, subgraphId); in GetSubgraphInputTensorNames()
5337 auto inputs = GetSubgraphInputs(m_Model, subgraphId); in GetSubgraphInputTensorNames()
5349 CHECK_SUBGRAPH(m_Model, subgraphId); in GetSubgraphOutputTensorNames()
5350 auto outputs = GetSubgraphOutputs(m_Model, subgraphId); in GetSubgraphOutputTensorNames()