Home
last modified time | relevance | path

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

12

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp145 GeneralResult<Model::OperandValues> unvalidatedConvert(const hidl_vec<uint8_t>& operandValues) { in unvalidatedConvert() argument
146 return Model::OperandValues(operandValues.data(), operandValues.size()); in unvalidatedConvert()
177 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
331 const nn::Model::OperandValues& operandValues) { in unvalidatedConvert() argument
332 return hidl_vec<uint8_t>(operandValues.data(), operandValues.data() + operandValues.size()); in unvalidatedConvert()
360 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp122 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
163 const nn::Model::OperandValues& operandValues) { in unvalidatedConvert() argument
164 return V1_0::utils::unvalidatedConvert(operandValues); in unvalidatedConvert()
237 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DGeneratedTestHarness.cpp83 hidl_vec<uint8_t> operandValues(constCopySize); in createModel() local
89 std::copy(begin, end, operandValues.data() + operands[i].location.offset); in createModel()
120 .operandValues = std::move(operandValues), in createModel()
DBasicTests.cpp151 .operandValues = {}, in TEST_P()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp90 hidl_vec<uint8_t> operandValues(constCopySize); in createModel() local
96 std::copy(begin, end, operandValues.data() + operands[i].location.offset); in createModel()
127 .operandValues = std::move(operandValues), in createModel()
DBasicTests.cpp158 .operandValues = {}, in TEST_P()
DValidateModel.cpp119 const size_t operandValuesSize = model.operandValues.size(); in constantCopyExtraSize()
153 if (model->operandValues.size() < sizeOfOperand) { in becomeConstantCopy()
154 model->operandValues.resize(sizeOfOperand); in becomeConstantCopy()
242 size += sizeForBinder(model.operandValues); in sizeForBinder()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DModel.aidl39 byte[] operandValues;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DModel.aidl39 byte[] operandValues;
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DModel.aidl50 byte[] operandValues;
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DConversions.h38 const hardware::hidl_vec<uint8_t>& operandValues);
67 const nn::Model::OperandValues& operandValues);
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DUtils.cpp123 .operandValues = model.operandValues, in clone()
DConversions.cpp297 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
429 GeneralResult<Model::OperandValues> unvalidatedConvert(const std::vector<uint8_t>& operandValues) { in unvalidatedConvert() argument
430 return Model::OperandValues(operandValues.data(), operandValues.size()); in unvalidatedConvert()
894 const nn::Model::OperandValues& operandValues) { in unvalidatedConvert() argument
895 return std::vector<uint8_t>(operandValues.data(), operandValues.data() + operandValues.size()); in unvalidatedConvert()
910 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp210 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
334 const nn::Model::OperandValues& operandValues) { in unvalidatedConvert() argument
335 return V1_0::utils::unvalidatedConvert(operandValues); in unvalidatedConvert()
496 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp123 hidl_vec<uint8_t> operandValues(constCopySize); in createModel() local
129 std::copy(begin, end, operandValues.data() + operands[i].location.offset); in createModel()
160 .operandValues = std::move(operandValues), in createModel()
DBasicTests.cpp232 .operandValues = {}, in TEST_P()
DValidateModel.cpp120 const size_t operandValuesSize = model.operandValues.size(); in constantCopyExtraSize()
154 if (model->operandValues.size() < sizeOfOperand) { in becomeConstantCopy()
155 model->operandValues.resize(sizeOfOperand); in becomeConstantCopy()
280 size += sizeForBinder(model.operandValues); in sizeForBinder()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp186 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
379 const nn::Model::OperandValues& operandValues) { in unvalidatedConvert() argument
380 return V1_0::utils::unvalidatedConvert(operandValues); in unvalidatedConvert()
535 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DBasicTests.cpp162 .operandValues = {}, in TEST_P()
DGeneratedTestHarness.cpp266 std::vector<uint8_t> operandValues(constCopySize); in createModel() local
267 copyTestBuffers(constCopies, operandValues.data()); in createModel()
292 .operandValues = std::move(operandValues), in createModel()
DValidateModel.cpp131 const size_t operandValuesSize = model.operandValues.size(); in constantCopyExtraSize()
165 if (model->operandValues.size() < sizeOfOperand) { in becomeConstantCopy()
166 model->operandValues.resize(sizeOfOperand); in becomeConstantCopy()
304 size += sizeForBinder(model.operandValues); in sizeForBinder()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h79 GeneralResult<Model::OperandValues> unvalidatedConvert(const std::vector<uint8_t>& operandValues);
150 const nn::Model::OperandValues& operandValues);
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DBasicTests.cpp177 .operandValues = {}, in TEST_P()
DGeneratedTestHarness.cpp293 hidl_vec<uint8_t> operandValues(constCopySize); in createModel() local
294 copyTestBuffers(constCopies, operandValues.data()); in createModel()
314 .operandValues = std::move(operandValues), in createModel()
/hardware/interfaces/neuralnetworks/1.1/
Dtypes.hal442 vec<uint8_t> operandValues;

12