View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata (google_api_ai_platform v0.13.0)

Metadata of the prediction output to be explained.

Attributes

  • displayNameMappingKey (type: String.t, default: nil) - 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.
  • indexDisplayNameMapping (type: any(), default: nil) - 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.
  • outputTensorName (type: String.t, default: nil) - Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata{
    displayNameMappingKey: String.t() | nil,
    indexDisplayNameMapping: any() | nil,
    outputTensorName: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.