@classmethod
def fromflat(cls, flat):
    """
        Create an instance of this from new logits values

        :param flat: ([float]) the categorical logits input
        :return: (ProbabilityDistribution) the instance from the given categorical input
        """
    return cls(flat)
