Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::DirectPredictResponse.
Response message for PredictionService.DirectPredict.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#outputs
def outputs() -> ::Array<::Google::Cloud::AIPlatform::V1::Tensor>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Tensor>) — The prediction output.
#outputs=
def outputs=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Tensor>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::Tensor>) — The prediction output.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Tensor>) — The prediction output.
#parameters
def parameters() -> ::Google::Cloud::AIPlatform::V1::Tensor
Returns
- (::Google::Cloud::AIPlatform::V1::Tensor) — The parameters that govern the prediction.
#parameters=
def parameters=(value) -> ::Google::Cloud::AIPlatform::V1::Tensor
Parameter
- value (::Google::Cloud::AIPlatform::V1::Tensor) — The parameters that govern the prediction.
Returns
- (::Google::Cloud::AIPlatform::V1::Tensor) — The parameters that govern the prediction.