<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/metadata/blob/r1.21.0/tensorflow_metadata/proto/v0/metric.proto) |

A ProtocolMessage

#### View aliases


**Main aliases**

[`tfmd.proto.v0.metric_pb2.CustomMetric`](https://www.tensorflow.org/tfx/tf_metadata/api_docs/python/tfmd/proto/metric_pb2/CustomMetric)

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `is_maximized` | `bool is_maximized` |
| `name` | `string name` |
| `registry_spec` | `RegistrySpec registry_spec` |

<br />

## Child Classes

[`class RegistrySpec`](https://www.tensorflow.org/tfx/tf_metadata/api_docs/python/tfmd/proto/metric_pb2/CustomMetric/RegistrySpec)