Lines Matching refs:bodyModel
63 Model bodyModel; in TEST_F() local
65 uint32_t i = bodyModel.addOperand(&counterType); in TEST_F()
66 uint32_t n = bodyModel.addOperand(&counterType); in TEST_F()
67 uint32_t one = bodyModel.addConstantOperand(&counterType, 1.0f); in TEST_F()
68 uint32_t noActivation = bodyModel.addConstantOperand(&activationType, kNoActivation); in TEST_F()
69 uint32_t iOut = bodyModel.addOperand(&counterType); in TEST_F()
70 bodyModel.addOperation(ANEURALNETWORKS_ADD, {i, one, noActivation}, {iOut}); in TEST_F()
71 bodyModel.identifyInputsAndOutputs({i, n}, {iOut}); in TEST_F()
72 ASSERT_EQ(bodyModel.finish(), Result::NO_ERROR); in TEST_F()
73 ASSERT_TRUE(bodyModel.isValid()); in TEST_F()
81 uint32_t bodyOperand = model.addModelOperand(&bodyModel); in TEST_F()