(self, input_shape: list)
return (None, self._psize1, self._psize2, input_shape_one[3])
Calculate the layer output shape.
        :param input_shape: the shapes of the input tensors,
            for DynamicPoolingLayer we need tow input tensors.
Calculate the layer output shape.
        :param input_shape: the shapes of the input tensors,
            for DynamicPoolingLayer we need tow input tensors.
Calculate the layer output shape . : param input_shape : the shapes of the input tensors for DynamicPoolingLayer we need tow input tensors .
def compute_output_shape(self, input_shape: list) -> tuple:
    """
        Calculate the layer output shape.
        :param input_shape: the shapes of the input tensors,
            for DynamicPoolingLayer we need tow input tensors.
        """
    input_shape_one = input_shape[0]
    return (None, self._psize1, self._psize2, input_shape_one[3])
def compute_output_shape ( self , input_shape : list ) -> tuple : input_shape_one = input_shape [ 0 ] return ( None , self . _psize1 , self . _psize2 , input_shape_one [ 3 ] )