class_docstr: MLPerf logger indirection class.
  
  This logger only logs for MLPerf runs, and prevents various errors associated
  with not having the mlperf_compliance package installed.
code: def __call__(self, enable=False):
      if enable and self._mlperf_log is None:
          raise ImportError(
              "MLPerf logging was requested, but mlperf_compliance "
              "module could not be loaded."
          )
  
      self._enabled = enable
      self.tags._enabled = enable
      return self
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from collections import namedtuple
  import json
  import os
  import re
  import subprocess
  import sys
  import typing
  import tensorflow
label_desc: Use image node_id 2 for calling the Logger obj's underlying member method code with example usage: obj.__call__(enable) and returns: self