1. remove simple distranspiler from transpiler/ repo

2. remvoe comment line
wangkuiyi-patch-1
minqiyang 7 years ago
parent 8248333ad2
commit a4d88fb642

@ -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"])

Loading…
Cancel
Save