Class PredictionResult<InputT,OutputT>
java.lang.Object
org.apache.beam.sdk.ml.inference.remote.PredictionResult<InputT,OutputT>
- All Implemented Interfaces:
Serializable
Pairs an input with its corresponding inference output.
This class maintains the association between input data and its model's results for Downstream processing
- See Also:
-
Method Summary
-
Method Details
-
getInput
-
getOutput
-
create
public static <InputT,OutputT> PredictionResult<InputT,OutputT> create(InputT input, OutputT output)
-