Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
zjowowen
/
gomoku
like
0
Sleeping
App
Files
Files
Community
db87424
gomoku
/
DI-engine
/
ding
/
compatibility.py
zjowowen
init space
079c32c
10 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