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

Function pad

src/api/c/data.cpp:418–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416
417template<typename T>
418inline af_array pad(const af_array in, const dim4 &lPad, const dim4 &uPad,
419 const af::borderType ptype) {
420 return getHandle(padArrayBorders<T>(getArray<T>(in), lPad, uPad, ptype));
421}
422
423af_err af_pad(af_array *out, const af_array in, const unsigned begin_ndims,
424 const dim_t *const begin_dims, const unsigned end_ndims,

Callers 2

testPadFunction · 0.50
padBordersFunction · 0.50

Calls 1

getHandleFunction · 0.70

Tested by

no test coverage detected