MCPcopy Create free account
hub / github.com/tensorflow/datasets / _get_counter

Method _get_counter

tensorflow_datasets/core/writer.py:517–518  ·  view source on GitHub ↗
(self, name: str, namespace: str = "BeamWriter")

Source from the content-addressed store, hash-verified

515
516 @functools.lru_cache()
517 def _get_counter(self, name: str, namespace: str = "BeamWriter"):
518 return beam.metrics.Metrics.counter(namespace, name)
519
520 @functools.lru_cache()
521 def _get_distribution(self, name: str, namespace: str = "BeamWriter"):

Callers 1

inc_counterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected