Commit 3116fa80 authored by Mycosynth's avatar Mycosynth Committed by Martin Wicke
Browse files

Allow zero samples in RandomGamma (#7950)

* Allow zero samples in RandomGamma

Fixes #7406.  Instead of an error with zero samples,
we now return a zero-shape tensor.

* Address comment, simplify samples=0 case.

* formatting
parent 4b553d23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment