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

Commit

Permalink
activation_debug
Browse files Browse the repository at this point in the history
  • Loading branch information
luobao-intel committed Jul 30, 2018
1 parent 18e73c1 commit 4cd4ae8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/operator/nn/activation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ inline static bool BackwardActStorageType(const nnvm::NodeAttrs& attrs,
#if MXNET_USE_CUDNN == 1
ret = ElemwiseStorageAttr<false, false, false>(attrs, dev_mask, dispatch_mode,
in_attrs, out_attrs);
#endif
#if MXNET_USE_MKLDNN == 1
#elif MXNET_USE_MKLDNN == 1

This comment has been minimized.

Copy link
@marcoabreu

marcoabreu Jul 30, 2018

Contributor

Sorry, i was talking about this line. Seems like the reference got cut off @ZhennanQin

bool should_enter = SupportMKLDNNAct(param);
ret = MKLDNNStorageType(attrs, dev_mask, should_enter, dispatch_mode,
in_attrs, out_attrs);
Expand Down

1 comment on commit 4cd4ae8

@marcoabreu
Copy link
Contributor

@marcoabreu marcoabreu commented on 4cd4ae8 Jul 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if cudnn and mkldnn are both used?

Please sign in to comment.