espnet2.torch_utils.check_look_ahead.LookAheadCheck
Less than 1 minute
espnet2.torch_utils.check_look_ahead.LookAheadCheck
class espnet2.torch_utils.check_look_ahead.LookAheadCheck(unread: float, read: float)
Bases: NamedTuple
Largest output changes seen by check_look_ahead.
unread: largest change of an output frame whose last_input precedes the : changed input (0 when the model reads no further than last_input).
read: largest change of the first output frames that may read the changed : input (above 0 when the model does read up to last_input).
Create new instance of LookAheadCheck(unread, read)
read : float
Alias for field number 1
unread : float
Alias for field number 0
