MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __init__

Method __init__

sat/sgm/modules/autoencoding/magvit2_pytorch.py:480–483  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

478
479class Blur(Module):
480 def __init__(self):
481 super().__init__()
482 f = torch.Tensor([1, 2, 1])
483 self.register_buffer("f", f)
484
485 def forward(self, x, space_only=False, time_only=False):
486 assert not (space_only and time_only)

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected