Searched refs:TF_Server (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/java/src/main/native/ |
D | server_jni.cc | 23 TF_Server* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() 24 static_assert(sizeof(jlong) >= sizeof(TF_Server*), in requireHandle() 32 return reinterpret_cast<TF_Server*>(handle); in requireHandle() 43 TF_Server* server = TF_NewServer( in Java_org_tensorflow_Server_allocate() 58 TF_Server* server = requireHandle(env, handle); in Java_org_tensorflow_Server_start() 72 TF_Server* server = requireHandle(env, handle); in Java_org_tensorflow_Server_stop() 86 TF_Server* server = requireHandle(env, handle); in Java_org_tensorflow_Server_join() 100 TF_Server* server = requireHandle(env, handle); in Java_org_tensorflow_Server_delete()
|
/external/tensorflow/tensorflow/c/ |
D | c_api.h | 1540 typedef struct TF_Server TF_Server; typedef 1548 TF_CAPI_EXPORT extern TF_Server* TF_NewServer(const void* proto, 1553 TF_CAPI_EXPORT extern void TF_ServerStart(TF_Server* server, TF_Status* status); 1556 TF_CAPI_EXPORT extern void TF_ServerStop(TF_Server* server, TF_Status* status); 1560 TF_CAPI_EXPORT extern void TF_ServerJoin(TF_Server* server, TF_Status* status); 1566 TF_CAPI_EXPORT extern const char* TF_ServerTarget(TF_Server* server); 1570 TF_CAPI_EXPORT extern void TF_DeleteServer(TF_Server* server);
|
D | c_api_internal.h | 180 struct TF_Server { struct 181 TF_Server(std::unique_ptr<tensorflow::ServerInterface> server);
|
D | c_api.cc | 2537 TF_Server::TF_Server(std::unique_ptr<tensorflow::ServerInterface> server) in TF_Server() function in TF_Server 2541 TF_Server* TF_NewServer(const void* proto, size_t proto_len, in TF_NewServer() 2559 return new TF_Server(std::move(out_server)); in TF_NewServer() 2563 void TF_ServerStart(TF_Server* server, TF_Status* status) { in TF_ServerStart() 2572 void TF_ServerStop(TF_Server* server, TF_Status* status) { in TF_ServerStop() 2581 void TF_ServerJoin(TF_Server* server, TF_Status* status) { in TF_ServerJoin() 2590 const char* TF_ServerTarget(TF_Server* server) { in TF_ServerTarget() 2598 void TF_DeleteServer(TF_Server* server) { in TF_DeleteServer()
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session_wrapper.cc | 94 PYBIND11_MAKE_OPAQUE(TF_Server); 128 py::class_<TF_Server> TF_Server_class(m, "TF_Server"); in PYBIND11_MODULE() 1016 TF_Server* output = in PYBIND11_MODULE() 1023 m.def("TF_ServerStart", [](TF_Server* server) { in PYBIND11_MODULE() 1032 m.def("TF_ServerStop", [](TF_Server* server) { in PYBIND11_MODULE() 1041 m.def("TF_ServerJoin", [](TF_Server* server) { in PYBIND11_MODULE() 1052 [](TF_Server* server) { return TF_ServerTarget(server); }, in PYBIND11_MODULE()
|