Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/java/src/main/native/
Dserver_jni.cc23 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/
Dc_api.h1740 typedef struct TF_Server TF_Server; typedef
1748 TF_CAPI_EXPORT extern TF_Server* TF_NewServer(const void* proto,
1753 TF_CAPI_EXPORT extern void TF_ServerStart(TF_Server* server, TF_Status* status);
1756 TF_CAPI_EXPORT extern void TF_ServerStop(TF_Server* server, TF_Status* status);
1760 TF_CAPI_EXPORT extern void TF_ServerJoin(TF_Server* server, TF_Status* status);
1766 TF_CAPI_EXPORT extern const char* TF_ServerTarget(TF_Server* server);
1770 TF_CAPI_EXPORT extern void TF_DeleteServer(TF_Server* server);
Dc_api_internal.h187 struct TF_Server { struct
188 TF_Server(std::unique_ptr<tensorflow::ServerInterface> server);
Dc_api.cc2903 TF_Server::TF_Server(std::unique_ptr<tensorflow::ServerInterface> server) in TF_Server() function in TF_Server
2907 TF_Server* TF_NewServer(const void* proto, size_t proto_len, in TF_NewServer()
2925 return new TF_Server(std::move(out_server)); in TF_NewServer()
2929 void TF_ServerStart(TF_Server* server, TF_Status* status) { in TF_ServerStart()
2938 void TF_ServerStop(TF_Server* server, TF_Status* status) { in TF_ServerStop()
2947 void TF_ServerJoin(TF_Server* server, TF_Status* status) { in TF_ServerJoin()
2956 const char* TF_ServerTarget(TF_Server* server) { in TF_ServerTarget()
2964 void TF_DeleteServer(TF_Server* server) { in TF_DeleteServer()