Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Remove use of memonger
Browse files Browse the repository at this point in the history
  • Loading branch information
vandanavk committed Aug 12, 2018
1 parent 11a8f64 commit f9f8e3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/profiler/profiler_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ def get_symbol():
net = mx.symbol.SoftmaxOutput(data=fc5 , name='softmax')
return net, [('data', (128, 1, 28, 28))], [('softmax_label', (128, ))]

def get_module(ctx, sym, provide_data, provide_label, batch_size=None, is_train=True, use_memonger=False):
if use_memonger:
sym = search_plan(sym, data=data_shapes)
def get_module(ctx, sym, provide_data, provide_label, batch_size=None, is_train=True):
mod = mx.mod.Module(symbol=sym,
data_names=[name for name, _ in provide_data],
label_names=[name for name, _ in provide_label],
Expand Down

0 comments on commit f9f8e3f

Please sign in to comment.