We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0016c9 commit 00e43deCopy full SHA for 00e43de
python/paddle/v2/fluid/framework.py
@@ -434,8 +434,9 @@ def find_name(var_list, name):
434
% (in_proto.name, len(in_args)))
435
in_arg_names = []
436
for arg in in_args:
437
- assert (isinstance(arg, Variable),
438
- "Input of an operator must be variables.")
+ assert isinstance(
+ arg,
439
+ Variable), "Input of an operator must be variables."
440
in_arg_names.append(arg.name)
441
self.desc.set_input(in_proto.name, in_arg_names)
442
else:
0 commit comments