Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
zjowowen
/
gomoku
like
0
Sleeping
App
Files
Files
Community
2b48b35
gomoku
/
DI-engine
/
ding
/
compatibility.py
zjowowen
init space
079c32c
11 months ago
raw
Copy download link
history
blame
Safe
211 Bytes
import
torch
def
torch_ge_131
():
return
int
(
""
.join(
list
(
filter
(
str
.isdigit, torch.__version__)))) >=
131
def
torch_ge_180
():
return
int
(
""
.join(
list
(
filter
(
str
.isdigit, torch.__version__)))) >=
180