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

Function resize

src/api/cpp/resize.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace af {
15
16array resize(const array &in, const dim_t odim0, const dim_t odim1,
17 const interpType method) {
18 af_array out = 0;
19 AF_THROW(af_resize(&out, in.get(), odim0, odim1, method));
20 return array(out);
21}
22
23array resize(const float scale0, const float scale1, const array &in,
24 const interpType method) {

Callers

nothing calls this directly

Calls 4

af_resizeFunction · 0.50
arrayClass · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected