tfds.beam.inc_counter

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

tfds.beam.inc_counter('my_metric')

Is a small alias for:

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

name The metrics name
value Increment (default to 1)
namespace Metrics namespace (default to tfds)