openvino.runtime.opset2.ctc_greedy_decoder#

openvino.runtime.opset2.ctc_greedy_decoder(data: Node | int | float | ndarray, sequence_mask: Node | int | float | ndarray, merge_repeated: bool = True, name: str | None = None) Node#

Perform greedy decoding on the logits given in input (best path).

Parameters:
  • data – Logits on which greedy decoding is performed.

  • sequence_mask – The tensor with sequence masks for each sequence in the batch.

  • merge_repeated – The flag for merging repeated labels during the CTC calculation.

  • name – Optional name for output node.

Returns:

The new node performing an CTCGreedyDecoder operation on input tensor.