diff --git a/python/paddle/distribution/gamma.py b/python/paddle/distribution/gamma.py index 6c5cf9630e301..e1ae3a1f63658 100644 --- a/python/paddle/distribution/gamma.py +++ b/python/paddle/distribution/gamma.py @@ -109,9 +109,6 @@ def __init__(self, concentration, rate): if not paddle.all(self.rate > 0): raise ValueError("The arg of `rate` must be positive.") - # self.concentration, self.rate = paddle.broadcast_tensors( - # [concentration, rate] - # ) super().__init__(self.concentration.shape) @property