summaryrefslogtreecommitdiff
path: root/src/text_recognizer/networks/ctc.py
blob: 00ad47e4a8119a54871c6a9747ee46b9ab4694df (plain)
1
2
3
4
5
6
7
8
9
10
"""Decodes the CTC output."""
#
# from typing import Tuple
# import torch
#
#
# def greedy_decoder(
#     output, labels, label_length, blank_label, collapse_repeated=True
# ) -> Tuple[torch.Tensor, torch.Tensor]:
#     pass