Searched refs:model2 (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/mindspore/lite/examples/runtime_cpp/ |
D | main.cc | 480 auto model2 = CreateAndBuildModel(model_buf, size); in RunModelParallel() local 482 if (model1 == nullptr || model2 == nullptr) { in RunModelParallel() 506 auto generate_input_ret = GetInputsByTensorNameAndSetData(model2); in RunModelParallel() 512 auto inputs = model2->GetInputs(); in RunModelParallel() 513 auto outputs = model2->GetOutputs(); in RunModelParallel() 514 auto predict_ret = model2->Predict(inputs, &outputs); in RunModelParallel() 530 GetOutputsByNodeName(model2); in RunModelParallel() 534 delete model2; in RunModelParallel() 592 auto model2 = new (std::nothrow) mindspore::Model(); in RunWithSharedMemoryPool() local 593 if (model2 == nullptr) { in RunWithSharedMemoryPool() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | vp5.c | 186 uint8_t *model1, *model2; in vp5_parse_coeff() local 204 model2 = model->coeff_dcct[pt][ctx]; in vp5_parse_coeff() 208 if (vp56_rac_get_prob_branchy(c, model2[0])) { in vp5_parse_coeff() 209 if (vp56_rac_get_prob_branchy(c, model2[2])) { in vp5_parse_coeff() 210 if (vp56_rac_get_prob_branchy(c, model2[3])) { in vp5_parse_coeff() 218 if (vp56_rac_get_prob_branchy(c, model2[4])) { in vp5_parse_coeff() 239 if (ct && !vp56_rac_get_prob_branchy(c, model2[1])) in vp5_parse_coeff() 251 model2 = cg > 2 ? model1 : model->coeff_acct[pt][ct][cg][ctx]; in vp5_parse_coeff()
|
D | vp6.c | 471 uint8_t *model1, *model2, *model3; in vp6_parse_coeff() local 490 model2 = model->coeff_dcct[pt][ctx]; in vp6_parse_coeff() 494 if ((coeff_idx>1 && ct==0) || vp56_rac_get_prob_branchy(c, model2[0])) { in vp6_parse_coeff() 496 if (vp56_rac_get_prob_branchy(c, model2[2])) { in vp6_parse_coeff() 497 if (vp56_rac_get_prob_branchy(c, model2[3])) { in vp6_parse_coeff() 503 if (vp56_rac_get_prob_branchy(c, model2[4])) in vp6_parse_coeff() 524 if (!vp56_rac_get_prob_branchy(c, model2[1])) in vp6_parse_coeff() 538 model1 = model2 = model->coeff_ract[pt][ct][cg]; in vp6_parse_coeff()
|
/third_party/mindspore/tests/ut/python/train/ |
D | test_training.py | 150 model2 = Model(net2, eval_network=net2, eval_indexes=[0, 1, 2], metrics={"loss"}) 152 model2.eval(dataset)
|