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

Method _make_resblock

sat/sgm/modules/autoencoding/temporal_ae.py:322–331  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320 return Conv2DWrapper
321
322 def _make_resblock(self) -> Callable:
323 if self.time_mode not in ["attn-only", "only-last-conv"]:
324 return partialclass(
325 VideoResBlock,
326 video_kernel_size=self.video_kernel_size,
327 alpha=self.alpha,
328 merge_strategy=self.merge_strategy,
329 )
330 else:
331 return super()._make_resblock()

Callers

nothing calls this directly

Calls 1

partialclassFunction · 0.90

Tested by

no test coverage detected