MCPcopy Create free account
hub / github.com/ml-explore/mlx / std

Function std

mlx/ops.cpp:2249–2257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2247}
2248
2249array std(
2250 const array& a,
2251 bool keepdims,
2252 int ddof /* = 0*/,
2253 StreamOrDevice s /* = {}*/) {
2254 std::vector<int> axes(a.ndim());
2255 std::iota(axes.begin(), axes.end(), 0);
2256 return std(a, axes, keepdims, ddof, to_stream(s));
2257}
2258
2259array std(
2260 const array& a,

Callers

nothing calls this directly

Calls 5

to_streamFunction · 0.85
sqrtFunction · 0.85
varFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected