pub struct GoogleCloudAiplatformV1ExplanationMetadata {
pub latent_space_source: Option<String>,
pub inputs: Option<HashMap<String, GoogleCloudAiplatformV1ExplanationMetadataInputMetadata>>,
pub outputs: Option<HashMap<String, GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata>>,
pub feature_attributions_schema_uri: Option<String>,
}Expand description
Metadata describing the Model’s input and output for explanation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§latent_space_source: Option<String>Name of the source to generate embeddings for example based explanations.
inputs: Option<HashMap<String, GoogleCloudAiplatformV1ExplanationMetadataInputMetadata>>Required. Map from feature names to feature input metadata. Keys are the name of the features. Values are the specification of the feature. An empty InputMetadata is valid. It describes a text feature which has the name specified as the key in ExplanationMetadata.inputs. The baseline of the empty feature is chosen by Vertex AI. For Vertex AI-provided Tensorflow images, the key can be any friendly name of the feature. Once specified, featureAttributions are keyed by this key (if not grouped with another feature). For custom images, the key must match with the key in instance.
outputs: Option<HashMap<String, GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata>>Required. Map from output names to output metadata. For Vertex AI-provided Tensorflow images, keys can be any user defined string that consists of any UTF-8 characters. For custom images, keys are the name of the output field in the prediction to be explained. Currently only one key is allowed.
feature_attributions_schema_uri: Option<String>Points to a YAML file stored on Google Cloud Storage describing the format of the feature attributions. The schema is defined as an OpenAPI 3.0.2 Schema Object. AutoML tabular Models always have this field populated by Vertex AI. Note: The URI given on output may be different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1ExplanationMetadata
impl Clone for GoogleCloudAiplatformV1ExplanationMetadata
Source§fn clone(&self) -> GoogleCloudAiplatformV1ExplanationMetadata
fn clone(&self) -> GoogleCloudAiplatformV1ExplanationMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1ExplanationMetadata
impl Default for GoogleCloudAiplatformV1ExplanationMetadata
Source§fn default() -> GoogleCloudAiplatformV1ExplanationMetadata
fn default() -> GoogleCloudAiplatformV1ExplanationMetadata
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExplanationMetadata
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExplanationMetadata
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 Part for GoogleCloudAiplatformV1ExplanationMetadata
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1ExplanationMetadata
impl RefUnwindSafe for GoogleCloudAiplatformV1ExplanationMetadata
impl Send for GoogleCloudAiplatformV1ExplanationMetadata
impl Sync for GoogleCloudAiplatformV1ExplanationMetadata
impl Unpin for GoogleCloudAiplatformV1ExplanationMetadata
impl UnwindSafe for GoogleCloudAiplatformV1ExplanationMetadata
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