code: def build(self, input_shape):
      time, dim = input_shape[1:]
      self.time_pool = tf.keras.layers.AveragePooling1D(
          pool_size=time.value, strides=time.value, padding="same"
      )
      self.reshape = tf.keras.layers.Reshape((dim,))
  
imports: import numpy
  from absl import logging
  import delta.compat
  from tensorflow.python.keras import backend
  from delta.models.base_model import Model
  from delta.layers.base_layer import Layer
  from delta import utils
  from delta.utils.register import registers
label_desc: Use image node_id 2 for calling the TimePool obj's underlying member method code with example usage: obj.build(input_shape) without return types