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

Function af_sum_by_key

src/api/c/reduce.cpp:510–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510af_err af_sum_by_key(af_array *keys_out, af_array *vals_out,
511 const af_array keys, const af_array vals, const int dim) {
512 return reduce_promote_by_key<af_add_t>(keys_out, vals_out, keys, vals, dim);
513}
514
515af_err af_product_by_key(af_array *keys_out, af_array *vals_out,
516 const af_array keys, const af_array vals,

Callers 2

reduce_by_key_testFunction · 0.85
sumByKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected