|
Expression Templates Library (ETL)
|
Functor for 2D Max Pooling. More...
#include <max_pooling.hpp>
Static Public Member Functions | |
| template<typename A > | |
| static auto | pool_block_border (const A &sub, 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 around the border (with padding) More... | |
| template<size_t C1, size_t C2, size_t S1, size_t S2, size_t P1, size_t P2, typename A > | |
| static auto | pool_block_2d (const A &sub, size_t j, size_t k) |
| Pool a block of the sub expression. More... | |
| template<size_t C1, size_t C2, size_t S1, size_t S2, typename A > | |
| static auto | pool_block_3d (const A &sub, size_t n, size_t j, size_t k) |
| Pool a block of the sub expression. More... | |
| template<size_t C1, size_t C2, size_t S1, size_t S2, typename A > | |
| static auto | pool_block_4d (const A &sub, size_t m, size_t n, size_t j, size_t k) |
| Pool a block of the sub expression. More... | |
| template<size_t C1, size_t C2, size_t S1, size_t S2, size_t P1, size_t P2, etl_2d A, typename M > | |
| static void | apply (const A &sub, M &&m) |
| Apply the functor on sub and store the result in m. More... | |
| template<typename A > | |
| static auto | pool_block_2d (const A &sub, 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<typename A > | |
| static auto | pool_block_2d (const A &sub, size_t j, size_t k, size_t c1, size_t c2) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_2d_2x2 (const A &sub, size_t j, size_t k) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_3d (const A &sub, size_t n, size_t j, size_t k, size_t c1, size_t c2, size_t s1, size_t s2) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_3d (const A &sub, size_t n, size_t j, size_t k, size_t c1, size_t c2) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_3d_2x2 (const A &sub, size_t n, size_t j, size_t k) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_4d (const A &sub, size_t m, size_t n, size_t j, size_t k, size_t c1, size_t c2, size_t s1, size_t s2) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_4d (const A &sub, size_t m, size_t n, size_t j, size_t k, size_t c1, size_t c2) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_4d_2x2 (const A &sub, size_t m, size_t n, size_t j, size_t k) |
| Pool a block of the sub expression. More... | |
| template<etl_2d A, typename M > | |
| static void | apply (const A &sub, M &&m, size_t c1, size_t c2, size_t s1, size_t s2, size_t p1, size_t p2) |
| Apply the functor on sub and store the result in m. More... | |
| template<size_t C1, size_t C2, size_t S1, size_t S2, size_t P1, size_t P2, etl_3d A, typename M > | |
| static void | apply (const A &sub, M &&m) |
| Apply the functor on sub and store the result in m. More... | |
| template<etl_3d A, typename M > | |
| static void | apply (const A &sub, M &&m, size_t c1, size_t c2, size_t s1, size_t s2, size_t p1, size_t p2) |
| Apply the functor on sub and store the result in m. More... | |
| template<size_t C1, size_t C2, size_t S1, size_t S2, size_t P1, size_t P2, etl_4d A, typename M > | |
| static void | apply (const A &sub, M &&m) |
| Apply the functor on sub and store the result in m. More... | |
| template<etl_4d A, typename M > | |
| static void | apply (const A &sub, M &&m, size_t c1, size_t c2, size_t s1, size_t s2, size_t p1, size_t p2) |
| Apply the functor on sub and store the result in m. More... | |
| template<size_t C1, size_t C2, size_t S1, size_t S2, size_t P1, size_t P2, etl_5d_and_plus A, typename M > | |
| static void | apply (const A &sub, M &&m) |
| Apply the functor on sub and store the result in m. More... | |
| template<etl_5d_and_plus A, typename M > | |
| static void | apply (const A &sub, M &&m, size_t c1, size_t c2, size_t s1, size_t s2, size_t p1, size_t p2) |
| Apply the functor on sub and store the result in m. More... | |
Functor for 2D Max Pooling.
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
| S1 | The first dimension stride |
| S2 | The second dimension stride |
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
| S1 | The first dimension stride |
| S2 | The second dimension stride |
|
inlinestatic |
Apply the functor on sub and store the result in m.
| sub | The sub expression |
| m | The storage matrix |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
| S1 | The first dimension stride |
| S2 | The second dimension stride |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
| S1 | The first dimension stride |
| S2 | The second dimension stride |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
| S1 | The first dimension stride |
| S2 | The second dimension stride |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression around the border (with padding)
| sub | The sub expression |
| j | The first index of the block |
| k | The second index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
| s1 | The first dimension stride |
| s2 | The second dimension stride |
| p1 | The first dimension padding |
| p2 | The second dimension padding |
1.8.13