aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/public/tensorflow_server.h
blob: 0dac41455569b9a276a334f473ef698deb5820f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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_