Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ gfor
Function
gfor
test/morph.cpp:464–464 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
462
array mask = randu(3, 3) > 0.3;
463
464
gfor(seq ii, 3) { B(span, span, ii) = erode(A(span, span, ii), mask); }
465
466
for (int ii = 0; ii < 3; ii++) {
467
array c_ii = erode(A(span, span, ii), mask);
Callers
nothing calls this directly
Calls
1
erode
Function · 0.85
Tested by
no test coverage detected