message: Create a new graph for loading the frozen graph in TocoConverter.
diff: @@ -53,6 +53,7 @@ from tensorflow.core.framework import graph_pb2 as _graph_pb2
  from tensorflow.python import keras as _keras
  from tensorflow.python.client import session as _session
  from tensorflow.python.framework import graph_util as _tf_graph_util
  +from tensorflow.python.framework import ops as _ops
  from tensorflow.python.framework.importer import import_graph_def as _import_graph_def
  from tensorflow.python.saved_model import signature_constants as _signature_constants
  from tensorflow.python.saved_model import tag_constants as _tag_constants
  @@ -193,6 +194,7 @@ class TocoConverter(object):
  The graph is not frozen.
  input_arrays or output_arrays contains an invalid tensor name.
  """
  + with _ops.Graph().as_default():
  with _session.Session() as sess:
  # Read GraphDef from file.
  graph_def = _graph_pb2.GraphDef()
  @@ -206,19 +208,19 @@ class TocoConverter(object):
  if not isinstance(file_content, str):
  if PY3:
  - file_content = file_content.decode('utf-8')
  + file_content = file_content.decode("utf-8")
  else:
  - file_content = file_content.encode('utf-8')
  + file_content = file_content.encode("utf-8")
  _text_format.Merge(file_content, graph_def)
  except (_text_format.ParseError, DecodeError):
  raise ValueError(
  "Unable to parse input file '{}'.".format(graph_def_file))
  - sess.graph.as_default()
  _import_graph_def(graph_def, name="")
  # Get input and output tensors.
  input_tensors = _get_tensors_from_tensor_names(sess.graph, input_arrays)
  - output_tensors = _get_tensors_from_tensor_names(sess.graph, output_arrays)
  + output_tensors = _get_tensors_from_tensor_names(sess.graph,
  + output_arrays)
  _set_tensor_shapes(input_tensors, input_shapes)
  # Check if graph is frozen.
  