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

Method __init__

sat/sgm/modules/diffusionmodules/model.py:140–141  ·  view source on GitHub ↗
(self, in_channels)

Source from the content-addressed store, hash-verified

138 """to match AttnBlock usage"""
139
140 def __init__(self, in_channels):
141 super().__init__(dim=in_channels, heads=1, dim_head=in_channels)
142
143
144class AttnBlock(nn.Module):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected