7 #include "ngraph/op/util/arithmetic_reductions_keep_dims.hpp"
22 NGRAPH_RTTI_DECLARATION;
32 bool keep_dims =
false);
38 virtual std::shared_ptr<Node>
39 clone_with_new_inputs(
const OutputVector& new_args)
const override;
42 const HostTensorVector& inputs)
const override;
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Definition: arithmetic_reductions_keep_dims.hpp:17
Reduction operation using L1 norm: L1(x) = sum(abs(x)) if all dimensions are specified for the normal...
Definition: reduce_l1.hpp:20
ReduceL1()=default
Constructs a reducet L1-norm operation.
virtual std::shared_ptr< Node > get_default_value() const override
bool evaluate(const HostTensorVector &outputs, const HostTensorVector &inputs) const override
Evaluates the op on input_values putting results in output_values.
size_t get_version() const override
Definition: reduce_l1.hpp:34
bool has_evaluate() const override
Allows to get information about availability of evaluate method for the current operation.
ReduceL1(const Output< Node > &arg, const Output< Node > &reduction_axes, bool keep_dims=false)
Constructs a reduce L1-norm operation.
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16