Class StreamingRawPredictRequest (1.38.1)

  StreamingRawPredictRequest 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Request message for PredictionService.StreamingRawPredict .

The first message must contain endpoint and method_name fields and optionally input . The subsequent messages must contain input . method_name in the subsequent messages have no effect.

Attributes

Name
Description
endpoint
str
Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
method_name
str
Fully qualified name of the API method being invoked to perform predictions. Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict
input
bytes
The prediction input.

Methods

StreamingRawPredictRequest

  StreamingRawPredictRequest 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Request message for PredictionService.StreamingRawPredict .

The first message must contain endpoint and method_name fields and optionally input . The subsequent messages must contain input . method_name in the subsequent messages have no effect.