Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ is_odd
Function
is_odd
sat/vae_modules/cp_enc_dec.py:34–35 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
32
33
34
def
is_odd(n):
35
return
not divisible_by(n, 2)
36
37
38
def
exists(v):
Callers
1
__init__
Method · 0.70
Calls
1
divisible_by
Function · 0.70
Tested by
no test coverage detected