code: def _AvgPoolGrad(op: ops.Operation, grad):
      return gen_nn_ops.avg_pool_grad(
          array_ops.shape(op.inputs[0]),
          grad,
          op.get_attr("ksize"),
          op.get_attr("strides"),
          op.get_attr("padding"),
          data_format=op.get_attr("data_format"),
      )
  
imports: import functools
  import itertools
  import operator
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import math_ops
label_desc: Use image node_id 38 for calling a global function with example usage: _AvgPoolGrad(op, grad) and returns: gen_nn_ops