message: Stop exporting freeze_graph in 2.0.
  freeze_graph is incompatible with models generated in 2.0 and is being deprecated. The primary format for passing models in 2.0 is SavedModels.
diff: @@ -103,7 +103,6 @@ if sys.version_info < (3, 4):
  # pylint: disable=line-too-long
  CONSOLE_SCRIPTS = [
  - 'freeze_graph = tensorflow.python.tools.freeze_graph:run_main',
  'toco_from_protos = tensorflow.lite.toco.python.toco_from_protos:main',
  'tflite_convert = tensorflow.lite.python.tflite_convert:main',
  'toco = tensorflow.lite.python.tflite_convert:main',
  @@ -117,6 +116,11 @@ CONSOLE_SCRIPTS = [
  ]
  # pylint: enable=line-too-long
  +# Only keep freeze_graph console script in 1.X.
  +if _VERSION.startswith('1.') and '_2.0' not in project_name:
  + CONSOLE_SCRIPTS.append(
  + 'freeze_graph = tensorflow.python.tools.freeze_graph:run_main')
  +
  # remove the tensorboard console script if building tf_nightly
  if 'tf_nightly' in project_name:
  CONSOLE_SCRIPTS.remove('tensorboard = tensorboard.main:run_main')
  