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

Function sparseGetNNZ

src/api/cpp/sparse.cpp:92–96  ·  view source on GitHub ↗

NOLINTNEXTLINE(performance-unnecessary-value-param)

Source from the content-addressed store, hash-verified

90
91// NOLINTNEXTLINE(performance-unnecessary-value-param)
92dim_t sparseGetNNZ(const array in) {
93 dim_t out = 0;
94 AF_THROW(af_sparse_get_nnz(&out, in.get()));
95 return out;
96}
97
98// NOLINTNEXTLINE(performance-unnecessary-value-param)
99af::storage sparseGetStorage(const array in) {

Callers 6

createFunctionFunction · 0.85
sparseCastTesterFunction · 0.85
TYPED_TESTFunction · 0.85
TESTFunction · 0.85
toCooVectorFunction · 0.85
setupInputsFunction · 0.85

Calls 2

af_sparse_get_nnzFunction · 0.50
getMethod · 0.45

Tested by 1

toCooVectorFunction · 0.68