7 #include "ngraph/op/op.hpp"
20 NGRAPH_RTTI_DECLARATION;
32 const bool merge_repeated =
true,
48 const bool merge_repeated =
true,
56 clone_with_new_inputs(
const OutputVector& new_args)
const override;
74 m_classes_index_type = classes_index_type;
75 validate_and_infer_types();
84 return m_sequence_length_type;
93 m_sequence_length_type = sequence_length_type;
94 validate_and_infer_types();
98 bool m_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
Definition: element_type.hpp:51
Root of all actual ops.
Definition: op.hpp:17
Operator performing CTCGreedyDecoder.
Definition: ctc_greedy_decoder_seq_len.hpp:18
void set_sequence_length_type(const element::Type &sequence_length_type)
Set sequence_length_type attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:91
const element::Type & get_sequence_length_type() const
Get sequence_length_type attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:82
void set_classes_index_type(const element::Type &classes_index_type)
Set classes_index_type attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:72
CTCGreedyDecoderSeqLen(const Output< Node > &input, const Output< Node > &seq_len, const Output< Node > &blank_index, const bool merge_repeated=true, const element::Type &classes_index_type=element::i32, const element::Type &sequence_length_type=element::i32)
Constructs a CTCGreedyDecoderSeqLen operation.
const element::Type & get_classes_index_type() const
Get classes_index_type attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:67
CTCGreedyDecoderSeqLen(const Output< Node > &input, const Output< Node > &seq_len, const bool merge_repeated=true, const element::Type &classes_index_type=element::i32, const element::Type &sequence_length_type=element::i32)
Constructs a CTCGreedyDecoderSeqLen operation.
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
bool get_merge_repeated() const
Get merge_repeated attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:62
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16