MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / readArray

Function readArray

src/api/cpp/util.cpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33array readArray(const char *filename, const unsigned index) {
34 af_array out = 0;
35 AF_THROW(af_read_array_index(&out, filename, index));
36 return array(out);
37}
38
39array readArray(const char *filename, const char *key) {
40 af_array out = 0;

Callers 2

TEST_PFunction · 0.85
TESTFunction · 0.85

Calls 3

af_read_array_indexFunction · 0.50
arrayClass · 0.50
af_read_array_keyFunction · 0.50

Tested by

no test coverage detected