Skip to content

Commit

Permalink
Fix bind_ith_exec calling simple_bind
Browse files Browse the repository at this point in the history
  • Loading branch information
reminisce committed May 30, 2017
1 parent cc7aef9 commit 1aae9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/mxnet/module/executor_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,9 +578,9 @@ def _bind_ith_exec(self, i, data_shapes, label_shapes, shared_group):
input_types.update({x.name: x.dtype for x in label_shapes})

executor = self.symbol.simple_bind(ctx=context, grad_req=self.grad_req,
type_dict=input_types, param_names=self.param_names,
type_dict=input_types, shared_arg_names=self.param_names,
shared_exec=shared_exec,
shared_data_arrays=shared_data_arrays, **input_shapes)
shared_buffer=shared_data_arrays, **input_shapes)
self._total_exec_bytes += int(executor.debug_str().split('\n')[-3].split()[1])
return executor

Expand Down

0 comments on commit 1aae9dc

Please sign in to comment.