/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateModel.cpp | 95 return hidl_vec_push_back(&model->operands, in addOperand() 109 model->operands[index].numberOfConsumers = 1; in addOperand() 110 model->operands[index].lifetime = lifetime; in addOperand() 124 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandTypeTest() 130 model->operands[operand].type = static_cast<OperandType>(invalidOperandType); in mutateOperandTypeTest() 154 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandRankTest() 155 const uint32_t invalidRank = getInvalidRank(model.operands[operand].type); in mutateOperandRankTest() 159 model->operands[operand].dimensions = std::vector<uint32_t>(invalidRank, 0); in mutateOperandRankTest() 183 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandScaleTest() 184 const float invalidScale = getInvalidScale(model.operands[operand].type); in mutateOperandScaleTest() [all …]
|
D | ValidateRequest.cpp | 113 const MixedTyped& inputs = example.operands.first; in createRequests() 114 const MixedTyped& outputs = example.operands.second; in createRequests()
|
D | GeneratedTestHarness.cpp | 147 const MixedTyped& inputs = example.operands.first; in EvaluatePreparedModel() 148 const MixedTyped& golden = example.operands.second; in EvaluatePreparedModel()
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateModel.cpp | 111 return hidl_vec_push_back(&model->operands, in addOperand() 125 model->operands[index].numberOfConsumers = 1; in addOperand() 126 model->operands[index].lifetime = lifetime; in addOperand() 140 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandTypeTest() 146 model->operands[operand].type = static_cast<OperandType>(invalidOperandType); in mutateOperandTypeTest() 170 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandRankTest() 171 const uint32_t invalidRank = getInvalidRank(model.operands[operand].type); in mutateOperandRankTest() 175 model->operands[operand].dimensions = std::vector<uint32_t>(invalidRank, 0); in mutateOperandRankTest() 199 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandScaleTest() 200 const float invalidScale = getInvalidScale(model.operands[operand].type); in mutateOperandScaleTest() [all …]
|
D | ValidateRequest.cpp | 113 const MixedTyped& inputs = example.operands.first; in createRequests() 114 const MixedTyped& outputs = example.operands.second; in createRequests()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateModel.cpp | 111 return hidl_vec_push_back(&model->operands, in addOperand() 125 model->operands[index].numberOfConsumers = 1; in addOperand() 126 model->operands[index].lifetime = lifetime; in addOperand() 140 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandTypeTest() 146 model->operands[operand].type = static_cast<OperandType>(invalidOperandType); in mutateOperandTypeTest() 178 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandRankTest() 179 const uint32_t invalidRank = getInvalidRank(model.operands[operand].type); in mutateOperandRankTest() 186 model->operands[operand].dimensions = std::vector<uint32_t>(invalidRank, 0); in mutateOperandRankTest() 218 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandScaleTest() 219 const float invalidScale = getInvalidScale(model.operands[operand].type); in mutateOperandScaleTest() [all …]
|
D | ValidateRequest.cpp | 189 const MixedTyped& inputs = example.operands.first; in createRequests() 190 const MixedTyped& outputs = example.operands.second; in createRequests()
|
D | CompilationCachingTests.cpp | 62 return {{.operands = { in getLargeModelExamples() 85 return {{.operands = {// Input in getLargeModelExamples() 149 std::vector<Operand> operands(len * 2 + 2); in createLargeTestModelImpl() local 156 operands[0] = { in createLargeTestModelImpl() 193 operands[firstInputIndex] = { in createLargeTestModelImpl() 205 operands[secondInputIndex] = { in createLargeTestModelImpl() 231 operands.back() = { in createLargeTestModelImpl() 246 .operands = operands, in createLargeTestModelImpl()
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
D | HexagonModel.cpp | 33 std::vector<OperandInfo> info(model.operands.size()); in getOperandsInfo() 34 for (size_t i = 0; i < model.operands.size(); ++i) { in getOperandsInfo() 35 const Operand& operand = model.operands[i]; in getOperandsInfo() 294 std::vector<hexagon_nn_output> Model::getHexagonOutputs(const std::vector<uint32_t>& operands) { in getHexagonOutputs() argument 296 for (uint32_t index : operands) { in getHexagonOutputs() 307 bool Model::registerHexagonInputs(const std::vector<uint32_t>& operands, uint32_t node) { in registerHexagonInputs() argument 309 for (uint32_t i = 0; i < static_cast<uint32_t>(operands.size()); ++i) { in registerHexagonInputs() 310 OperandInfo& operand = mOperands[operands[i]]; in registerHexagonInputs()
|
D | HexagonModel.h | 146 std::vector<hexagon_nn_output> getHexagonOutputs(const std::vector<uint32_t>& operands); 147 bool registerHexagonInputs(const std::vector<uint32_t>& operands, uint32_t node);
|
/hardware/interfaces/neuralnetworks/1.1/ |
D | types.hal | 71 * input operands. It starts with the trailing dimensions, and works its way 298 * input operands. It starts with the trailing dimensions, and works its way 408 * All operands included in the model. 410 vec<Operand> operands; 424 * Each value corresponds to the index of the operand in "operands". 431 * Each value corresponds to the index of the operand in "operands".
|
D | IDevice.hal | 49 * operands--are to be verified by the driver.
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IPreparedModel.hal | 51 * tensor operands have fully specified dimensions, and the inputs 94 * operands have fully specified dimensions, and the inputs to the function 118 * @return outputShapes A list of shape information of model output operands.
|
D | IExecutionCallback.hal | 47 * @param outputShapes A list of shape information of model output operands.
|
D | IDevice.hal | 92 * All extension operations and operands must be fully supported for the 111 * @param model A model whose operations--and their corresponding operands--
|
D | types.hal | 181 * input operands. It starts with the trailing dimensions, and works its 1435 * of the input operands. It starts with the trailing dimensions, and works 1926 * input operands. It starts with the trailing dimensions, and works its way 2171 * input operands. It starts with the trailing dimensions, and works its way 3672 * maximum size along each dimension of the input operands. It starts with 3709 * input operands. It starts with the trailing dimensions, and works its way 4931 * Only applicable to operands of type TENSOR_QUANT8_SYMM_PER_CHANNEL. 4954 * All operands included in the model. 4956 vec<Operand> operands; 4970 * Each value corresponds to the index of the operand in "operands". [all …]
|
/hardware/interfaces/neuralnetworks/1.0/ |
D | IPreparedModel.hal | 46 * tensor operands have fully specified dimensions, and the inputs
|
D | IDevice.hal | 44 * operands--are to be verified by the driver.
|
D | types.hal | 94 * input operands. It starts with the trailing dimensions, and works its 1087 * of the input operands. It starts with the trailing dimensions, and works 1724 * All operands included in the model. 1726 vec<Operand> operands; 1740 * Each value corresponds to the index of the operand in "operands". 1747 * Each value corresponds to the index of the operand in "operands".
|