ColossalAI/colossalai/legacy/tensor/const.py

7 lines
101 B
Python

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