class_docstr: Layer that computes dynamic pooling of one tensor.
  
  :param psize1: pooling size of dimension 1
  :param psize2: pooling size of dimension 2
  :param kwargs: Standard layer keyword arguments.
  
  Examples:
      >>> import matchzoo as mz
      >>> layer = mz.layers.DynamicPoolingLayer(3, 2)
      >>> num_batch, left_len, right_len, num_dim = 5, 3, 2, 10
      >>> layer.build([[num_batch, left_len, right_len, num_dim],
      ...              [num_batch, left_len, right_len, 3]])
docstr: Get the config dict of DynamicPoolingLayer.
code: def get_config(self) -> dict:
      """Get the config dict of DynamicPoolingLayer."""
      config = {"psize1": self._psize1, "psize2": self._psize2}
      base_config = super(DynamicPoolingLayer, self).get_config()
      return dict(list(base_config.items()) + list(config.items()))
  
file_path: MatchZoo/matchzoo/layers/dynamic_pooling_layer.py
imports: import typing
  import tensorflow
  from keras.engine import Layer
label_desc: Use image node_id 5 for calling the DynamicPoolingLayer obj's underlying member method code with example usage: obj.get_config() and returns: dict