(cls, msize1: int, msize2: int, psize1: int,
                          psize2: int)
return (suggestion1, suggestion2)
Get `dpool_size` suggestion for a given shape.
        Returns the nearest legal `dpool_size` for the given combination of
        `(psize1, psize2)`.
        :param msize1: size of the left text.
        :param msize2: size of the right text.
        :param psize1: base size of the pool.
        :param psize2: base size of the pool.
        :return:
Get `dpool_size` suggestion for a given shape.
        Returns the nearest legal `dpool_size` for the given combination of
        `(psize1, psize2)`.
        :param msize1: size of the left text.
        :param msize2: size of the right text.
        :param psize1: base size of the pool.
        :param psize2: base size of the pool.
        :return:
Get dpool_size suggestion for a given shape . Returns the nearest legal dpool_size for the given combination of ( psize1 psize2 ) . : param msize1 : size of the left text . : param msize2 : size of the right text . : param psize1 : base size of the pool . : param psize2 : base size of the pool . : return :
def get_size_suggestion(cls, msize1: int, msize2: int, psize1: int,
                          psize2: int) -> typing.Tuple[int, int]:
    """
        Get `dpool_size` suggestion for a given shape.
        Returns the nearest legal `dpool_size` for the given combination of
        `(psize1, psize2)`.
        :param msize1: size of the left text.
        :param msize2: size of the right text.
        :param psize1: base size of the pool.
        :param psize2: base size of the pool.
        :return:
        """
    stride1 = msize1 // psize1
    stride2 = msize2 // psize2
    suggestion1 = msize1 // stride1
    suggestion2 = msize2 // stride2
    return (suggestion1, suggestion2)
def get_size_suggestion ( cls , msize1 : int , msize2 : int , psize1 : int , psize2 : int ) -> typing . Tuple [ int , int ] : stride1 = msize1 // psize1 stride2 = msize2 // psize2 suggestion1 = msize1 // stride1 suggestion2 = msize2 // stride2 return ( suggestion1 , suggestion2 )