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

Function iota

src/api/cpp/data.cpp:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160array iota(const dim4 &dims, const dim4 &tile_dims, const af::dtype ty) {
161 af_array out;
162 AF_THROW(af_iota(&out, dims.ndims(), dims.get(), tile_dims.ndims(),
163 tile_dims.get(), ty));
164 return array(out);
165}
166
167array identity(const dim4 &dims, const af::dtype type) {
168 af_array res;

Callers 15

TESTFunction · 0.50
TESTFunction · 0.50
TEST_PFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TEST_PFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TEST_FFunction · 0.50
SetUpMethod · 0.50
TESTFunction · 0.50

Calls 4

af_iotaFunction · 0.50
arrayClass · 0.50
ndimsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected