MCPcopy Create free account
hub / github.com/ACL2020SpellGCN/SpellGCN / get_embedding_output

Method get_embedding_output

modeling.py:248–257  ·  view source on GitHub ↗

Gets output of the embedding lookup (i.e., input to the transformer). Returns: float Tensor of shape [batch_size, seq_length, hidden_size] corresponding to the output of the embedding layer, after summing the word embeddings with the positional embeddings and the token type em

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected