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

Method forward

flownmt/flows/actnorm.py:24–45  ·  view source on GitHub ↗

Args: input: Tensor input tensor [batch, N1, N2, ..., Nl, in_features] mask: Tensor mask tensor [batch, N1, N2, ...,Nl] Returns: out: Tensor , logdet: Tensor out: [batch, N1, N2, ..., in_features], the output of t

(self, input: torch.Tensor, mask: torch.Tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected