docstr: TensorFlow 1.x model loader.
  
  Parameters
  ----------
  model: Model created with TensorFlow 1.x
      One of the following model format:
          - TensorFlow tf.Graph object or frozen graph (.pb) file path
          - TensorFlow tf.keras.Model object or HDF5 (.h5) file path
          - TensorFlow SavedModel directory path
  debug: bool, optional. Defaults to False.
      This flag should generally be False except for debugging purposes
      for diagnosing conversion errors. Setting this flag to True will
      cause graph pass errors to be ignored, forcefully returning a
      NetworkEnsemble object.
  kwargs: dict(str, Any), optional
      Dictionary of additional arguments.
docstr_tok: ["TensorFlow","1.x","model","loader",".","Parameters","--","--","--","--","--","model",":","Model","created","with","TensorFlow","1.x","One","of","the","following","model","format",":","-","TensorFlow","tf.Graph","object","or","frozen","graph","(",".pb",")","file","path","-","TensorFlow","tf.keras.Model","object","or","HDF5","(",".h5",")","file","path","-","TensorFlow","SavedModel","directory","path","debug",":","bool",",","optional",".","Defaults","to","False",".","This","flag","should","generally","be","False","except","for","debugging","purposes","for","diagnosing","conversion","errors",".","Setting","this","flag","to","True","will","cause","graph","pass","errors","to","be","ignored",",","forcefully","returning","a","NetworkEnsemble","object",".","kwargs",":","dict","(","str",",","Any",")",",","optional","Dictionary","of","additional","arguments","."]
code: def __init__(self, model, debug=False, **kwargs):
      """
      TensorFlow 1.x model loader.
  
      Parameters
      ----------
      model: Model created with TensorFlow 1.x
          One of the following model format:
              - TensorFlow tf.Graph object or frozen graph (.pb) file path
              - TensorFlow tf.keras.Model object or HDF5 (.h5) file path
              - TensorFlow SavedModel directory path
      debug: bool, optional. Defaults to False.
          This flag should generally be False except for debugging purposes
          for diagnosing conversion errors. Setting this flag to True will
          cause graph pass errors to be ignored, forcefully returning a
          NetworkEnsemble object.
      kwargs: dict(str, Any), optional
          Dictionary of additional arguments.
      """
      TFLoader.__init__(self, model, debug, **kwargs)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import os
  import gc
  import six
  import tensorflow
  from tempfile import mktemp
  from .basic_graph_ops import fill_outputs
  from .converter import TFConverter
  from .tf_graph_pass import *
  from .tfssa import NetworkEnsemble, SSAFunction
  from .parsed_tf_node import ParsedTFNode
  from coremltools.converters._profile_utils import _profile
  from tqdm import tqdm
  from distutils.version import StrictVersion
label_desc: Use image node_id 1 to create a new TF1Loader object from inherited base classes: TFLoader with example: obj = TF1Loader(model, debug)