- 3.12.0 (latest)
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public sealed class InputMetadata : IMessage<ExplanationMetadata.Types.InputMetadata>, IEquatable<ExplanationMetadata.Types.InputMetadata>, IDeepCloneable<ExplanationMetadata.Types.InputMetadata>, IBufferMessage, IMessage
Metadata of the input of a feature.
Fields other than [InputMetadata.input_baselines][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.input_baselines] are applicable only for Models that are using Vertex AI-provided images for Tensorflow.
Implements
IMessage<ExplanationMetadata.Types.InputMetadata>, IEquatable<ExplanationMetadata.Types.InputMetadata>, IDeepCloneable<ExplanationMetadata.Types.InputMetadata>, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
InputMetadata()
public InputMetadata()
InputMetadata(ExplanationMetadata.Types.InputMetadata)
public InputMetadata(ExplanationMetadata.Types.InputMetadata other)
Parameter | |
---|---|
Name | Description |
other | ExplanationMetadata.Types.InputMetadata |
Properties
DenseShapeTensorName
public string DenseShapeTensorName { get; set; }
Specifies the shape of the values of the input if the input is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.
Property Value | |
---|---|
Type | Description |
String |
EncodedBaselines
public RepeatedField<Value> EncodedBaselines { get; }
A list of baselines for the encoded tensor.
The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.
Property Value | |
---|---|
Type | Description |
RepeatedField<Value> |
EncodedTensorName
public string EncodedTensorName { get; set; }
Encoded tensor is a transformation of the input tensor. Must be provided if choosing [Integrated Gradients attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution] or [XRAI attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution] and the input tensor is not differentiable.
An encoded tensor is generated if the input tensor is encoded by a lookup table.
Property Value | |
---|---|
Type | Description |
String |
Encoding
public ExplanationMetadata.Types.InputMetadata.Types.Encoding Encoding { get; set; }
Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.
Property Value | |
---|---|
Type | Description |
ExplanationMetadata.Types.InputMetadata.Types.Encoding |
FeatureValueDomain
public ExplanationMetadata.Types.InputMetadata.Types.FeatureValueDomain FeatureValueDomain { get; set; }
The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized.
Property Value | |
---|---|
Type | Description |
ExplanationMetadata.Types.InputMetadata.Types.FeatureValueDomain |
GroupName
public string GroupName { get; set; }
Name of the group that the input belongs to. Features with the same group name will be treated as one feature when computing attributions. Features grouped together can have different shapes in value. If provided, there will be one single attribution generated in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions], keyed by the group name.
Property Value | |
---|---|
Type | Description |
String |
IndexFeatureMapping
public RepeatedField<string> IndexFeatureMapping { get; }
A list of feature names for each index in the input tensor. Required when the input [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
IndicesTensorName
public string IndicesTensorName { get; set; }
Specifies the index of the values of the input tensor. Required when the input tensor is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.
Property Value | |
---|---|
Type | Description |
String |
InputBaselines
public RepeatedField<Value> InputBaselines { get; }
Baseline inputs for this feature.
If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions].
For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor.
For custom images, the element of the baselines must be in the same format as the feature's input in the [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The schema of any single instance may be specified via Endpoint's DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri].
Property Value | |
---|---|
Type | Description |
RepeatedField<Value> |
InputTensorName
public string InputTensorName { get; set; }
Name of the input tensor for this feature. Required and is only applicable to Vertex AI-provided images for Tensorflow.
Property Value | |
---|---|
Type | Description |
String |
Modality
public string Modality { get; set; }
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
Property Value | |
---|---|
Type | Description |
String |
Visualization
public ExplanationMetadata.Types.InputMetadata.Types.Visualization Visualization { get; set; }
Visualization configurations for image explanation.
Property Value | |
---|---|
Type | Description |
ExplanationMetadata.Types.InputMetadata.Types.Visualization |