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

Function split

flownmt/utils.py:125–137  ·  view source on GitHub ↗

Args: x: Tensor input tensor [batch, length, features] z1_features: int the number of features of z1 Returns: Tensor, Tensor split tensors [batch, length, z1_features], [batch, length, features-z1_features]

(x: torch.Tensor, z1_features)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

forwardMethod · 0.90
backwardMethod · 0.90
initMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected