pub struct GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata {
pub display_name_mapping_key: Option<String>,
pub output_tensor_name: Option<String>,
pub index_display_name_mapping: Option<Value>,
}Expand description
Metadata of the prediction output to be explained.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name_mapping_key: Option<String>Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by Attribution.output_index for a specific output.
output_tensor_name: Option<String>Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.
index_display_name_mapping: Option<Value>Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It’s not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The Attribution.output_display_name is populated by locating in the mapping with Attribution.output_index.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl Clone for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
Source§fn clone(&self) -> GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
fn clone(&self) -> GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl Default for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
Source§fn default() -> GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
fn default() -> GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
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 GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl RefUnwindSafe for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl Send for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl Sync for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl Unpin for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
impl UnwindSafe for GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata
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