/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestUtils.cpp | 43 Operand createOperand(const TestOperand& operand, Model::OperandValues* operandValues, in createOperand() argument 45 CHECK(operandValues != nullptr); in createOperand() 59 location = operandValues->append(operand.data.get<uint8_t>(), operand.data.size()); in createOperand() 88 Model::OperandValues* operandValues, in createSubgraph() argument 95 [operandValues, memoryBuilder](const TestOperand& operand) { in createSubgraph() 96 return createOperand(operand, operandValues, memoryBuilder); in createSubgraph() 118 Model::OperandValues operandValues; in createModel() local 121 Model::Subgraph mainSubgraph = createSubgraph(testModel.main, &operandValues, &memoryBuilder); in createModel() 126 [&operandValues, &memoryBuilder](const TestSubgraph& testSubgraph) { in createModel() 127 return createSubgraph(testSubgraph, &operandValues, &memoryBuilder); in createModel() [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_variation/ |
D | stdout.txt.expect | 109 std::vector<uint8_t> operandValues = { 119 .operandValues = operandValues, 256 std::vector<uint8_t> operandValues = { 266 .operandValues = operandValues, 404 std::vector<uint8_t> operandValues = { 414 .operandValues = operandValues, 551 std::vector<uint8_t> operandValues = { 561 .operandValues = operandValues, 698 std::vector<uint8_t> operandValues = { 708 .operandValues = operandValues, [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_naming/ |
D | stdout.txt.expect | 109 std::vector<uint8_t> operandValues = { 119 .operandValues = operandValues, 256 std::vector<uint8_t> operandValues = { 266 .operandValues = operandValues, 404 std::vector<uint8_t> operandValues = { 414 .operandValues = operandValues, 551 std::vector<uint8_t> operandValues = { 561 .operandValues = operandValues, 698 std::vector<uint8_t> operandValues = { 708 .operandValues = operandValues, [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_variation/ |
D | stdout.txt.expect | 109 std::vector<uint8_t> operandValues = { 119 .operandValues = operandValues, 256 std::vector<uint8_t> operandValues = { 266 .operandValues = operandValues, 404 std::vector<uint8_t> operandValues = { 414 .operandValues = operandValues, 551 std::vector<uint8_t> operandValues = { 561 .operandValues = operandValues, 698 std::vector<uint8_t> operandValues = { 708 .operandValues = operandValues, [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_parameter/ |
D | stdout.txt.expect | 64 std::vector<uint8_t> operandValues = { 74 .operandValues = operandValues, 187 std::vector<uint8_t> operandValues = { 197 .operandValues = operandValues, 310 std::vector<uint8_t> operandValues = { 320 .operandValues = operandValues,
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyHalUtils.cpp | 129 LOG(INFO) << "operandValues size" << model.operandValues.size(); in logModelToInfo() 139 LOG(INFO) << "operandValues size " << model.operandValues.size(); in logModelToInfo() 149 LOG(INFO) << "operandValues size" << model.operandValues.size(); in logModelToInfo() 168 LOG(INFO) << "operandValues size " << model.operandValues.size(); in logModelToInfo() 1275 .operandValues = model.operandValues, in convertToV1_0() 1288 .operandValues = model.operandValues, in convertToV1_0() 1301 .operandValues = model.operandValues, in convertToV1_0() 1310 .operandValues = model.operandValues, in convertToV1_1() 1328 .operandValues = model.operandValues, in convertToV1_1() 1343 .operandValues = model.operandValues, in convertToV1_1() [all …]
|
D | ValidateHal.cpp | 168 const hardware::hidl_vec<uint8_t>& operandValues, in validateOperands() argument 356 if (static_cast<size_t>(location.offset) + location.length > operandValues.size()) { in validateOperands() 360 << operandValues.size(); in validateOperands() 709 return (validateOperands(model.operands, model.operandValues, model.pools, /*subgraphs=*/{}, in validateModel() 731 return (validateOperands(subgraph.operands, model.operandValues, model.pools, in validateModel()
|
D | TypeUtils.cpp | 205 const size_t operandValuesSize = model.operandValues.size(); in getMemorySizes() 786 std::ostream& operator<<(std::ostream& os, const Model::OperandValues& operandValues) { in operator <<() argument 787 return os << "Model::OperandValues{<" << operandValues.size() << "bytes>}"; in operator <<() 798 << ", .operandValues=" << model.operandValues << ", .pools=" << model.pools in operator <<()
|
D | MetaModel.cpp | 471 slice.mModel.operandValues = mModel.operandValues; in makeSlice()
|
D | GraphDump.cpp | 135 pointer = model.operandValues.data() + opnd.location.offset; in tryValueDump()
|
D | CpuExecutor.cpp | 563 mModelOperandValues = model.operandValues.data(); in run()
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_backward_compatibility_quant8/ |
D | stdout.txt.expect | 100 std::vector<uint8_t> operandValues = { 110 .operandValues = operandValues,
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_quant8/ |
D | stdout.txt.expect | 91 std::vector<uint8_t> operandValues = { 101 .operandValues = operandValues,
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_float/ |
D | stdout.txt.expect | 91 std::vector<uint8_t> operandValues = { 101 .operandValues = operandValues,
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | DriverFuzzTest.cpp | 152 hidl_vec<uint8_t> operandValues(constCopySize); in createModel() local 153 copyTestBuffers(constCopies, operandValues.data()); in createModel() 173 .operandValues = std::move(operandValues), in createModel()
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_internal/ |
D | stdout.txt.expect | 262 std::vector<uint8_t> operandValues = { 272 .operandValues = operandValues,
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_backward_compatibility_float/ |
D | stdout.txt.expect | 271 std::vector<uint8_t> operandValues = { 281 .operandValues = operandValues,
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimConverter.cpp | 134 i, model.operandValues.data() + operand.location.offset, in convertSubgraphFromHAL() 388 *copiedOperandValues = model.operandValues; in convertFromHAL()
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Types.h | 760 OperandValues operandValues; member
|
D | TypeUtils.h | 122 std::ostream& operator<<(std::ostream& os, const Model::OperandValues& operandValues);
|
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyHalUtils.h | 375 hardware::hidl_vec<uint8_t> convertToV1_0(const Model::OperandValues& operandValues);
|
/packages/modules/NeuralNetworks/runtime/ |
D | ModelBuilder.cpp | 903 model.operandValues = std::move(mOperandValues); in makeModel()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriverFloatXNNPACK.cpp | 1637 mOperands = initializeRunTimeInfo(model->main, mPoolInfos, &model->operandValues); in initialize() 1958 auto operands = initializeRunTimeInfo(model.main, poolInfos, &model.operandValues); in getSupportedOperationsImpl()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioningRandom.cpp | 535 memcpy(&value, &model.operandValues[operand.location.offset], operand.location.length); in getSignature()
|
D | TestPartitioning.cpp | 297 [&model](uint32_t offset) { return &model.operandValues[offset]; }, operationIndex); in lookupOperation()
|