Searched refs:valueModel (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestValidation.cpp | 726 ANeuralNetworksModel* valueModel = nullptr; in TEST_F() local 727 ASSERT_EQ(ANeuralNetworksModel_create(&valueModel), ANEURALNETWORKS_NO_ERROR); in TEST_F() 728 ASSERT_EQ(ANeuralNetworksModel_addOperand(valueModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in TEST_F() 729 ASSERT_EQ(ANeuralNetworksModel_addOperand(valueModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in TEST_F() 730 ASSERT_EQ(ANeuralNetworksModel_addOperand(valueModel, &scalarType), ANEURALNETWORKS_NO_ERROR); in TEST_F() 731 ASSERT_EQ(ANeuralNetworksModel_addOperand(valueModel, &tensorType), ANEURALNETWORKS_NO_ERROR); in TEST_F() 734 ASSERT_EQ(ANeuralNetworksModel_addOperation(valueModel, ANEURALNETWORKS_ADD, 3, inList, 1, in TEST_F() 737 ASSERT_EQ(ANeuralNetworksModel_identifyInputsAndOutputs(valueModel, 3, inList, 1, outList), in TEST_F() 743 EXPECT_EQ(ANeuralNetworksModel_setOperandValueFromModel(mModel, 0, valueModel), in TEST_F() 745 ANeuralNetworksModel_finish(valueModel); in TEST_F() [all …]
|
D | TestValidateOperations.cpp | 75 : operandType(operandType), channelQuant(std::nullopt), valueModel(std::nullopt) {} in OperandTypeWithExtraParams() 79 std::optional<const ANeuralNetworksModel*> valueModel; member 96 if (valueModel != that.valueModel) { in operator ==() 354 void setInputOperandValueFromModel(int32_t index, const ANeuralNetworksModel* valueModel) { in setInputOperandValueFromModel() argument 355 mValidInputs[index].valueModel = valueModel; in setInputOperandValueFromModel() 374 if (inputs[i].valueModel) { in addOperation() 376 inputs[i].valueModel.value()); in addOperation() 680 if (operand.valueModel.has_value()) { in operator <<() 681 os << ", valueModel: " << operand.valueModel.value(); in operator <<()
|