Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ getStrides
Function
getStrides
src/api/cpp/internal.cpp:26–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
}
25
26
dim4 getStrides(const array &in) {
27
dim_t s0, s1, s2, s3;
28
AF_THROW(af_get_strides(&s0, &s1, &s2, &s3, in.get()));
29
return dim4(s0, s1, s2, s3);
30
}
31
32
dim_t getOffset(const array &in) {
33
dim_t offset;
Callers
2
TEST
Function · 0.85
unravelIdx
Function · 0.85
Calls
3
af_get_strides
Function · 0.50
dim4
Class · 0.50
get
Method · 0.45
Tested by
1
unravelIdx
Function · 0.68