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 ncf_print(
      self,
      key,
      value=None,
      stack_offset=_STACK_OFFSET,
      deferred=False,
      extra_print=False,
      prefix=_NCF_PREFIX,
  ):
      if self._mlperf_log is None or not self.enabled:
          return
      self._mlperf_log.ncf_print(
          key=key,
          value=value,
          stack_offset=stack_offset,
          deferred=deferred,
          extra_print=extra_print,
          prefix=prefix,
      )
  
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 7 for calling the Logger obj's underlying member method code with example usage: obj.ncf_print(key, value, stack_offset, deferred, extra_print, prefix) without return types