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

Method forward

model/transformer_utils.py:571–576  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

569 self.layernorm2 = LayerNorm(width)
570
571 def forward(self, x):
572 for res_log2 in range(int(np.log2(self.up_ratio))):
573 x = getattr(self, f'upsampler_{res_log2}')(x)
574 x = getattr(self, f'attention_{res_log2}')(x)
575 x = self.layernorm2(x)
576 return x
577
578
579

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected