netket.jax.tree_leaf_iscomplex#

netket.jax.tree_leaf_iscomplex(pars)[source]#

Returns true if at least one leaf in the tree has complex dtype.

Return type

bool

Parameters

pars (Any) –