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

Method freeze

sat/sgm/modules/encoders/modules.py:288–289  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286 self.freeze()
287
288 def freeze(self):
289 self.register_tokens.requires_grad = False
290
291 def forward(self, with_tokens):
292 # * with_tokens: shape [bs]

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected