[Tensor] Add function to spec and update linear 1Drow and unit tests (#869)

This commit is contained in:
Ziyue Jiang
2022-04-26 10:15:26 +08:00
committed by GitHub
parent 11f54c7b6b
commit 26d4ab8b03
6 changed files with 85 additions and 58 deletions

View File

@@ -1,7 +1,9 @@
from .spec import ComputePattern, ParallelAction, TensorSpec
from .op_wrapper import (
colo_op_impl,)
from .colo_tensor import ColoTensor
from .utils import convert_parameter
from ._ops import *
__all__ = ['ColoTensor', 'convert_parameter', 'colo_op_impl']
__all__ = ['ColoTensor', 'convert_parameter', 'colo_op_impl', 'ComputePattern',
'TensorSpec', 'ParallelAction']