<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/core/beam_utils.py#L139-L157) |

Increment a `beam.metrics.Metrics.counter` without boilerplate.

    tfds.beam.inc_counter(
        name: str, value: int = 1, *, namespace: str = 'tfds'
    ) -> None

    tfds.beam.inc_counter('my_metric')

#### Is a small alias for:

    beam.metrics.Metrics.counter(namespace, name).inc(value)

<br />

<br />

<br />

| ## Args ||
|---|---|
| `name` | The metrics name |
| `value` | Increment (default to 1) |
| `namespace` | Metrics namespace (default to [`tfds`](https://www.tensorflow.org/datasets/api_docs/python/tfds)) |

<br />