|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Type erased form of an operand_shape_rule. More...
#include <rexlib/core/operation/shape_rule/shape_rule_descriptor.hpp>
Public Member Functions | |
| shape_rule_descriptor (span< const extent_pivot_descriptor > pivots, span< const core_dimensions_descriptor > output_cores, span< const core_dimensions_descriptor > input_cores, core_placement placement, output_batch batch) noexcept | |
| Construct a shape rule descriptor. | |
| span< const extent_pivot_descriptor > | get_pivots () const noexcept |
| Get the extent variables. | |
| span< const core_dimensions_descriptor > | get_output_cores () const noexcept |
| Get the core axes of every output. | |
| span< const core_dimensions_descriptor > | get_input_cores () const noexcept |
| Get the core axes of every input. | |
| core_placement | get_placement () const noexcept |
| Get where the core axes lie. | |
| output_batch | get_output_batch () const noexcept |
| Get which batch axes an output supplied in advance may have. | |
Type erased form of an operand_shape_rule.
Interpreting a rule at runtime does not need any of its types, so a rule is lowered to tables of plain descriptors and a single interpreter serves every operation.
|
noexcept |
Construct a shape rule descriptor.
Nothing is owned: every table must outlive the descriptor.
| pivots | The extent variables. |
| output_cores | The core axes of every output, in signature order. |
| input_cores | The core axes of every input, in signature order. |
| placement | Where the core axes lie. |
| batch | Which batch axes an output supplied in advance may have. |
|
noexcept |
Get the core axes of every input.
|
noexcept |
Get which batch axes an output supplied in advance may have.
|
noexcept |
Get the core axes of every output.
|
noexcept |
Get the extent variables.
|
noexcept |
Get where the core axes lie.