Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ is_odd
Function
is_odd
sat/sgm/modules/autoencoding/magvit2_pytorch.py:80–81 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
78
79
80
def
is_odd(n):
81
return
not divisible_by(n, 2)
82
83
84
def
maybe_del_attr_(o, attr):
Callers
3
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
Calls
1
divisible_by
Function · 0.70
Tested by
no test coverage detected