Constructs a new instance of server. @param serverDef Server definition specified as a serialized ServerDef protocol buffer.
(byte[] serverDef)
| 68 | * protocol buffer. |
| 69 | */ |
| 70 | public Server(byte[] serverDef) { |
| 71 | nativeHandle = allocate(serverDef); |
| 72 | } |
| 73 | |
| 74 | /** Starts an in-process TensorFlow server. */ |
| 75 | public synchronized void start() { |