Refine lib -> xautodl

This commit is contained in:
D-X-Y
2021-05-19 13:00:33 +08:00
parent 94a149b33f
commit 95fb5a54b1
34 changed files with 118 additions and 1154 deletions

View File

@@ -9,7 +9,7 @@ import torch
import torch.nn as nn
from enum import Enum
import spaces
from xautodl import spaces
IntSpaceType = Union[int, spaces.Integer, spaces.Categorical]
BoolSpaceType = Union[bool, spaces.Categorical]