Enum googapis::google::cloud::aiplatform::v1beta1::explanation_metadata::output_metadata::DisplayNameMapping [−][src]
Expand description
Defines how to map [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index] to [Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name].
If neither of the fields are specified, [Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name] will not be populated.
Variants
IndexDisplayNameMapping(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][google.cloud.aiplatform.v1beta1.Attribution.output_display_name] is populated by locating in the mapping with [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index].
Tuple Fields of IndexDisplayNameMapping
0: Value
DisplayNameMappingKey(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][google.cloud.aiplatform.v1beta1.Attribution.output_index] for a specific output.
Tuple Fields of DisplayNameMappingKey
0: String
Implementations
pub fn merge<B>(
field: &mut Option<DisplayNameMapping>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DisplayNameMapping
impl Send for DisplayNameMapping
impl Sync for DisplayNameMapping
impl Unpin for DisplayNameMapping
impl UnwindSafe for DisplayNameMapping
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more