Skip to content

Commit

Permalink
Rename input_map to arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
wilrich-msft committed Sep 30, 2016
1 parent cd379bd commit 3624f43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bindings/python/cntk/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _add_tensor_ops(klass):

class EvalMixin(object):

def eval(self, input_map=None):
def eval(self, arguments=None):
from .utils import eval as utils_eval
from . import DeviceDescriptor
device = DeviceDescriptor.cpu_device()
Expand All @@ -166,10 +166,10 @@ def eval(self, input_map=None):
raise ValueError(
'only operators with exactly one output can be evaluated')

if input_map is None:
input_map = {}
if arguments is None:
arguments = {}

result, _ = utils_eval(self, None, device, input_map, False)
result, _ = utils_eval(self, None, device, arguments, False)
return result.popitem()[1]


Expand Down

0 comments on commit 3624f43

Please sign in to comment.