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

Function convolve2NN

src/api/cpp/convolve.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55array convolve2NN(
56 const array &signal, const array &filter,
57 const dim4 stride, // NOLINT(performance-unnecessary-value-param)
58 const dim4 padding, // NOLINT(performance-unnecessary-value-param)
59 const dim4 dilation) { // NOLINT(performance-unnecessary-value-param)
60 af_array out = 0;
61 AF_THROW(af_convolve2_nn(&out, signal.get(), filter.get(), 2, stride.get(),
62 2, padding.get(), 2, dilation.get()));
63 return array(out);
64}
65
66array convolve2GradientNN(
67 const array &incoming_gradient, const array &original_signal,

Callers 2

TEST_PFunction · 0.85
TESTFunction · 0.85

Calls 3

af_convolve2_nnFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected