• 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()
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()
204 model->operands[operand].scale = invalidScale; in mutateOperandScaleTest()
227 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperandZeroPointTest()
229 getInvalidZeroPoints(model.operands[operand].type); in mutateOperandZeroPointTest()
235 model->operands[operand].zeroPoint = invalidZeroPoint; in mutateOperandZeroPointTest()
298 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in mutateOperationOperandTypeTest()
304 if (invalidOperandType == model.operands[operand].type || in mutateOperationOperandTypeTest()
313 mutateOperand(&model->operands[operand], invalidOperandType); in mutateOperationOperandTypeTest()
347 const uint32_t invalidOperand = model.operands.size(); in mutateOperationInputOperandIndexTest()
364 const uint32_t invalidOperand = model.operands.size(); in mutateOperationOutputOperandIndexTest()
391 hidl_vec_removeAt(&model->operands, index); in removeOperand()
401 for (size_t operand = 0; operand < model.operands.size(); ++operand) { in removeOperandTest()
412 model->operands[operand].numberOfConsumers--; in removeOperation()
443 model->operands[operand].numberOfConsumers--; in removeOperationInputTest()