Skip to content

Commit

Permalink
RF random_uniform, fix for int
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Nov 17, 2023
1 parent d0e17fd commit 284bbad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions returnn/frontend/rand.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def random_uniform(
device: Optional[str] = None,
sparse_dim: Optional[Dim] = None,
feature_dim: Optional[Dim] = None,
minval: Union[int, float, Tensor] = 0.0,
maxval: Union[int, float, Tensor] = 1.0,
minval: Union[int, float, Tensor] = 0,
maxval: Union[int, float, Tensor] = 1,
seed: Optional[Union[int, Sequence[int], numpy.ndarray]] = None,
algorithm: Optional[str] = None,
explicit_state: Optional[Tensor] = None,
Expand Down

0 comments on commit 284bbad

Please sign in to comment.