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

Method __init__

encoders/dinov2/layers/block.py:126–127  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

124# Override forward with modulation input
125class BlockWithModulation(Block):
126 def __init__(self, *args, **kwargs) -> None:
127 super().__init__(*args, **kwargs)
128
129 def forward(self, x: Tensor, mod: Tensor) -> Tensor:
130 def attn_residual_func(x: Tensor, mod: Tensor) -> Tensor:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected