ColossalAI/colossalai/tensor/const.py

7 lines
103 B
Python

from enum import Enum
class TensorType(Enum):
MODEL = 0
NONMODEL = 1 # mainly activations