|
|
using | rexlib::ops::nullary_elementwise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list<>, trailing_core, output_batch::broadcast_target > |
| | Operation without operands to read that writes into the outputs it is handed, whatever their shape.
|
| |
|
using | rexlib::ops::unary_elementwise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list< core_dimensions<> >, trailing_core, output_batch::broadcast_target > |
| | Operation of one operand applied to every element.
|
| |
|
using | rexlib::ops::binary_elementwise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list< core_dimensions<>, core_dimensions<> >, trailing_core, output_batch::broadcast_target > |
| | Operation of two operands applied to every pair of elements their shapes broadcast to.
|
| |
|
using | rexlib::ops::ternary_elementwise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list< core_dimensions<>, core_dimensions<>, core_dimensions<> >, trailing_core, output_batch::broadcast_target > |
| | Operation of three operands applied to every triple of elements their shapes broadcast to.
|
| |
|
using | rexlib::ops::unary_pair_elementwise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<>, core_dimensions<> >, type_list< core_dimensions<> >, trailing_core, output_batch::broadcast_target > |
| | Operation of one operand applied to every element, producing two results of each.
|
| |
|
using | rexlib::ops::binary_pair_elementwise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<>, core_dimensions<> >, type_list< core_dimensions<>, core_dimensions<> >, trailing_core, output_batch::broadcast_target > |
| | Operation of two operands applied to every pair of elements, producing two results of each.
|
| |
| using | rexlib::ops::reduction_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list< core_dimensions< axis_run<> > >, named_core< axes_of, keep_dimensions_of > > |
| | Reduction along the axes the operation names.
|
| |
| using | rexlib::ops::extremum_reduction_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list< core_dimensions< axis_run< positive_extent_domain > > >, named_core< axes_of, keep_dimensions_of > > |
| | Reduction selecting one element along the axes the operation names.
|
| |
| using | rexlib::ops::vector_dot_shape_rule = operand_shape_rule< type_list< extent_from_inputs<> >, type_list< core_dimensions<> >, type_list< core_dimensions< axis_same_as< 0 > >, core_dimensions< axis_same_as< 0 > > >, named_core< axes_of, keep_dimensions_of > > |
| | Dot product of two stacks of vectors along the axis the operation names.
|
| |
|
using | rexlib::ops::cross_product_shape_rule = operand_shape_rule< type_list< extent_fixed< 3 > >, type_list< core_dimensions< axis_same_as< 0 > > >, type_list< core_dimensions< axis_same_as< 0 > >, core_dimensions< axis_same_as< 0 > > >, named_core< axes_of > > |
| | Cross product of two stacks of three component vectors along the axis the operation names.
|
| |
|
using | rexlib::ops::fourier_transform_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions< axis_run<> > >, type_list< core_dimensions< axis_run< positive_extent_domain > > >, named_core< axes_of > > |
| | Transform along the axes the operation names, each of which must hold a sample.
|
| |
|
using | rexlib::ops::axiswise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions< axis_run<> > >, type_list< core_dimensions< axis_run<> > >, named_core< axes_of > > |
| | Operation along the axes the operation names that keeps their extents.
|
| |
| using | rexlib::ops::keyed_axiswise_shape_rule = operand_shape_rule< type_list<>, type_list< core_dimensions< axis_run<> > >, type_list< core_dimensions< axis_run<> >, core_dimensions<> >, named_core< axes_of > > |
| | Operation along the axes the operation names that keeps their extents, reading a second input without core axes.
|
| |
| using | rexlib::ops::real_fourier_transform_shape_rule = operand_shape_rule< type_list< extent_from_inputs< positive_extent_domain > >, type_list< core_dimensions< axis_run<>, axis_half_spectrum_of< 0 > > >, type_list< core_dimensions< axis_run< positive_extent_domain >, axis_same_as< 0 > > >, named_core< axes_of > > |
| | Transform of a real signal along the axes the operation names.
|
| |
| using | rexlib::ops::inverse_real_fourier_transform_shape_rule = operand_shape_rule< type_list< extent_from_operation< extent_of, positive_extent_domain > >, type_list< core_dimensions< axis_run<>, axis_same_as< 0 > > >, type_list< core_dimensions< axis_run< positive_extent_domain >, axis_half_spectrum_of< 0 > > >, named_core< axes_of > > |
| | Inverse of real_fourier_transform_shape_rule.
|
| |
|
using | rexlib::ops::matrix_multiply_shape_rule = operand_shape_rule< type_list< extent_from_inputs<>, extent_from_inputs<>, extent_from_inputs<> >, type_list< core_dimensions< axis_same_as< 0 >, axis_same_as< 2 > > >, type_list< core_dimensions< axis_same_as< 0 >, axis_same_as< 1 > >, core_dimensions< axis_same_as< 1 >, axis_same_as< 2 > > > > |
| | Product of two stacks of matrices.
|
| |
|
using | rexlib::ops::matrix_vector_shape_rule = operand_shape_rule< type_list< extent_from_inputs<>, extent_from_inputs<> >, type_list< core_dimensions< axis_same_as< 0 > > >, type_list< core_dimensions< axis_same_as< 0 >, axis_same_as< 1 > >, core_dimensions< axis_same_as< 1 > > > > |
| | Product of a stack of matrices and a stack of vectors.
|
| |
|
using | rexlib::ops::vector_matrix_shape_rule = operand_shape_rule< type_list< extent_from_inputs<>, extent_from_inputs<> >, type_list< core_dimensions< axis_same_as< 1 > > >, type_list< core_dimensions< axis_same_as< 0 > >, core_dimensions< axis_same_as< 0 >, axis_same_as< 1 > > > > |
| | Product of a stack of vectors and a stack of matrices.
|
| |
|
using | rexlib::ops::sequence_shape_rule = operand_shape_rule< type_list< extent_from_operation< count_of > >, type_list< core_dimensions< axis_same_as< 0 > > >, type_list<> > |
| | Sequence of as many values as the operation names.
|
| |
| using | rexlib::ops::elementwise_sequence_shape_rule = operand_shape_rule< type_list< extent_from_operation< count_of > >, type_list< core_dimensions< axis_same_as< 0 > > >, type_list< core_dimensions<> > > |
| | Sequence of as many values as the operation names for every element of the input.
|
| |
The shape rules the operation catalog is built from. An operation names one of these in its declaration, and that rule is the shape half of its signature. A rule says nothing about data types, so the same rule serves operations typed in different ways.
The rules are written without template arguments, so that a declaration macro can take one as a single argument.