提交 a4d88fb6 编写于 作者: M minqiyang

1. remove simple distranspiler from transpiler/ repo

2. remvoe comment line
上级 8248333a
......@@ -44,8 +44,8 @@ import transpiler
from param_attr import ParamAttr, WeightNormParamAttr
from data_feeder import DataFeeder
from core import LoDTensor, CPUPlace, CUDAPlace, CUDAPinnedPlace
from transpiler import DistributeTranspiler, SimpleDistributeTranspiler, \
InferenceTranspiler, memory_optimize, release_memory
from transpiler import DistributeTranspiler, InferenceTranspiler, \
memory_optimize, release_memory
from concurrency import (Go, make_channel, channel_send, channel_recv,
channel_close, Select)
from lod_tensor import create_lod_tensor, create_random_int_lodtensor
......
......@@ -62,7 +62,6 @@ class TestSimpleDistTranspiler(unittest.TestCase):
self.assertEqual([op.type for op in pserver.blocks[1].ops],
["sum", "scale", "sgd"])
print("xxx", [op.output_arg_names for op in startup.global_block().ops])
# confirm startup program
self.assertEqual([op.type for op in startup.global_block().ops],
["fill_constant", "uniform_random", "uniform_random"])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册