code: def from_tensorflow(tensorflow_graph_def, inputs, outputs):
      """
      Function that converts Tensorflow model into CrypTen model based on
      https://github.com/onnx/tensorflow-onnx/blob/master/tf2onnx/convert.py
      The model is returned in evaluation mode.
      Args:
          `tensorflow_graph_def`: Input Tensorflow GraphDef to be converted
          `inputs`: input nodes
          `outputs`: output nodes
      """
      raise DeprecationWarning(
          "crypten.nn.from_tensorflow is deprecated. ",
          "CrypTen will no longer support model conversion from TensorFlow.",
      )
      # Exporting model to ONNX graph
      if not TF_AND_TF2ONNX:
          raise ImportError(
              "Please install both tensorflow and tf2onnx packages"
          )
  
      with tf.Graph().as_default() as tf_graph:
          tf.import_graph_def(tensorflow_graph_def, name="")
      with tf2onnx.tf_loader.tf_session(graph=tf_graph):
          g = tf2onnx.tfonnx.process_tf_graph(
              tf_graph,
              opset=10,
              continue_on_error=False,
              input_names=inputs,
              output_names=outputs,
          )
      onnx_graph = tf2onnx.optimizer.optimize_graph(g)
      model_proto = onnx_graph.make_model(
          "converted from {}".format(tensorflow_graph_def)
      )
      f = io.BytesIO()
      f.write(model_proto.SerializeToString())
  
      # construct CrypTen model
      # Note: We don't convert crypten model to training mode, as Tensorflow
      # models are used for both training and evaluation without the specific
      # conversion of one mode to another
      f.seek(0)
      crypten_model = from_onnx(f)
      return crypten_model
  
imports: import copy
  import io
  import onnx
  import torch
  import torch.onnx.symbolic_helper
  import torch.onnx.utils
  from onnx import numpy_helper
  from torch.onnx import OperatorExportTypes
  from .None import module
label_desc: Use image node_id 3 for calling a global function with example usage: from_tensorflow(tensorflow_graph_def, inputs, outputs) and returns: crypten_model