7 #include "ngraph/op/op.hpp"
41 const bool preprocess_collapse_repeated =
false,
42 const bool ctc_merge_repeated =
true,
43 const bool unique =
false);
50 const bool preprocess_collapse_repeated =
false,
51 const bool ctc_merge_repeated =
true,
52 const bool unique =
false);
56 virtual std::shared_ptr<Node>
57 clone_with_new_inputs(
const OutputVector& new_args)
const override;
59 bool get_preprocess_collapse_repeated()
const
61 return preprocess_collapse_repeated_;
63 bool get_ctc_merge_repeated()
const {
return ctc_merge_repeated_; }
64 bool get_unique()
const {
return unique_; }
67 bool preprocess_collapse_repeated_;
68 bool ctc_merge_repeated_;
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
Root of all actual ops.
Definition: op.hpp:17
Definition: ctc_loss.hpp:16
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:19
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:16