[tensor]add assert for colo_tensor 1Drow (#846)

This commit is contained in:
Ziyue Jiang
2022-04-24 14:12:45 +08:00
committed by GitHub
parent 05023ecfee
commit 2a0a427e04
5 changed files with 9 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
from numpy import product
import torch
from typing import Tuple
import numpy
from typing import Tuple, Optional
from .op_wrapper import _COLOSSAL_OPS
class ColoTensor(object):