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

Function divisible_by

sat/sgm/modules/autoencoding/magvit2_pytorch.py:64–65  ·  view source on GitHub ↗
(num, den)

Source from the content-addressed store, hash-verified

62
63
64def divisible_by(num, den):
65 return (num % den) == 0
66
67
68def pack_one(t, pattern):

Callers 3

is_oddFunction · 0.70
forwardMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected