code: def _AvgPoolGrad(
      inputs, outputs, output_gradients, ksize, strides, padding
  ):
      del outputs  # Unused by average-pooling gradients.
      return gen_nn_ops.avg_pool3d_grad(
          inputs.get_shape().as_list(),
          output_gradients,
          ksize=ksize,
          strides=strides,
          padding=padding,
      )
  
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: _AvgPoolGrad(inputs, outputs, output_gradients, ksize, strides, padding) and returns: gen_nn_ops