Skip to content

Commit

Permalink
remove name from eval
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfad committed Jun 2, 2016
1 parent 0264fdb commit cebcbf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/Python/cntk/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ def wrap_numpy_arrays(node):
# CNTK soon, so that we can remove this workaround and evaluate a
# network with no inputs.
if first:
ir = input_numpy([val], alias=p, name=p)
ir = input_numpy([val])
setattr(node, p, ir)
first = False
else:
setattr(node, p, constant(getattr(node, p), name=p))
setattr(node, p, constant(getattr(node, p)))
else:
if isinstance(val, _InputComputationNodeBase) and first:
first = False

0 comments on commit cebcbf3

Please sign in to comment.