19 #include "ngraph/op/op.hpp"
30 NGRAPH_RTTI_DECLARATION;
46 virtual std::shared_ptr<Node>
47 clone_with_new_inputs(
const OutputVector& new_args)
const override;
49 int64_t get_axis()
const {
return m_axis; }
50 void set_axis(
const int64_t axis) { m_axis = axis; }
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:71
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Root of all actual ops.
Definition: op.hpp:29
Definition: log_softmax.hpp:28
size_t get_version() const override
Definition: log_softmax.hpp:45
LogSoftmax(const Output< Node > &arg, const int64_t axis)
Constructs a LogSoftmax operation.
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28