• Home
  • Raw
  • Download

Lines Matching refs:operands

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()
223 model->operands[operand].scale = invalidScale; in mutateOperandScaleTest()
257 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandZeroPointTest()
259 getInvalidZeroPoints(model.operands[operand].type); in mutateOperandZeroPointTest()
265 model->operands[operand].zeroPoint = invalidZeroPoint; in mutateOperandZeroPointTest()
337 if (type == model.operands[operand].type || type == OperandType::OEM || in mutateOperationOperandTypeSkip()
407 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperationOperandTypeTest()
416 mutateOperand(&model->operands[operand], invalidOperandType); in mutateOperationOperandTypeTest()
448 const uint32_t invalidOperand = model.operands.size(); in mutateOperationInputOperandIndexTest()
464 const uint32_t invalidOperand = model.operands.size(); in mutateOperationOutputOperandIndexTest()
491 hidl_vec_removeAt(&model->operands, index); in removeOperand()
526 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in removeOperandTest()
540 model->operands[operand].numberOfConsumers--; in removeOperation()
632 model->operands[operand].numberOfConsumers--; in removeOperationInputTest()