MCPcopy 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
316af::dtype array::type() const {
317 af::dtype my_type;
318 AF_THROW(af_get_type(&my_type, arr));
319 return my_type;
320}
321
322dim_t array::elements() const {
323 dim_t elems;

Callers 15

operator-Method · 0.95
BINARY_TESTS_NEARFunction · 0.80
TYPED_TESTFunction · 0.80
qrTesterFunction · 0.80
TEST_PFunction · 0.80
TYPED_TESTFunction · 0.80
TESTFunction · 0.80
loadImageNativeCPPTestFunction · 0.80
cpu_norm1Function · 0.80
cpu_norm_pqFunction · 0.80
cpu_norm_infFunction · 0.80

Calls 1

af_get_typeFunction · 0.85

Tested by 4

assertArrayEqFunction · 0.64
imageEqFunction · 0.64
assertImageEqFunction · 0.64
toTempFormatFunction · 0.64