5#include <rexlib/core/operation/operand_specification.hpp>
6#include <rexlib/core/operation/operation_arity.hpp>
7#include <rexlib/core/operation/operation_descriptor.hpp>
9#include <rexlib/core/platform/dynamic_shared_object.h>
10#include <rexlib/core/span.hpp>
Container for multidimensional numeric data.
Definition array.hpp:31
Describes the operand count of an operation.
Definition operation_arity.hpp:16
Immutable static description of an operation type.
Definition operation_descriptor.hpp:30
Interface deciding the shape and data type of the operands of an operation.
Definition operation_signature.hpp:31
virtual operation_arity get_arity() const noexcept=0
Get the number of output and input operands.
virtual void deduce(const operation_descriptor &descriptor, span< operand_specification > canonical_outputs, span< const operand_specification > inputs) const =0
Compute the output operands the inputs call for.
virtual void accept(const operation_descriptor &descriptor, span< const operand_specification > user_outputs, span< const operand_specification > inputs) const =0
Decide whether output operands supplied in advance are admissible.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
@ inputs
Bound by the input axes that name the variable.