Package tensorflow.serving
Class SessionServiceGrpc.SessionServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingV2Stub>
tensorflow.serving.SessionServiceGrpc.SessionServiceBlockingV2Stub
- Enclosing class:
SessionServiceGrpc
public static final class SessionServiceGrpc.SessionServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service SessionService.
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
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Runs inference of a given model.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SessionServiceGrpc.SessionServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceBlockingV2Stub>
-
sessionRun
public SessionServiceOuterClass.SessionRunResponse sessionRun(SessionServiceOuterClass.SessionRunRequest request) Runs inference of a given model.
-