|
Expression Templates Library (ETL)
|
Functor for 3D Max Pooling. More...
#include <max_pooling.hpp>
Static Public Member Functions | |
| template<typename A > | |
| static auto | pool_block_border (const A &sub, size_t i, size_t j, size_t k, 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) |
| 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, typename A > | |
| static auto | pool_block_3d (const A &sub, size_t i, 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, typename A > | |
| static auto | pool_block_4d (const A &sub, size_t n, size_t i, 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_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<typename A > | |
| static auto | pool_block_3d (const A &sub, size_t i, size_t j, size_t k, 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) |
| Pool a block of the sub expression. More... | |
| template<typename A > | |
| static auto | pool_block_4d (const A &sub, size_t n, size_t i, size_t j, size_t k, size_t c1, size_t c2, size_t c3, size_t s1, size_t s2, size_t s3) |
| Pool a block of the sub expression. More... | |
| template<etl_3d A, typename M > | |
| static void | apply (const A &sub, 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... | |
| 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_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 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... | |
| 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_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 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 3D 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 |
| C3 | The third 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 |
| c3 | The third 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 |
| C3 | The third 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 |
| c3 | The third 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 |
| C3 | The third 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 |
| c3 | The third dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| i | The first index of the block |
| j | The second index of the block |
| k | The third index of the block |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
| C3 | The third dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| i | The first index of the block |
| j | The second index of the block |
| k | The third index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
| c3 | The third dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
This is an optimized version for 4D handling, but does not support padding.
| sub | The sub expression |
| i | The first index of the block |
| j | The second index of the block |
| k | The third index of the block |
| C1 | The first dimension pooling ratio |
| C2 | The second dimension pooling ratio |
| C3 | The third dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
This is an optimized version for 4D handling, but does not support padding.
| sub | The sub expression |
| i | The first index of the block |
| j | The second index of the block |
| k | The third index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
| c3 | The third dimension pooling ratio |
|
inlinestatic |
Pool a block of the sub expression.
| sub | The sub expression |
| i | The first index of the block |
| j | The second index of the block |
| k | The third index of the block |
| c1 | The first dimension pooling ratio |
| c2 | The second dimension pooling ratio |
| c3 | The third dimension pooling ratio |
| s1 | The first dimension stride |
| s2 | The second dimension stride |
| s3 | The third dimension stride |
| p1 | The first dimension padding |
| p2 | The second dimension padding |
| p3 | The third dimension padding |
1.8.13