Browse Source

[NFC] polish colossalai/auto_parallel/tensor_shard/deprecated/op_handler/reshape_handler.py code style (#2292)

pull/2317/head
shenggan 2 years ago committed by Frank Lee
parent
commit
950685873f
  1. 6
      colossalai/auto_parallel/tensor_shard/deprecated/op_handler/reshape_handler.py

6
colossalai/auto_parallel/tensor_shard/deprecated/op_handler/reshape_handler.py

@ -4,9 +4,9 @@ import warnings
from copy import deepcopy
import torch
from colossalai.auto_parallel.tensor_shard.deprecated._utils import \
ignore_sharding_exception
from colossalai.auto_parallel.tensor_shard.deprecated.sharding_strategy import (ShardingStrategy, StrategiesVector)
from colossalai.auto_parallel.tensor_shard.deprecated._utils import ignore_sharding_exception
from colossalai.auto_parallel.tensor_shard.deprecated.sharding_strategy import ShardingStrategy, StrategiesVector
from colossalai.tensor.shape_consistency import ShapeConsistencyManager
from colossalai.tensor.sharding_spec import ShardingSpec

Loading…
Cancel
Save