A derivative of the 2D max pooling (combine derivative and upsampling for performance)
More...
|
|
using | value_type = value_t< A > |
| | The type of value of the expression.
|
| |
|
using | sub_traits = etl::decay_traits< A > |
| | The traits of the first sub type.
|
| |
|
using | this_type = dyn_pool_upsample_2d_expr< A, B, C, Max > |
| | The type of this expression.
|
| |
|
using | base_type = base_temporary_expr_tern< this_type, A, B, C > |
| | The base type.
|
| |
|
using | this_type = base_temporary_expr_tern< dyn_pool_upsample_2d_expr< A, B, C, Max >, A, B, C > |
| | This type.
|
| |
|
using | base_type = base_temporary_expr< dyn_pool_upsample_2d_expr< A, B, C, Max >, true > |
| | The base type.
|
| |
|
using | derived_t = dyn_pool_upsample_2d_expr< A, B, C, Max > |
| | The derived type.
|
| |
|
using | value_type = typename decay_traits< dyn_pool_upsample_2d_expr< A, B, C, Max > >::value_type |
| | The value type.
|
| |
|
using | result_type = temporary_detail::expr_result_t< Fast, dyn_pool_upsample_2d_expr< A, B, C, Max > > |
| | The result type.
|
| |
|
using | memory_type = value_type * |
| | The memory type.
|
| |
|
using | const_memory_type = const value_type * |
| | The const memory type.
|
| |
|
using | vec_type = typename VV::template vec_type< value_type > |
| | The vectorization type for VV.
|
| |
|
using | derived_t = D |
| | The derived type.
|
| |
|
using | derived_t = D |
| | The derived type.
|
| |
|
using | derived_t = D |
| | The derived type.
|
| |
|
| | dyn_pool_upsample_2d_expr (A a, B b, C c, size_t c1, size_t c2, size_t s1, size_t s2, size_t p1, size_t p2) |
| | Construct a new expression. More...
|
| |
| template<same_dimensions< A > R> |
| void | check ([[maybe_unused]] const A &a, [[maybe_unused]] const B &b, [[maybe_unused]] const C &c, [[maybe_unused]] const R &result) const |
| | Validate the transposition dimensions. More...
|
| |
| template<etl_expr R> |
| void | assign_to (R &&result) const |
| | Assign to a matrix of the same storage order. More...
|
| |
| template<typename L > |
| void | assign_add_to (L &&lhs) const |
| | Add to the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_sub_to (L &&lhs) const |
| | Sub from the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_mul_to (L &&lhs) const |
| | Multiply the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_div_to (L &&lhs) const |
| | Divide the given left-hand-side expression. More...
|
| |
| template<typename L > |
| void | assign_mod_to (L &&lhs) const |
| | Modulo the given left-hand-side expression. More...
|
| |
| | base_temporary_expr_tern (A a, B b, C c) |
| | Construct a new expression. More...
|
| |
| | base_temporary_expr_tern (const base_temporary_expr_tern &e) |
| | Construct a new expression by copy. More...
|
| |
| | base_temporary_expr_tern (base_temporary_expr_tern &&e) noexcept |
| | Construct a new expression by move. More...
|
| |
| bool | alias (const E &rhs) const |
| | Test if this expression aliases with the given expression. More...
|
| |
| void | visit (detail::evaluator_visitor &visitor) const |
| | Apply the given visitor to this expression and its descendants. More...
|
| |
|
| base_temporary_expr () |
| | Construct a new base_temporary_expr.
|
| |
|
| base_temporary_expr (const base_temporary_expr &expr)=default |
| | Copy construct a new base_temporary_expr.
|
| |
| | base_temporary_expr (base_temporary_expr &&rhs) |
| | Move construct a base_temporary_expr The right hand side cannot be used anymore after ths move. More...
|
| |
|
base_temporary_expr & | operator= (const base_temporary_expr &)=delete |
| |
|
base_temporary_expr & | operator= (base_temporary_expr &&)=delete |
| |
| value_type | operator[] (size_t i) const |
| | Returns the element at the given index. More...
|
| |
| value_type | read_flat (size_t i) const |
| | Returns the value at the given index This function never alters the state of the container. More...
|
| |
| derived_t & | as_derived () noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| const derived_t & | as_derived () const noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| bool | is_finite () const noexcept |
| | Indicates if the expression contains only finite values. More...
|
| |
| bool | is_zero () const noexcept |
| | Indicates if the expression contains only zero values. More...
|
| |
| bool | is_diagonal () const noexcept |
| | Indicates if the expression is diagonal. More...
|
| |
| bool | is_uniform () const noexcept |
| | Indicates if the expression is uniform, i.e. all elements are of the same value. More...
|
| |
| derived_t & | as_derived () noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| const derived_t & | as_derived () const noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| bool | is_square () const noexcept |
| | Indicates if the expressions is of square dimensions (only for 2d expression) More...
|
| |
| bool | is_rectangular () const noexcept |
| | Indicates if the expressions is of rectangular dimensions (only for 2d expression) More...
|
| |
| bool | is_sub_square () const noexcept |
| | Indicates if the expressions is of square dimensions, ignoring the first dimension (only for 3d expression) More...
|
| |
| bool | is_sub_rectangular () const noexcept |
| | Indicates if the expressions is of rectangular dimensions, ignoring the first dimension (only for 3d expression) More...
|
| |
| bool | is_symmetric () const noexcept |
| | Indicates if the given expression is a symmetric matrix or not. More...
|
| |
| bool | is_lower_triangular () const noexcept |
| | Indicates if the given expression is a lower triangular matrix or not. More...
|
| |
| bool | is_uni_lower_triangular () const noexcept |
| | Indicates if the given expression is a uni lower triangular matrix or not. More...
|
| |
| bool | is_strictly_lower_triangular () const noexcept |
| | Indicates if the given expression is a strictly lower triangular matrix or not. More...
|
| |
| bool | is_upper_triangular () const noexcept |
| | Indicates if the given expression is a upper triangular matrix or not. More...
|
| |
| bool | is_uni_upper_triangular () const noexcept |
| | Indicates if the given expression is a uni upper triangular matrix or not. More...
|
| |
| bool | is_strictly_upper_triangular () const noexcept |
| | Indicates if the given expression is a strictly upper triangular matrix or not. More...
|
| |
| bool | is_triangular () const noexcept |
| | Indicates if the given expression is a triangular matrix or not. More...
|
| |
| derived_t & | as_derived () noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| const derived_t & | as_derived () const noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| auto | begin () noexcept |
| | Return an iterator to the first element of the matrix. More...
|
| |
| auto | end () noexcept |
| | Return an iterator to the past-the-end element of the matrix. More...
|
| |
| auto | cbegin () const noexcept |
| | Return an iterator to the first element of the matrix. More...
|
| |
| auto | cend () const noexcept |
| | Return an iterator to the past-the-end element of the matrix. More...
|
| |
| auto | begin () const noexcept |
| | Return an iterator to the first element of the matrix. More...
|
| |
| auto | end () const noexcept |
| | Return an iterator to the past-the-end element of the matrix. More...
|
| |
|
|
A | _a |
| | The first sub expression reference.
|
| |
|
B | _b |
| | The second sub expression reference.
|
| |
|
C | _c |
| | The third sub expression reference.
|
| |
| std::add_lvalue_reference_t< A > | a () |
| | Returns the sub expression. More...
|
| |
| cpp::add_const_lvalue_t< A > | a () const |
| | Returns the sub expression. More...
|
| |
| std::add_lvalue_reference_t< B > | b () |
| | Returns the sub expression. More...
|
| |
| cpp::add_const_lvalue_t< B > | b () const |
| | Returns the sub expression. More...
|
| |
| std::add_lvalue_reference_t< C > | c () |
| | Returns the sub expression. More...
|
| |
| cpp::add_const_lvalue_t< C > | c () const |
| | Returns the sub expression. More...
|
| |
| derived_t & | as_derived () noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| const derived_t & | as_derived () const noexcept |
| | Returns a reference to the derived object, i.e. the object using the CRTP injector. More...
|
| |
| bool | is_allocated () const noexcept |
| | Indicates if the temporary has been allocated. More...
|
| |
| bool | is_evaluated () const noexcept |
| | Indicates if the temporary has been evaluated. More...
|
| |
| void | evaluate () const |
| | Evaluate the expression, if not evaluated. More...
|
| |
|
void | allocate_temporary () const |
| | Allocate the necessary temporaries, if necessary.
|
| |
|
result_type * | dyn_allocate (std::index_sequence< I... >) const |
| | Allocate the dynamic temporary.
|
| |
|
result_type * | allocate () const |
| | Allocate the temporary.
|
| |
|
std::shared_ptr< bool > | evaluated |
| | Indicates if the expression has been evaluated.
|
| |
|
std::shared_ptr< result_type > | _c |
| | The result reference.
|
| |
template<etl_expr A, same_dimensions< A > B, same_dimensions< A > C, bool Max>
struct etl::dyn_pool_upsample_2d_expr< A, B, C, Max >
A derivative of the 2D max pooling (combine derivative and upsampling for performance)
- Template Parameters
-
| A | The input type |
| B | The output type |
| C | The errors type |