jax-js
System
Light
Dark
Search…
Preparing search index...
@jax-js/jax
numpy
zerosLike
Function zerosLike
zerosLike
(
a
:
ArrayLike
,
opts
?:
{
device
?:
Device
;
dtype
?:
DType
;
shape
?:
number
[]
}
,
)
:
Array
Return an array of zeros with the same shape and type as a given array.
Parameters
a
:
ArrayLike
Optional
opts
:
{
device
?:
Device
;
dtype
?:
DType
;
shape
?:
number
[]
}
Returns
Array
jax-js
Loading...
Return an array of zeros with the same shape and type as a given array.