5#include <rexlib/core/operation/operation_declaration_macros.hpp>
6#include <rexlib/ops/ops_component.hpp>
7#include <rexlib/ops/parameters/reduction_axes.hpp>
8#include <rexlib/ops/rules/shape_rules.hpp>
9#include <rexlib/ops/rules/type_rules.hpp>
22REXLIB_DECLARE_PARAMETRIC_OPERATION(
25 REXLIB_OPERANDS(
"result"),
26 REXLIB_OPERANDS(
"value"),
29 unary_predicate_rule<>
operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list< core_dimensions< axis_run<> > >, named_core< axes_of, keep_dimensions_of > > reduction_shape_rule
Reduction along the axes the operation names.
Definition shape_rules.hpp:123
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
REXLIB_CONSTEXPR slice all() noexcept
Construct an slice containing all positions in the axis.