pub struct GoogleCloudAiplatformV1ExplainRequest {
pub parameters: Option<Value>,
pub deployed_model_id: Option<String>,
pub instances: Option<Vec<Value>>,
pub explanation_spec_override: Option<GoogleCloudAiplatformV1ExplanationSpecOverride>,
}Expand description
Request message for PredictionService.Explain.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations endpoints explain projects (request)
Fields§
§parameters: Option<Value>The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint’s DeployedModels’ Model’s PredictSchemata’s parameters_schema_uri.
deployed_model_id: Option<String>If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding Endpoint.traffic_split.
instances: Option<Vec<Value>>Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint’s DeployedModels’ Model’s PredictSchemata’s instance_schema_uri.
explanation_spec_override: Option<GoogleCloudAiplatformV1ExplanationSpecOverride>If specified, overrides the explanation_spec of the DeployedModel. Can be used for explaining prediction results with different configurations, such as: - Explaining top-5 predictions results as opposed to top-1; - Increasing path count or step count of the attribution methods to reduce approximate errors; - Using different baselines for explaining the prediction results.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1ExplainRequest
impl Clone for GoogleCloudAiplatformV1ExplainRequest
Source§fn clone(&self) -> GoogleCloudAiplatformV1ExplainRequest
fn clone(&self) -> GoogleCloudAiplatformV1ExplainRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1ExplainRequest
impl Default for GoogleCloudAiplatformV1ExplainRequest
Source§fn default() -> GoogleCloudAiplatformV1ExplainRequest
fn default() -> GoogleCloudAiplatformV1ExplainRequest
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExplainRequest
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExplainRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudAiplatformV1ExplainRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1ExplainRequest
impl RefUnwindSafe for GoogleCloudAiplatformV1ExplainRequest
impl Send for GoogleCloudAiplatformV1ExplainRequest
impl Sync for GoogleCloudAiplatformV1ExplainRequest
impl Unpin for GoogleCloudAiplatformV1ExplainRequest
impl UnwindSafe for GoogleCloudAiplatformV1ExplainRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more