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

Method reconstruct

flownmt/flownmt.py:112–121  ·  view source on GitHub ↗
(self, src_sents: torch.Tensor, tgt_sents: torch.Tensor,
                    src_masks: torch.Tensor, tgt_masks: torch.Tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

sample_from_posteriorMethod · 0.95
length_lossMethod · 0.80
predict_lengthMethod · 0.80
decodeMethod · 0.45
lossMethod · 0.45

Tested by

no test coverage detected