### Description Code: ```python def rayleigh(scale=1.0, *, size=None, **kwargs): return chi2(df=2, size=size, **kwargs) * as_tensor_variable(scale) ``` from: https://github.com/pymc-devs/pytensor/pull/220#issuecomment-1435947464