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