19 #include "ngraph/op/op.hpp"
32 NGRAPH_RTTI_DECLARATION;
44 const bool merge_repeated =
true,
60 const bool merge_repeated =
true,
68 clone_with_new_inputs(
const OutputVector& new_args)
const override;
86 m_classes_index_type = classes_index_type;
87 validate_and_infer_types();
96 return m_sequence_length_type;
105 m_sequence_length_type = sequence_length_type;
106 validate_and_infer_types();
110 bool m_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
Definition: element_type.hpp:61
Root of all actual ops.
Definition: op.hpp:29
Operator performing CTCGreedyDecoder.
Definition: ctc_greedy_decoder_seq_len.hpp:30
void set_sequence_length_type(const element::Type &sequence_length_type)
Set sequence_length_type attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:103
const element::Type & get_sequence_length_type() const
Get sequence_length_type attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:94
void set_classes_index_type(const element::Type &classes_index_type)
Set classes_index_type attribute.
Definition: ctc_greedy_decoder_seq_len.hpp:84
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:79
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:74
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28