MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / forward

Method forward

model/model_utils.py:107–110  ·  view source on GitHub ↗
(self, latent, condition=None)

Source from the content-addressed store, hash-verified

105 self.transformer_decoder.set_grad_checkpointing(opt.checkpointing)
106
107 def forward(self, latent, condition=None):
108 features = self.transformer_decoder(latent, condition) # [B, V, N, D]
109
110 return features
111
112inverse_sigmoid = lambda x: np.log(x / (1 - x))
113artanh = lambda x: 0.5 * np.log((1 + x) / (1 - x))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected