public static final class SessionServiceGrpc.SessionServiceStub extends io.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected SessionServiceGrpc.SessionServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
sessionRun(SessionServiceOuterClass.SessionRunRequest request,
io.grpc.stub.StreamObserver<SessionServiceOuterClass.SessionRunResponse> responseObserver)
Runs inference of a given model.
|
protected SessionServiceGrpc.SessionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceStub>public void sessionRun(SessionServiceOuterClass.SessionRunRequest request, io.grpc.stub.StreamObserver<SessionServiceOuterClass.SessionRunResponse> responseObserver)
Runs inference of a given model.