jax-js
System
Light
Dark
Search…
Preparing search index...
@jax-js/optax
treeNorm
Function treeNorm
treeNorm
(
tr
:
JsTree
<
Array
>
,
ord
?:
NormOrd
,
squared
?:
boolean
)
:
Array
Compute the vector norm of the given ord of a pytree.
Parameters
tr
:
JsTree
<
Array
>
ord
:
NormOrd
= null
squared
:
boolean
= false
Returns
Array
jax-js
Loading...
Compute the vector norm of the given ord of a pytree.