Skip to content

Commit

Permalink
Update functions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mwangi-ke authored Sep 2, 2023
1 parent dcb8e7b commit 4a4f39c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ivy/functional/frontends/numpy/random/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,6 @@ def gamma(shape, scale=1.0, size=None):
return ivy.gamma(shape, scale, shape=size, dtype="float64")


@to_ivy_arrays_and_back
@from_zero_dim_arrays_to_scalar
def logistic(loc=0.0, scale=1.0, size=None):
u = ivy.random_uniform(low=0.0, high=0.0, shape=size, dtype="float64")
x = loc + scale * ivy.log(u / (1 - u))
return x


@to_ivy_arrays_and_back
@from_zero_dim_arrays_to_scalar
def pareto(a, size=None):
Expand Down

0 comments on commit 4a4f39c

Please sign in to comment.