Home
last modified time | relevance | path

Searched refs:model1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestPartitioning.cpp926 PartitioningModel model1; in TEST_F() local
927 uint32_t m1Opnd0 = model1.addFloatOperand(); in TEST_F()
928 uint32_t m1Opnd3 = model1.addFloatOperand(); in TEST_F()
929 uint32_t m1Opnd4 = model1.addOperation2To1(kCpuOp, m1Opnd0, m1Opnd3); in TEST_F()
930 uint32_t m1Opnd2 = model1.addFloatOperand(); in TEST_F()
931 uint32_t m1Opnd5 = model1.addOperation2To1(kCpuOp, m1Opnd2, m1Opnd4); in TEST_F()
932 model1.identifyInputsAndOutputs({ m1Opnd0, m1Opnd3, m1Opnd2 }, { m1Opnd4, m1Opnd5 }); in TEST_F()
933 model1.finish(); in TEST_F()
934 ASSERT_TRUE(model1.isValid()); in TEST_F()
935 ASSERT_NO_FATAL_FAILURE(ASSERT_TRUE(compare(step1, &model1, nullptr))); in TEST_F()
[all …]
/frameworks/support/lifecycle/viewmodel/src/test/java/androidx/lifecycle/
DViewModelProviderTest.java66 ViewModel1 model1 = mViewModelProvider.get(ViewModel1.class); in twoViewModels() local
68 assertThat(mViewModelProvider.get(ViewModel1.class), is(model1)); in twoViewModels()