jax-js
System
Light
Dark
Search…
Preparing search index...
@jax-js/jax
random
rademacher
Function rademacher
rademacher
(
...
args
:
[
key
:
ArrayLike
,
{
dtype
?:
DType
;
shape
?:
number
[]
}
?
]
,
)
:
Array
Sample Rademacher random values, uniformly from {-1, 1}.
Parameters
...
args
:
[
key
:
ArrayLike
,
{
dtype
?:
DType
;
shape
?:
number
[]
}
?
]
Returns
Array
Properties
dispose
dispose
:
()
=>
void
Properties
dispose
jax-js
Loading...
Sample Rademacher random values, uniformly from {-1, 1}.