Class SessionServiceGrpc.SessionServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceStub>
io.grpc.stub.AbstractAsyncStub<SessionServiceGrpc.SessionServiceStub>
tensorflow.serving.SessionServiceGrpc.SessionServiceStub
Enclosing class:
SessionServiceGrpc

public static final class SessionServiceGrpc.SessionServiceStub extends io.grpc.stub.AbstractAsyncStub<SessionServiceGrpc.SessionServiceStub>
A stub to allow clients to do asynchronous 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    Runs inference of a given model.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait