Package tensorflow.serving
Class SessionServiceGrpc.SessionServiceImplBase
java.lang.Object
tensorflow.serving.SessionServiceGrpc.SessionServiceImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- SessionServiceGrpc
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 Summary
Constructors Constructor Description SessionServiceImplBase() -
Method Summary
Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voidsessionRun(SessionServiceOuterClass.SessionRunRequest request, io.grpc.stub.StreamObserver<SessionServiceOuterClass.SessionRunResponse> responseObserver)Runs inference of a given model.
-
Constructor Details
-
SessionServiceImplBase
public SessionServiceImplBase()
-
-
Method Details
-
sessionRun
public void sessionRun(SessionServiceOuterClass.SessionRunRequest request, io.grpc.stub.StreamObserver<SessionServiceOuterClass.SessionRunResponse> responseObserver)Runs inference of a given model.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-