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

Function moddims

src/api/cpp/data.cpp:202–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202array moddims(const array &in, const unsigned ndims, const dim_t *const dims) {
203 af_array out = 0;
204 AF_THROW(af_moddims(&out, in.get(), ndims, dims));
205 return array(out);
206}
207
208array moddims(const array &in, const dim4 &dims) {
209 return af::moddims(in, dims.ndims(), dims.get());

Callers 15

TESTFunction · 0.85
cppModdimsTestFunction · 0.85
TESTFunction · 0.85
fft.cppFile · 0.85
threading.cppFile · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
cppMatMulCheckFunction · 0.85
TESTFunction · 0.85

Calls 4

af_moddimsFunction · 0.50
arrayClass · 0.50
getMethod · 0.45
ndimsMethod · 0.45

Tested by

no test coverage detected