ColossalAI/colossalai/tensor/const.py

7 lines
103 B
Python
Raw Normal View History

2022-05-06 04:57:14 +00:00
from enum import Enum
class TensorType(Enum):
MODEL = 0
NONMODEL = 1 # mainly activations