pub struct GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization {
pub polarity: Option<String>,
pub color_map: Option<String>,
pub clip_percent_lowerbound: Option<f32>,
pub type_: Option<String>,
pub overlay_type: Option<String>,
pub clip_percent_upperbound: Option<f32>,
}Expand description
Visualization configurations for image explanation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§polarity: Option<String>Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.
color_map: Option<String>The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.
clip_percent_lowerbound: Option<f32>Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.
type_: Option<String>Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.
overlay_type: Option<String>How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.
clip_percent_upperbound: Option<f32>Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl Clone for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
Source§fn clone(
&self,
) -> GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
fn clone( &self, ) -> GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl Default for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
Source§fn default() -> GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
fn default() -> GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
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 GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl RefUnwindSafe for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl Send for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl Sync for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl Unpin for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
impl UnwindSafe for GoogleCloudAiplatformV1beta1ExplanationMetadataInputMetadataVisualization
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