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

Function pair

sat/sgm/modules/autoencoding/losses/video_loss.py:29–30  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

27
28
29def pair(t):
30 return t if isinstance(t, tuple) else (t, t)
31
32
33def leaky_relu(p=0.1):

Callers 3

__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected