5#include <rexlib/core/operation/operation_declaration_macros.hpp>
6#include <rexlib/ops/ops_component.hpp>
7#include <rexlib/ops/rules/shape_rules.hpp>
8#include <rexlib/ops/rules/type_rules.hpp>
18REXLIB_DECLARE_OPERATION(
21 REXLIB_OPERANDS(
"result"),
22 REXLIB_OPERANDS(
"value"),
24 unary_homogeneous_rule<inexact_type_domain>
operand_shape_rule< type_list<>, type_list< core_dimensions<> >, type_list< core_dimensions<> >, trailing_core, output_batch::broadcast_target > unary_elementwise_shape_rule
Operation of one operand applied to every element.
Definition shape_rules.hpp:62
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
array cosh(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise hyperbolic cosine of an array.