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

Method init

test/arrayfire_test.cpp:1191–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1189}
1190
1191void TestOutputArrayInfo::init(const unsigned ndims, const dim_t *const dims,
1192 const af_dtype ty) {
1193 ASSERT_SUCCESS(af_randu(&out_arr, ndims, dims, ty));
1194}
1195
1196void TestOutputArrayInfo::init(const unsigned ndims, const dim_t *const dims,
1197 const af_dtype ty,

Callers 4

verifyFunction · 0.45
genRegularArrayFunction · 0.45
genSubArrayFunction · 0.45
genReorderedArrayFunction · 0.45

Calls 8

af_randuFunction · 0.50
initFunction · 0.50
af_copy_arrayFunction · 0.50
af_indexFunction · 0.50
af_constant_complexFunction · 0.50
af_constant_longFunction · 0.50
af_constant_ulongFunction · 0.50
af_constantFunction · 0.50

Tested by

no test coverage detected