Home
last modified time | relevance | path

Searched refs:ServerDef (Results 1 – 25 of 47) sorted by relevance

12

/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_server_lib.h77 GrpcServer(const ServerDef& server_def, Env* env);
78 GrpcServer(const ServerDef& server_def, DeviceMgr* local_device_mgr,
85 static Status Create(const ServerDef& server_def, Env* env,
87 static Status Create(const ServerDef& server_def, Env* env,
90 static Status Create(const ServerDef& server_def, Env* env,
112 Status UpdateServerDef(const ServerDef& server_def);
115 virtual Status GetHostAndPort(const ServerDef& server_def, string* host_name,
121 const ServerDef& server_def) const;
142 const ServerDef& server_def() const { return server_def_; } in server_def()
193 ServerDef server_def_ TF_GUARDED_BY(mu_);
Dgrpc_server_lib.cc94 GrpcServer::GrpcServer(const ServerDef& server_def, Env* env) in GrpcServer()
129 Status GrpcServer::GetHostAndPort(const ServerDef& server_def, in GetHostAndPort()
298 [this](const ServerDef& server_def, WorkerCacheInterface** worker_cache) { in Init()
431 Status GrpcServer::UpdateServerDef(const ServerDef& server_def) { in UpdateServerDef()
508 const ServerDef& server_def) const { in GetServerCredentials()
523 Status GrpcServer::Create(const ServerDef& server_def, Env* env, in Create()
541 Status GrpcServer::Create(const ServerDef& server_def, Env* env, in Create()
547 Status GrpcServer::Create(const ServerDef& server_def, Env* env, in Create()
562 bool AcceptsOptions(const ServerDef& server_def) override { in AcceptsOptions()
566 Status NewServer(const ServerDef& server_def, const Options& options, in NewServer()
Dgrpc_testlib_server.cc40 ServerDef* options) { in FillServerDef()
99 tensorflow::ServerDef def; in main()
Dgrpc_tensorflow_server.cc42 int task_index, ServerDef* options) { in FillServerDef()
115 tensorflow::ServerDef server_def; in main()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dserver_lib.h75 virtual Status NewServer(const ServerDef& server_def, const Options& options,
80 virtual bool AcceptsOptions(const ServerDef& server_def) = 0;
93 static Status GetFactory(const ServerDef& server_def,
99 Status NewServer(const ServerDef& server_def,
101 Status NewServerWithOptions(const ServerDef& server_def,
Dsession_mgr.h40 typedef std::function<Status(const ServerDef&, WorkerCacheInterface**)>
50 Status CreateSession(const string& session, const ServerDef& server_def,
53 const string& session, const ServerDef& server_def,
65 const string& session, const ServerDef& server_def,
73 Status UpdateSession(const string& session, const ServerDef& server_def,
85 static string WorkerNameFromServerDef(const ServerDef& server_def);
Dserver_lib_test.cc25 bool AcceptsOptions(const ServerDef& server_def) override { in AcceptsOptions()
29 Status NewServer(const ServerDef& server_def, const Options& options, in NewServer()
37 ServerDef server_def; in TEST()
44 ServerDef server_def; in TEST()
Dsession_mgr_test.cc58 [](const ServerDef& server_def, WorkerCacheInterface** worker_cache) { in __anond6a406250102()
66 ServerDef server_def; in TEST_F()
80 ServerDef server_def; in TEST_F()
110 ServerDef server_def; in TEST_F()
121 ServerDef server_def; in TEST_F()
156 ServerDef server_def; in TEST_F()
211 ServerDef server_def; in TEST_F()
258 ServerDef server_def; in TEST_F()
Dserver_lib.cc49 Status ServerFactory::GetFactory(const ServerDef& server_def, in GetFactory()
72 Status NewServer(const ServerDef& server_def, in NewServer()
81 Status NewServerWithOptions(const ServerDef& server_def, in NewServerWithOptions()
Dsession_mgr.cc49 string SessionMgr::WorkerNameFromServerDef(const ServerDef& server_def) { in WorkerNameFromServerDef()
55 const ServerDef& server_def, in CreateSession()
61 const string& session, const ServerDef& server_def, in CreateSession()
71 const string& session, const ServerDef& server_def, in CreateSession()
191 const string& session, const ServerDef& server_def, in UpdateSession()
Dmaster_env.h48 WorkerCacheFactoryOptions(const ServerDef& server_def) { in WorkerCacheFactoryOptions()
/external/tensorflow/tensorflow/c/eager/
Dimmediate_execution_distributed_manager.h23 class ServerDef; variable
35 virtual Status SetOrUpdateServerDef(const ServerDef& server_def,
43 virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
Dc_api_test_util.h96 tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name,
100 tensorflow::ServerDef GetServerDef(int num_tasks);
Dc_api_cluster_test.cc33 void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index) { in ReplaceTaskInServerDef()
108 tensorflow::ServerDef server_def = GetServerDef(2); in TestRemoteExecuteChangeServerDef()
147 tensorflow::ServerDef updated_server_def = GetServerDef("worker", 2); in TestRemoteExecuteChangeServerDef()
202 tensorflow::ServerDef server_def = GetServerDef(2); in TestRemoteExecuteUpdateServerDef()
250 tensorflow::ServerDef server_def = GetServerDef(2); in TestRemoteExecuteUpdateServerDefResourceAccess()
350 tensorflow::ServerDef server_def = GetServerDef(2); in TestRemoteExecuteUpdateServerDefWithFailures()
420 tensorflow::ServerDef server_def = GetServerDef(first_name, 1); in TestConnectToCluster()
Dc_api_distributed_test.cc125 tensorflow::ServerDef server_def = GetServerDef(3); in TestFunctionWithPackedInput()
349 tensorflow::ServerDef server_def = GetServerDef(3); in TEST()
456 tensorflow::ServerDef server_def = GetServerDef(3); in TestDistributedFunctionCancellation()
555 tensorflow::ServerDef server_def = GetServerDef(2); in TestRemoteExecuteDeleteContextWithOutstandingRPC()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext_distributed_manager.h27 class ServerDef; variable
35 Status SetOrUpdateServerDef(const ServerDef& server_def, bool reset_context,
38 Status EnableCollectiveOps(const ServerDef& server_def) override;
Dcontext_distributed_manager.cc54 const tensorflow::ServerDef& server_def) { in AreLocalDevicesCompatible()
177 tensorflow::uint64 context_view_id, const tensorflow::ServerDef& server_def, in GetReplacedFromExistingWorkers()
218 int keep_alive_secs, const tensorflow::ServerDef& server_def, in CreateRemoteContexts()
297 tensorflow::uint64 context_view_id, const tensorflow::ServerDef& server_def, in UpdateRemoteContexts()
397 EagerContext* context, const tensorflow::ServerDef& server_def, in UpdateContextWithServerDef()
652 const ServerDef& server_def, bool reset_context, int keep_alive_secs) { in SetOrUpdateServerDef()
681 const ServerDef& server_def) { in EnableCollectiveOps()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-server-def.pbtxt1 path: "tensorflow.train.ServerDef"
4 name: "ServerDef"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-server-def.pbtxt1 path: "tensorflow.train.ServerDef"
4 name: "ServerDef"
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device_remote_test.cc28 tensorflow::ServerDef GetServerDef(const std::string& job_name, int num_tasks) { in GetServerDef()
29 tensorflow::ServerDef server_def; in GetServerDef()
54 tensorflow::ServerDef server_def = GetServerDef("worker", 3); in TEST()
92 tensorflow::ServerDef server_def = GetServerDef("worker", 3); in TEST()
/external/tensorflow/tensorflow/python/eager/
Dremote.py25 from tensorflow.core.protobuf.tensorflow_server_pb2 import ServerDef
172 server_def = ServerDef(
/external/tensorflow/tensorflow/python/training/
Dserver_lib.py57 server_def = tensorflow_server_pb2.ServerDef()
58 if isinstance(server_or_cluster_def, tensorflow_server_pb2.ServerDef):
88 server_def = tensorflow_server_pb2.ServerDef(
Dserver_lib_test.py197 server_def = tensorflow_server_pb2.ServerDef(
399 server_def = tensorflow_server_pb2.ServerDef(
417 server_def = tensorflow_server_pb2.ServerDef(
437 server_def = tensorflow_server_pb2.ServerDef(
463 server_def = tensorflow_server_pb2.ServerDef(
Dtraining.py129 from tensorflow.core.protobuf.tensorflow_server_pb2 import ServerDef
146 tf_export("train.ServerDef")(ServerDef)
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_tensorflow_server.py93 server_def = tensorflow_server_pb2.ServerDef(protocol="grpc")

12