Class MLModelServiceGrpc.MLModelServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<MLModelServiceGrpc.MLModelServiceStub>
com.viam.service.mlmodel.v1.MLModelServiceGrpc.MLModelServiceStub
Enclosing class:
MLModelServiceGrpc

public static final class MLModelServiceGrpc.MLModelServiceStub extends io.grpc.stub.AbstractAsyncStub<MLModelServiceGrpc.MLModelServiceStub>
A stub to allow clients to do asynchronous rpc calls to service MLModelService.
 MLModelService declares the gRPC contract for a service that takes in a map of input arrays/tensors,
 runs them through an ML inference engine, and outputs a map of array/tensors.
 
  • 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
    infer(Mlmodel.InferRequest request, io.grpc.stub.StreamObserver<Mlmodel.InferResponse> responseObserver)
    Infer takes an already ordered input tensor as a map, makes an inference on the model, and returns an output data map.
    void
    metadata(Mlmodel.MetadataRequest request, io.grpc.stub.StreamObserver<Mlmodel.MetadataResponse> responseObserver)
    Metadata returns the metadata associated with the ML 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, 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