7 #include "ngraph/op/op.hpp"
32 const bool with_right_bound =
true);
37 virtual std::shared_ptr<Node>
38 clone_with_new_inputs(
const OutputVector& inputs)
const override;
40 element::Type get_output_type()
const {
return m_output_type; }
41 void set_output_type(
element::Type output_type) { m_output_type = output_type; }
43 using Node::set_output_type;
45 bool get_with_right_bound()
const {
return m_with_right_bound; }
46 void set_with_right_bound(
bool with_right_bound)
48 m_with_right_bound = with_right_bound;
52 element::Type m_output_type;
53 bool m_with_right_bound;
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:59
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Definition: element_type.hpp:51
Root of all actual ops.
Definition: op.hpp:17
Operation that bucketizes the input based on boundaries.
Definition: bucketize.hpp:17
virtual void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
Bucketize(const Output< Node > &data, const Output< Node > &buckets, const element::Type output_type=element::i64, const bool with_right_bound=true)
Constructs a Bucketize node.
const NodeTypeInfo & get_type_info() const override
Definition: bucketize.hpp:20
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16