Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
std::vector<array> fun_creats_array(const std::vector<array>& inputs) {
71
return {inputs[0] + array(1.0f)};
72
}
73
74
TEST_CASE(
"test compile with created array"
) {
75
auto cfun = compile(fun_creats_array);
Callers
nothing calls this directly
Calls
1
array
Function · 0.50
Tested by
no test coverage detected