19 #include "ngraph/op/op.hpp"
53 const bool preprocess_collapse_repeated =
false,
54 const bool ctc_merge_repeated =
true,
55 const bool unique =
false);
62 const bool preprocess_collapse_repeated =
false,
63 const bool ctc_merge_repeated =
true,
64 const bool unique =
false);
68 virtual std::shared_ptr<Node>
69 clone_with_new_inputs(
const OutputVector& new_args)
const override;
71 bool get_preprocess_collapse_repeated()
const
73 return preprocess_collapse_repeated_;
75 bool get_ctc_merge_repeated()
const {
return ctc_merge_repeated_; }
76 bool get_unique()
const {
return unique_; }
78 bool preprocess_collapse_repeated_;
79 bool ctc_merge_repeated_;
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: ctc_loss.hpp:28
CTCLoss(const Output< Node > &logits, const Output< Node > &logit_length, const Output< Node > &labels, const Output< Node > &label_length, const bool preprocess_collapse_repeated=false, const bool ctc_merge_repeated=true, const bool unique=false)
Constructs a CTCLoss operation.
const NodeTypeInfo & get_type_info() const override
Definition: ctc_loss.hpp:31
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