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

Function operator/

mlx/ops.cpp:2889–2891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2887 shape, dtype, std::make_shared<Divide>(to_stream(s)), std::move(inputs));
2888}
2889array operator/(const array& a, const array& b) {
2890 return divide(a, b);
2891}
2892array operator/(double a, const array& b) {
2893 return divide(array(a), b);
2894}

Callers

nothing calls this directly

Calls 2

divideFunction · 0.85
arrayFunction · 0.70

Tested by

no test coverage detected