Lines Matching refs:operands
79 hidl_vec<Operand> operands(testModel.main.operands.size()); in createModel() local
81 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
82 const auto& op = testModel.main.operands[i]; in createModel()
103 operands[i] = {.type = static_cast<OperandType>(op.type), in createModel()
124 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
125 const auto& op = testModel.main.operands[i]; in createModel()
129 std::copy(begin, end, operandValues.data() + operands[i].location.offset); in createModel()
146 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
147 const auto& op = testModel.main.operands[i]; in createModel()
151 std::copy(begin, end, mappedPtr + operands[i].location.offset); in createModel()
156 return {.operands = std::move(operands), in createModel()
166 const auto byteSize = testModel.main.operands[testModel.main.outputIndexes[index]].data.size(); in isOutputSizeGreaterThanOne()
178 auto& dims = model->operands[i].dimensions; in makeOutputDimensionsUnspecified()
325 const auto& expect = testModel.main.operands[testModel.main.outputIndexes[i]].dimensions; in EvaluatePreparedModel()