boax.core.distributions.gamma.gamma

Contents

boax.core.distributions.gamma.gamma#

boax.core.distributions.gamma.gamma(a, b=Array(1., dtype=float32))#

Smart constructor for the gamma distribution.

Parameters:
  • a (Union[Array, ndarray, bool, number]) – The shape parameter.

  • b (Union[Array, ndarray, bool, number]) – The rate parameter.

Return type:

Gamma

Returns:

The Gamma distribution object.