def METHOD_NAME(self, sample_shape=torch.Size()):
    shape = self._extended_shape(sample_shape)
    u = torch.rand_like(self.gamma.expand(shape))
    METHOD_NAME = self.quantile(u)
    if len(sample_shape) == 0:
        METHOD_NAME = METHOD_NAME.squeeze(0)
    return METHOD_NAME