|
| template<size_t C1, size_t C2, size_t S1, size_t S2, size_t P1, size_t P2, typename A , typename B , typename M > |
| static void | pool_derivative_block ([[maybe_unused]] const A &in, [[maybe_unused]] const B &out, M &m, size_t j, size_t k) |
| | Pool a block of the sub expression. More...
|
| |
| template<size_t C1, size_t C2, size_t C3, size_t S1, size_t S2, size_t S3, size_t P1, size_t P2, size_t P3, etl_2d A, typename B , typename M > |
| static void | apply (A &&in, B &&out, M &&m) |
| | Apply the functor on sub and store the result in m. More...
|
| |
| template<typename A , typename B , typename M > |
| static void | pool_derivative_block ([[maybe_unused]] const A &in, [[maybe_unused]] const B &out, M &m, size_t j, size_t k, size_t c1, size_t c2, size_t s1, size_t s2, size_t p1, size_t p2) |
| | Pool a block of the sub expression. More...
|
| |
| template<etl_2d A, typename B , typename M > |
| static void | apply (A &&in, B &&out, M &&m, size_t c1, size_t c2, [[maybe_unused]] size_t c3, size_t s1, size_t s2, [[maybe_unused]] size_t s3, size_t p1, size_t p2, [[maybe_unused]] size_t p3) |
| | Apply the functor on sub and store the result in m. More...
|
| |
| template<size_t C1, size_t C2, size_t C3, size_t S1, size_t S2, size_t S3, size_t P1, size_t P2, size_t P3, deep_mat A, typename B , typename M > |
| static void | apply (A &&in, B &&out, M &m) |
| | Apply the functor on sub and store the result in m. More...
|
| |
| template<deep_mat A, typename B , typename M > |
| static void | apply (A &&in, B &&out, M &m, size_t c1, size_t c2, size_t c3, size_t s1, size_t s2, size_t s3, size_t p1, size_t p2, size_t p3) |
| | Apply the functor on sub and store the result in m. More...
|
| |
Functor for the derivative of 2D Avg Pooling.
template<size_t C1, size_t C2, size_t C3, size_t S1, size_t S2, size_t S3, size_t P1, size_t P2, size_t P3, etl_2d A, typename B , typename M >
| static void etl::impl::avg_pool_derivative_2d::apply |
( |
A && |
in, |
|
|
B && |
out, |
|
|
M && |
m |
|
) |
| |
|
inlinestatic |
Apply the functor on sub and store the result in m.
- Parameters
-
| in | The sub expression |
| out | The out matrix |
| m | The storage matrix |
- Template Parameters
-
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
template<size_t C1, size_t C2, size_t C3, size_t S1, size_t S2, size_t S3, size_t P1, size_t P2, size_t P3, deep_mat A, typename B , typename M >
| static void etl::impl::avg_pool_derivative_2d::apply |
( |
A && |
in, |
|
|
B && |
out, |
|
|
M & |
m |
|
) |
| |
|
inlinestatic |
Apply the functor on sub and store the result in m.
- Parameters
-
| in | The sub expression |
| out | The out matrix |
| m | The storage matrix |
- Template Parameters
-
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |