Package tensorflow.serving
Class SessionServiceGrpc.SessionServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<SessionServiceGrpc.SessionServiceFutureStub>
tensorflow.serving.SessionServiceGrpc.SessionServiceFutureStub
- Enclosing class:
- SessionServiceGrpc
public static final class SessionServiceGrpc.SessionServiceFutureStub extends io.grpc.stub.AbstractFutureStub<SessionServiceGrpc.SessionServiceFutureStub>
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.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description protected SessionServiceGrpc.SessionServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<SessionServiceOuterClass.SessionRunResponse>sessionRun(SessionServiceOuterClass.SessionRunRequest request)Runs inference of a given model.
-
Method Details
-
build
protected SessionServiceGrpc.SessionServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)- Specified by:
buildin classio.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceFutureStub>
-
sessionRun
public com.google.common.util.concurrent.ListenableFuture<SessionServiceOuterClass.SessionRunResponse> sessionRun(SessionServiceOuterClass.SessionRunRequest request)Runs inference of a given model.
-