MCPcopy Create free account
hub / github.com/AtmaHou/Seq2SeqDataAugmentationForLU / forward

Method forward

OpenNMT/onmt/Models.py:22–33  ·  view source on GitHub ↗

Args: input (LongTensor): len x batch x nfeat. lengths (LongTensor): batch hidden: Initial hidden state. Returns: hidden_t (Variable): Pair of layers x batch x rnn_size - final encoder state

(self, input, lengths=None, hidden=None)

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