openvino.runtime.opset8.ctc_greedy_decoder_seq_len

openvino.runtime.opset8.ctc_greedy_decoder_seq_len(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], sequence_length: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], blank_index: Optional[Union[openvino._pyopenvino.Node, int, float, numpy.ndarray]] = None, merge_repeated: bool = True, classes_index_type: str = 'i32', sequence_length_type: str = 'i32', name: Optional[str] = None) openvino._pyopenvino.Node

Return a node which performs CTCGreedyDecoderSeqLen.

Parameters
  • data – The input 3D tensor. Shape: [batch_size, seq_length, num_classes]

  • sequence_length – Input 1D tensor with sequence length. Shape: [batch_size]

  • blank_index – Scalar or 1D tensor with specifies the class index to use for the blank class. Optional parameter. Default value is num_classes-1.

Returns

The new node which performs CTCGreedyDecoderSeqLen.