diff options
Diffstat (limited to 'tensorflow/core/public/tensorflow_server.h')
-rw-r--r-- | tensorflow/core/public/tensorflow_server.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tensorflow/core/public/tensorflow_server.h b/tensorflow/core/public/tensorflow_server.h new file mode 100644 index 0000000000..0dac414555 --- /dev/null +++ b/tensorflow/core/public/tensorflow_server.h @@ -0,0 +1,19 @@ +#ifndef TENSORFLOW_PUBLIC_TENSORFLOW_SERVER_H_ +#define TENSORFLOW_PUBLIC_TENSORFLOW_SERVER_H_ + +#include "tensorflow/core/public/status.h" + +namespace tensorflow { + +// Initialize the TensorFlow service for this address space. +// This is a blocking call that never returns. +// See BUILD file for details on linkage guidelines. +::tensorflow::Status InitTensorFlow(); + +// Like InitTensorFlow() but returns after the Tensorflow +// services have been launched. +::tensorflow::Status LaunchTensorFlow(); + +} // namespace tensorflow + +#endif // TENSORFLOW_PUBLIC_TENSORFLOW_SERVER_H_ |