5#include <rexlib/core/operation/shape_rule/core_dimensions_descriptor.hpp>
6#include <rexlib/core/operation/shape_rule/core_placement.hpp>
7#include <rexlib/core/operation/shape_rule/extent_pivot_descriptor.hpp>
8#include <rexlib/core/operation/shape_rule/output_batch.hpp>
10#include <rexlib/core/span.hpp>
91#include "shape_rule_descriptor.inl"
Container for multidimensional numeric data.
Definition array.hpp:31
Type erased form of a core_dimensions.
Definition core_dimensions_descriptor.hpp:19
Type erased form of an extent_pivot.
Definition extent_pivot_descriptor.hpp:17
Type erased form of an operand_shape_rule.
Definition shape_rule_descriptor.hpp:25
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 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.
span< const core_dimensions_descriptor > get_output_cores() const noexcept
Get the core axes of every output.
output_batch get_output_batch() const noexcept
Get which batch axes an output supplied in advance may have.
span< const extent_pivot_descriptor > get_pivots() const noexcept
Get the extent variables.
Represents a non-owning area of contiguous memory.
Definition span.hpp:99
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
output_batch
Which batch axes an output supplied in advance may have.
Definition output_batch.hpp:12
core_placement
Where the core axes of the operands lie.
Definition core_placement.hpp:12