Home
last modified time | relevance | path

Searched refs:operandValues (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp43 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/
Dstdout.txt.expect109 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/
Dstdout.txt.expect109 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/
Dstdout.txt.expect109 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/
Dstdout.txt.expect64 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/
DLegacyHalUtils.cpp129 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 …]
DValidateHal.cpp168 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()
DTypeUtils.cpp205 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 <<()
DMetaModel.cpp471 slice.mModel.operandValues = mModel.operandValues; in makeSlice()
DGraphDump.cpp135 pointer = model.operandValues.data() + opnd.location.offset; in tryValueDump()
DCpuExecutor.cpp563 mModelOperandValues = model.operandValues.data(); in run()
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_backward_compatibility_quant8/
Dstdout.txt.expect100 std::vector<uint8_t> operandValues = {
110 .operandValues = operandValues,
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_quant8/
Dstdout.txt.expect91 std::vector<uint8_t> operandValues = {
101 .operandValues = operandValues,
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_float/
Dstdout.txt.expect91 std::vector<uint8_t> operandValues = {
101 .operandValues = operandValues,
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp152 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/
Dstdout.txt.expect262 std::vector<uint8_t> operandValues = {
272 .operandValues = operandValues,
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_backward_compatibility_float/
Dstdout.txt.expect271 std::vector<uint8_t> operandValues = {
281 .operandValues = operandValues,
/packages/modules/NeuralNetworks/shim_and_sl/
DShimConverter.cpp134 i, model.operandValues.data() + operand.location.offset, in convertSubgraphFromHAL()
388 *copiedOperandValues = model.operandValues; in convertFromHAL()
/packages/modules/NeuralNetworks/common/include/nnapi/
DTypes.h760 OperandValues operandValues; member
DTypeUtils.h122 std::ostream& operator<<(std::ostream& os, const Model::OperandValues& operandValues);
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h375 hardware::hidl_vec<uint8_t> convertToV1_0(const Model::OperandValues& operandValues);
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.cpp903 model.operandValues = std::move(mOperandValues); in makeModel()
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriverFloatXNNPACK.cpp1637 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/
DTestPartitioningRandom.cpp535 memcpy(&value, &model.operandValues[operand.location.offset], operand.location.length); in getSignature()
DTestPartitioning.cpp297 [&model](uint32_t offset) { return &model.operandValues[offset]; }, operationIndex); in lookupOperation()

12