public abstract static class SessionServiceGrpc.SessionServiceImplBase
extends java.lang.Object
implements io.grpc.BindableService
SessionService defines a service with which a client can interact to execute Tensorflow model inference. The SessionService::SessionRun method is similar to MasterService::RunStep of Tensorflow, except that all sessions are ready to run, and you request a specific model/session with ModelSpec.
| Constructor and Description |
|---|
SessionServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
sessionRun(SessionServiceOuterClass.SessionRunRequest request,
io.grpc.stub.StreamObserver<SessionServiceOuterClass.SessionRunResponse> responseObserver)
Runs inference of a given model.
|
public void sessionRun(SessionServiceOuterClass.SessionRunRequest request, io.grpc.stub.StreamObserver<SessionServiceOuterClass.SessionRunResponse> responseObserver)
Runs inference of a given model.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableService