espnet.nets.pytorch_backend.ctc.ctc_for
Less than 1 minute
espnet.nets.pytorch_backend.ctc.ctc_for
espnet.nets.pytorch_backend.ctc.ctc_for(args, odim, reduce=True)
Returns the CTC module for the given args and output dimension
- Parameters:args (Namespace) – the program args
:param int odim : The output dimension :param bool reduce : return the CTC loss in a scalar :return: the corresponding CTC module