MCPcopy Create free account
hub / github.com/clab/dynet / Encoder

Method Encoder

examples/sentence-embedding/train_embed-cl.cc:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 vector<Expression> m;
30
31 Encoder() {}
32
33 explicit Encoder(ParameterCollection& model) {
34 p_s = model.add_lookup_parameters(INPUT_VOCAB_SIZE, {REP_DIM});

Callers

nothing calls this directly

Calls 1

add_lookup_parametersMethod · 0.45

Tested by

no test coverage detected