openvino.runtime.opset10.ctc_greedy_decoder

openvino.runtime.opset10.ctc_greedy_decoder(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], sequence_mask: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], merge_repeated: bool = True, name: Optional[str] = None) openvino._pyopenvino.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.