MCPcopy Create free account
hub / github.com/espnet/espnet / init_decoder_model

Function init_decoder_model

test/espnet2/layers/test_create_adapter.py:33–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def init_decoder_model():
34 return TransformerDecoder(
35 vocab_size=10,
36 encoder_output_size=40,
37 attention_heads=4,
38 linear_units=40,
39 num_blocks=2,
40 input_layer="embed",
41 )
42
43
44@pytest.mark.skipif(

Callers 1

Calls 1

TransformerDecoderClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…