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

Function saveArray

src/api/cpp/util.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26int saveArray(const char *key, const array &arr, const char *filename,
27 const bool append) {
28 int index = -1;
29 AF_THROW(af_save_array(&index, key, arr.get(), filename, append));
30 return index;
31}
32
33array readArray(const char *filename, const unsigned index) {
34 af_array out = 0;

Callers 1

TESTFunction · 0.85

Calls 2

af_save_arrayFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected