Package tensorflow.serving
Class PredictionServiceGrpc.PredictionServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<PredictionServiceGrpc.PredictionServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<PredictionServiceGrpc.PredictionServiceBlockingStub>
tensorflow.serving.PredictionServiceGrpc.PredictionServiceBlockingStub
- Enclosing class:
PredictionServiceGrpc
public static final class PredictionServiceGrpc.PredictionServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<PredictionServiceGrpc.PredictionServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service PredictionService.
open source marker; do not remove PredictionService provides access to machine-learned models loaded by model_servers.
-
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) Classify.GetModelMetadata - provides access to metadata for loaded models.MultiInference API for multi-headed models.predict(Predict.PredictRequest request) Predict -- provides access to loaded TensorFlow model.Regress.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 PredictionServiceGrpc.PredictionServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PredictionServiceGrpc.PredictionServiceBlockingStub>
-
classify
Classify.
-
regress
public RegressionOuterClass.RegressionResponse regress(RegressionOuterClass.RegressionRequest request) Regress.
-
predict
Predict -- provides access to loaded TensorFlow model.
-
multiInference
MultiInference API for multi-headed models.
-
getModelMetadata
public GetModelMetadata.GetModelMetadataResponse getModelMetadata(GetModelMetadata.GetModelMetadataRequest request) GetModelMetadata - provides access to metadata for loaded models.
-