Skip to content

Commit

Permalink
Image classifcation mkldnn
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh2290 committed Mar 19, 2019
1 parent 5016170 commit 30bfab2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/quantization/imagenet_gen_qsym_mkldnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def save_params(fname, arg_params, aux_params, logger=None):
prefix, epoch = download_model(model_name=args.model, logger=logger)
sym, arg_params, aux_params = mx.model.load_checkpoint(prefix, epoch)

sym.save("model_pre_quantize.json")
sym = sym.get_backend_symbol('MKLDNN')
sym = sym.get_backend_symbol('MKLDNN_FC')

Expand Down

0 comments on commit 30bfab2

Please sign in to comment.