|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Read the values a shape rule depends on from the parameters of an operation instance. More...
#include <rexlib/core/operation/shape_rule/shape_rule_accessors.hpp>
Public Types | |
| using | operation_extent_list_type = typename detail::operation_extent_list< typename Rule::pivot_list_type >::type |
| using | operation_extent_array_type = std::array< std::size_t, operation_extent_count > |
Static Public Member Functions | |
| template<typename Parameters > | |
| static span< const std::size_t > | get_named_axes (const Parameters ¶meters) noexcept |
| Read the axes the core axes lie along. | |
| template<typename Parameters > | |
| static bool | get_keep_dimensions (const Parameters ¶meters) noexcept |
| Read whether an output without core axes keeps the named ones. | |
| template<typename Parameters > | |
| static operation_extent_array_type | get_operation_extents (const Parameters ¶meters) noexcept |
| Read every extent the operation supplies, whether its instance supplies it or its declaration fixes it. | |
Static Public Attributes | |
| static REXLIB_CONST_CONSTEXPR std::size_t | operation_extent_count |
Read the values a shape rule depends on from the parameters of an operation instance.
Evaluates the accessors the rule names, so that the values can be handed to a shape_rule_interpreter, which knows nothing of parameter types.
| Rule | The operand_shape_rule. |
|
staticnoexcept |
Read whether an output without core axes keeps the named ones.
| Parameters | The parameter type of the operation. |
| parameters | The parameters of the operation instance. |
|
staticnoexcept |
Read the axes the core axes lie along.
| Parameters | The parameter type of the operation. |
| parameters | The parameters of the operation instance. |
|
staticnoexcept |
Read every extent the operation supplies, whether its instance supplies it or its declaration fixes it.
| Parameters | The parameter type of the operation. |
| parameters | The parameters of the operation instance. |
|
static |