def _sample_n(self, n, seed=None):
    (loc, scale, low, high) = self._loc_scale_low_high()
    batch_shape = self._batch_shape_tensor(loc=loc, scale=scale, low=low, high=high)
    sample_and_batch_shape = ps.concat([[n], batch_shape], axis=0)
    u = samplers.uniform(sample_and_batch_shape, dtype=self.dtype, seed=seed)
    return self._quantile(u, loc=loc, scale=scale, low=low, high=high)
def _sample_n(self, n, seed=None):
    (loc, scale, low, high) = self._loc_scale_low_high()
    batch_shape = self._batch_shape_tensor(loc=loc, scale=scale, low=low, high=high)
    sample_and_batch_shape = ps.concat([[n], batch_shape], axis=0)
    u = samplers.uniform(sample_and_batch_shape, dtype=self.dtype, seed=seed)
    return self._quantile(u, loc=loc, scale=scale, low=low, high=high)