code: def export_cnn() -> None:
      input = tf.placeholder(tf.float32, shape=(1, 1, 3, 3))
      filter = tf.constant(np.ones((3, 3, 1, 1)), dtype=tf.float32)
      x = tf.nn.conv2d(
          input, filter, (1, 1, 1, 1), "SAME", data_format="NCHW"
      )
      x = tf.nn.sigmoid(x)
      x = tf.nn.relu(x)
  
      pred_node_names = ["output"]
      tf.identity(x, name=pred_node_names[0])
  
      with tf.Session() as sess:
          constant_graph = graph_util.convert_variables_to_constants(
              sess, sess.graph.as_graph_def(), pred_node_names
          )
  
      frozen = graph_util.remove_training_nodes(constant_graph)
  
      output = "cnn.pb"
      graph_io.write_graph(frozen, ".", output, as_text=False)
  
file_path: tf-encrypted/examples/deprecated/convert.py
imports: import os
  import numpy
  import tensorflow
  from tensorflow.python.framework import graph_io
  from tensorflow.python.framework import graph_util
  from tensorflow.python.platform import gfile
  import tf_encrypted
  from tf_encrypted.convert import convert
  from tf_encrypted.convert.register import registry
label_desc: Use image node_id 1 for calling a global function with example usage: export_cnn() without return types