def METHOD_NAME():
  """Check that mlperf_compliance is up to date."""
  import pkg_resources
  version = pkg_resources.get_distribution("mlperf_compliance")
  version = tuple(int(i) for i in version.version.split("."))
  if version < _MIN_VERSION:
    tf.compat.v1.logging.warning(
        "mlperf_compliance is version {}, must be >= {}".format(
            ".".join([str(i) for i in version]),
            ".".join([str(i) for i in _MIN_VERSION])))
    raise ImportError
  return mlperf_compliance.mlperf_log