This commit is contained in:
yaozengwei 2022-06-12 11:53:59 +08:00
parent 6b0a519976
commit b24453434f

View File

@ -971,7 +971,6 @@ class EmformerEncoderLayer(nn.Module):
- output memory of current chunk in the lower layer; - output memory of current chunk in the lower layer;
- attention key and value in current chunk's computation, which would - attention key and value in current chunk's computation, which would
be resued in next chunk's computation. be resued in next chunk's computation.
- length of current chunk.
""" """
utterance = right_context_utterance[R:] utterance = right_context_utterance[R:]
right_context = right_context_utterance[:R] right_context = right_context_utterance[:R]