Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc52 cluster_.reset( in SetUp()
54 TF_CHECK_OK(cluster_->EnablePeakMemoryStats()); in SetUp()
55 TF_CHECK_OK(cluster_->Provision()); in SetUp()
59 if (cluster_) { in TearDown()
60 TF_CHECK_OK(cluster_->Shutdown()); in TearDown()
62 cluster_.reset(); in TearDown()
66 std::unique_ptr<SingleMachine> cluster_; member in tensorflow::grappler::__anon6fff17260111::SingleMachineTest
70 CHECK_EQ("single_machine", cluster_->type()); in TEST_F()
75 cluster_->GetDeviceNames()); in TEST_F()
79 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F()
[all …]
Dvirtual_cluster_test.cc47 cluster_.reset(new VirtualCluster(devices)); in SetUp()
48 TF_CHECK_OK(cluster_->Provision()); in SetUp()
52 TF_CHECK_OK(cluster_->Shutdown()); in TearDown()
53 cluster_.reset(); in TearDown()
57 std::unique_ptr<VirtualCluster> cluster_; member in tensorflow::grappler::__anonc76e83b80111::VirtualClusterTest
61 CHECK_EQ("virtual", cluster_->type()); in TEST_F()
66 cluster_->GetDeviceNames()); in TEST_F()
70 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F()
73 TF_CHECK_OK(cluster_->Run(item.graph, item.feed, item.fetch, &metadata)); in TEST_F()
116 TF_CHECK_OK(cluster_->Initialize(item)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dmeasuring_cost_estimator.cc44 cluster_ = cluster; in MeasuringCostEstimator()
50 return cluster_->Initialize(item); in Initialize()
60 const bool running_simulation = (cluster_->type() == "virtual"); in PredictCosts()
73 cluster_->Run(optimized_graph, feed_, fetch_, &metadata); in PredictCosts()
Danalytical_cost_estimator_test.cc46 cluster_.reset(new VirtualCluster(devices)); in SetUp()
91 std::unique_ptr<VirtualCluster> cluster_; member in tensorflow::grappler::AnalyticalCostEstimatorTest
97 AnalyticalCostEstimator estimator(cluster_.get(), /*use_static_shapes=*/true, in TEST_F()
Dmeasuring_cost_estimator.h65 Cluster* cluster_; // Not owned.
Dgraph_properties_test.cc64 cluster_.reset(new SingleMachine(5 * 60, 3, 0)); in SetUp()
65 TF_ASSERT_OK(cluster_->Provision()); in SetUp()
93 TF_ASSERT_OK(cluster_->Shutdown()); in TearDown()
94 cluster_.reset(); in TearDown()
149 std::unique_ptr<SingleMachine> cluster_; member in tensorflow::grappler::__anon66ac7c850111::GraphPropertiesTest
155 cluster_->GetDeviceNames()); in TEST_F()
196 cluster_->GetDeviceNames()); in TEST_F()
223 cluster_->GetDeviceNames()); in TEST_F()
228 TF_ASSERT_OK(cluster_->Initialize(item)); in TEST_F()
229 Status s = properties.InferDynamically(cluster_.get()); in TEST_F()
[all …]
Dvirtual_scheduler.h380 Cluster* GetCluster() { return cluster_; } in GetCluster()
439 Cluster* cluster_; // Not owned. variable
Dvirtual_scheduler_test.cc677 cluster_ = absl::make_unique<VirtualCluster>(devices); in VirtualSchedulerTest()
681 cluster_.get()); in VirtualSchedulerTest()
2382 std::unique_ptr<VirtualCluster> cluster_; member in tensorflow::grappler::__anon653cd6ac0111::VirtualSchedulerTest
3078 cluster_.get()); in TEST_F()
Dvirtual_scheduler.cc389 cluster_(cluster), in SchedulerState()
427 TF_RETURN_IF_ERROR(graph_properties_->InferDynamically(cluster_)); in Init()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device_test.cc41 std::unique_ptr<test::TestCluster> cluster_; member in tensorflow::RemoteDeviceTest
47 TF_CHECK_OK(test::TestCluster::MakeTestCluster(options, 1, &cluster_)); in RemoteDeviceTest()
48 const string& hostport = cluster_->targets()[0]; in RemoteDeviceTest()
Dcluster_function_library_runtime_test.cc34 TF_CHECK_OK(test::TestCluster::MakeTestCluster(options, 2, &cluster_)); in ClusterFunctionLibraryRuntimeTest()
36 TF_CHECK_OK(spec.AddHostPortsJob("localhost", cluster_->targets())); in ClusterFunctionLibraryRuntimeTest()
112 std::unique_ptr<test::TestCluster> cluster_; member in tensorflow::ClusterFunctionLibraryRuntimeTest
Dmaster_test.cc51 TF_CHECK_OK(test::TestCluster::MakeTestCluster(options, 2, &cluster_)); in MasterTest()
54 cluster_->targets()[0], &options.config.rpc_options(), &channel_ptr)); in MasterTest()
58 std::unique_ptr<test::TestCluster> cluster_; member in tensorflow::MasterTest
/external/tensorflow/tensorflow/core/grappler/utils/
Dscc_test.cc34 cluster_.reset(new VirtualCluster(devices)); in SetUp()
35 TF_CHECK_OK(cluster_->Provision()); in SetUp()
38 void TearDown() override { cluster_.reset(); } in TearDown()
51 std::unique_ptr<VirtualCluster> cluster_; member in tensorflow::grappler::__anon61f011e50111::SCCTest
57 cluster_->GetDeviceNames()); in TEST_F()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dcds.cc49 explicit CdsLbConfig(std::string cluster) : cluster_(std::move(cluster)) {} in CdsLbConfig()
50 const std::string& cluster() const { return cluster_; } in cluster()
54 std::string cluster_; member in grpc_core::__anon5aa779ee0111::CdsLbConfig
/external/tensorflow/tensorflow/lite/toco/
Ddump_graphviz.cc49 R"CODE( subgraph "cluster_%s" { style=rounded bgcolor="%s" penwidth=0.0 label=%s