docstr: Overwrites TFLoader._tf_ssa_from_graph_def()
docstr_tok: ["Overwrites","TFLoader._tf_ssa_from_graph_def","(",")"]
code: def _tf_ssa_from_graph_def(self, fn_name="main"):
      """Overwrites TFLoader._tf_ssa_from_graph_def()"""
      graph_dict = {}
      for node in self._graph_def.node:
          graph_dict[node.name] = ParsedTFNode(node)
  
      tensor_array_resource_removal(graph_dict)
      graph = insert_get_tuple(graph_dict)
      graph = fill_outputs(graph)
      delete_disconnected_nodes(graph)
  
      tf_ssa = NetworkEnsemble()
      tf_ssa.functions[fn_name] = SSAFunction(graph)
      return tf_ssa
  
imports: import gc
  import os
  from distutils.version import StrictVersion
  from tempfile import mktemp
  import tensorflow
  from tqdm import tqdm
  from coremltools import _logger
  from coremltools._deps import _get_version
  from coremltools.converters._profile_utils import _profile
  from .._utils import get_output_names
  from .basic_graph_ops import fill_outputs
  from .converter import TFConverter
  from .parsed_tf_node import ParsedTFNode
  from .tf_graph_pass import cond_to_where, constant_propagation, delete_asserts, delete_disconnected_nodes, delete_unnecessary_constant_nodes, functionalize_loops, fuse_dilation_conv, insert_get_tuple, quantization_pass, remove_variable_nodes, tensor_array_resource_removal
  from .tfssa import NetworkEnsemble, SSAFunction
label_desc: Use image node_id 3 for calling the TF1Loader obj's underlying member method code with example usage: obj._tf_ssa_from_graph_def(fn_name) and returns: tf_ssa