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

Function fun_creats_array

tests/compile_tests.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70std::vector<array> fun_creats_array(const std::vector<array>& inputs) {
71 return {inputs[0] + array(1.0f)};
72}
73
74TEST_CASE("test compile with created array") {
75 auto cfun = compile(fun_creats_array);

Callers

nothing calls this directly

Calls 1

arrayFunction · 0.50

Tested by

no test coverage detected