code: def __init__(self, **kwargs):
      super(AvgPool1D, self).__init__(**kwargs)
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import absolute_import
  from .core import *
  from .helper_functions import conv1d_transpose_via_conv2d
  from .convolutional import PaddingMode, DataFormat
  from .None import helper_functions
  import tensorflow
  from tensorflow.python.ops import nn_grad
label_desc: Use image node_id 1 to create a new AvgPool1D object from inherited base classes: Pool1D with example: obj = AvgPool1D()