class_docstr: Model for thread-safe inference.
  To do inference, you need to first initiate an InferenceModel instance, then call
  load|load_caffe|load_openvino to load a pre-trained model, and finally call predict.
  
  # Arguments
  supported_concurrent_num: Int. How many concurrent threads to invoke. Default is 1.
class_docstr_tok: ["Model","for","thread-safe","inference",".","To","do","inference",",","you","need","to","first","initiate","an","InferenceModel","instance",",","then","call","load|load_caffe|load_openvino","to","load","a","pre-trained","model",",","and","finally","call","predict",".","#","Arguments","supported_concurrent_num",":","Int",".","How","many","concurrent","threads","to","invoke",".","Default","is","1","."]
docstr: Load a TensorFlow model using tensorflow.
  
  :param model_path: String. The file path to the TensorFlow model.
  :param model_type: String. The type of the tensorflow model file. Default is "frozenModel"
  :param intra_op_parallelism_threads: Int. The number of intraOpParallelismThreads.
                                       Default is 1.
  :param inter_op_parallelism_threads: Int. The number of interOpParallelismThreads.
                                       Default is 1.
  :param use_per_session_threads: Boolean. Whether to use perSessionThreads. Default is True.
docstr_tok: ["Load","a","TensorFlow","model","using","tensorflow",".",":","param","model_path",":","String",".","The","file","path","to","the","TensorFlow","model",".",":","param","model_type",":","String",".","The","type","of","the","tensorflow","model","file",".","Default","is","``","frozenModel","''",":","param","intra_op_parallelism_threads",":","Int",".","The","number","of","intraOpParallelismThreads",".","Default","is","1.",":","param","inter_op_parallelism_threads",":","Int",".","The","number","of","interOpParallelismThreads",".","Default","is","1.",":","param","use_per_session_threads",":","Boolean",".","Whether","to","use","perSessionThreads",".","Default","is","True","."]
code: def load_tensorflow(
      self,
      model_path,
      model_type="frozenModel",
      intra_op_parallelism_threads=1,
      inter_op_parallelism_threads=1,
      use_per_session_threads=True,
  ):
      """
      Load a TensorFlow model using tensorflow.
  
      :param model_path: String. The file path to the TensorFlow model.
      :param model_type: String. The type of the tensorflow model file. Default is "frozenModel"
      :param intra_op_parallelism_threads: Int. The number of intraOpParallelismThreads.
                                           Default is 1.
      :param inter_op_parallelism_threads: Int. The number of interOpParallelismThreads.
                                           Default is 1.
      :param use_per_session_threads: Boolean. Whether to use perSessionThreads. Default is True.
      """
      callZooFunc(
          self.bigdl_type,
          "inferenceModelLoadTensorFlow",
          self.value,
          model_path,
          model_type,
          intra_op_parallelism_threads,
          inter_op_parallelism_threads,
          use_per_session_threads,
      )
  
file_path: analytics-zoo/pyzoo/zoo/pipeline/inference/inference_model.py
imports: from bigdl.util.common import JavaValue
  from zoo.common.utils import callZooFunc
  from bigdl.nn.layer import Layer
  from zoo.pipeline.api.keras.engine import KerasNet
  import warnings
label_desc: Use image node_id 7 for calling the InferenceModel obj's underlying member method code with example usage: obj.load_tensorflow(model_path, model_type, intra_op_parallelism_threads, inter_op_parallelism_threads, use_per_session_threads) without return types