Home
last modified time | relevance | path

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

/third_party/mindspore/tests/ut/cpp/dataset/
Dclient_config_test.cc47 std::shared_ptr<ConfigManager> my_conf = GlobalContext::config_manager(); in TEST_F() local
49 ASSERT_EQ(my_conf->num_parallel_workers(), kCfgParallelWorkers); in TEST_F()
50 ASSERT_EQ(my_conf->worker_connector_size(), kCfgWorkerConnectorSize); in TEST_F()
51 ASSERT_EQ(my_conf->op_connector_size(), kCfgOpConnectorSize); in TEST_F()
52 ASSERT_EQ(my_conf->seed(), kCfgDefaultSeed); in TEST_F()
54 my_conf->set_num_parallel_workers(2); in TEST_F()
55 my_conf->set_worker_connector_size(3); in TEST_F()
56 my_conf->set_op_connector_size(4); in TEST_F()
57 my_conf->set_seed(5); in TEST_F()
58 my_conf->set_enable_shared_mem(false); in TEST_F()
[all …]