Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ type
Method
type
src/api/cpp/array.cpp:316–320 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
314
}
315
316
af::dtype array::type() const {
317
af::dtype my_type;
318
AF_THROW(af_get_type(&my_type, arr));
319
return my_type;
320
}
321
322
dim_t array::elements() const {
323
dim_t elems;
Callers
15
operator-
Method · 0.95
BINARY_TESTS_NEAR
Function · 0.80
TYPED_TEST
Function · 0.80
qrTester
Function · 0.80
TEST_P
Function · 0.80
TYPED_TEST
Function · 0.80
TEST
Function · 0.80
loadImageNativeCPPTest
Function · 0.80
saveLoadImageNativeCPPTest
Function · 0.80
cpu_norm1
Function · 0.80
cpu_norm_pq
Function · 0.80
cpu_norm_inf
Function · 0.80
Calls
1
af_get_type
Function · 0.85
Tested by
4
assertArrayEq
Function · 0.64
imageEq
Function · 0.64
assertImageEq
Function · 0.64
toTempFormat
Function · 0.64