# tfma.MetricsForSlice

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/proto/metrics_for_slice.proto) |

A ProtocolMessage

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `cross_slice_key` | `CrossSliceKey cross_slice_key` |
| `metric_keys_and_values` | `repeated MetricKeyAndValue metric_keys_and_values` |
| `metrics` | `repeated MetricsEntry metrics` |
| `slice_key` | `SliceKey slice_key` |

<br />

## Child Classes

[`class MetricKeyAndValue`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/MetricsForSlice/MetricKeyAndValue)

[`class MetricsEntry`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/MetricsForSlice/MetricsEntry)