lingvo.core.ml_perf_log module

Convenience function for logging compliance tags to stdout.

lingvo.core.ml_perf_log.get_caller(stack_index=2, root_dir=None)[source]
lingvo.core.ml_perf_log.mlperf_format(key, value, now, stack_offset=0, metadata=None)[source]

Format a message for MLPerf.

lingvo.core.ml_perf_log.mlperf_print(key, value, stack_offset=0, metadata=None)[source]