提交 eb048b45 编写于 作者: X XDUXK

remove useless annotating code

上级 30c2b7b1
...@@ -43,13 +43,6 @@ def dlg_attack(args, feature, label, network, exe, origin_grad): ...@@ -43,13 +43,6 @@ def dlg_attack(args, feature, label, network, exe, origin_grad):
main_program = fluid.Program() main_program = fluid.Program()
# use a new program # use a new program
with fluid.program_guard(main_program): with fluid.program_guard(main_program):
# print(feature.shape)
# print(feature.dtype)
# print(label.shape)
# print(label.dtype)
# test = numpy.array(feature)
# print(test)
# the dummy feature, which aims to imitate the target data # the dummy feature, which aims to imitate the target data
dummy_x = fluid.data(name="dummy_x", dummy_x = fluid.data(name="dummy_x",
shape=list(feature.shape), shape=list(feature.shape),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册