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

Class BenchmarkResult

tensorflow_datasets/core/utils/benchmark.py:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151
152@dataclasses.dataclass(frozen=True)
153class BenchmarkResult:
154 stats: pd.DataFrame # pytype: disable=invalid-annotation # typed-pandas
155 raw_stats: pd.DataFrame # pytype: disable=invalid-annotation # typed-pandas
156
157 def _repr_html_(self) -> str:
158 """Colab/notebook representation."""
159 return '<strong>BenchmarkResult:</strong><br/>' + self.stats._repr_html_() # pylint: disable=protected-access
160
161
162def raw_benchmark(

Callers 1

benchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected