MCPcopy
hub / github.com/pydata/xarray / gradient

Function gradient

xarray/core/duck_array_ops.py:79–81  ·  view source on GitHub ↗
(f, *varargs, axis=None, edge_order=1)

Source from the content-addressed store, hash-verified

77
78
79def gradient(f, *varargs, axis=None, edge_order=1):
80 xp = get_array_namespace(f)
81 return xp.gradient(f, *varargs, axis=axis, edge_order=edge_order)
82
83
84def _dask_or_eager_func(

Callers 1

test_dask_gradientFunction · 0.90

Calls 1

get_array_namespaceFunction · 0.90

Tested by 1

test_dask_gradientFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…