code: def avg_pool_2x2(x):
      """avg_pool_2x2 downsamples a feature map by 2X."""
      return tf.nn.avg_pool(
          x, ksize=[1, 2, 2, 1], strides=[1, 2, 2, 1], padding="VALID"
      )
  
file_path: tf-encrypted/examples/deprecated/mnist_deep_cnn.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import os
  import sys
  import numpy
  import tensorflow
  from tensorflow.examples.tutorials.mnist import input_data
  from tensorflow.python.framework import graph_io
  from tensorflow.python.framework import graph_util
label_desc: Use image node_id 3 for calling a global function with example usage: avg_pool_2x2(x) and returns: tf