MCPcopy Create free account
hub / github.com/XuezheMax/flowseq / decode

Method decode

flownmt/modules/decoders/simple.py:36–61  ·  view source on GitHub ↗

Args: z: Tensor latent code [batch, length, hidden_size] mask: Tensor mask [batch, length] src: Tensor src encoding [batch, src_length, hidden_size] src_mask: Tensor source mask

(self, z: torch.Tensor, mask: torch.Tensor, src: torch.Tensor, src_mask: torch.Tensor)

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