MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / check_encoder_output

Function check_encoder_output

tests/speech_recognition/asr_test_base.py:134–199  ·  view source on GitHub ↗

we expect encoder_output to be a dict with the following key/value pairs: - encoder_out: a Torch.Tensor - encoder_padding_mask: a binary Torch.Tensor

(encoder_output, batch_size=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test_forwardMethod · 0.85
test_forwardMethod · 0.85

Calls 2

_current_postion_infoFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected