Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jamtur01
/
MMaDA
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
MMaDA
/
venv
/
lib
/
python3.11
/
site-packages
/
transformers
/
kernels
/
yoso
/
common.h
jamtur01
Upload folder using huggingface_hub
9c6594c
verified
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
Safe
273 Bytes
#
define
min(a, b) ((a)<(b)?(a):(b))
#
define
max(a, b) ((a)>(b)?(a):(b))
#
define
ceil_divide(a, b) ((a)/(b)+((a)%(b)!=0))
#
define
select(cond, a, b) ((cond)?(a):(b))
#
define
PI 3.141592
#
define
EPSILON 1e-8
#
define
MAX_VAL 1e12
#
define
MIN_VAL -1e12
#
define
EMPTY_VALUE -1