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

Method forward

flownmt/flownmt.py:376–381  ·  view source on GitHub ↗
(self, src_sents: torch.Tensor, tgt_sents: torch, src_masks: torch.Tensor, tgt_masks: torch.Tensor,
                nsamples: int = 1, only_recon_loss=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

reconstruct_lossMethod · 0.95
translate_lossMethod · 0.95

Tested by

no test coverage detected