Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

fix #202 #203

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/caffe/layers/mkldnn_inner_product_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,10 @@ void MKLDNNInnerProductLayer<Dtype>::InitInnerProductBwd(const vector<Blob<Dtype
if (this->bias_term_)
ipBwdWeights_desc.reset(new inner_product_backward_weights::desc(init_bottom_md, init_weights_md
, init_bias_md, init_top_md));
else
else{
ipBwdWeights_desc.reset(new inner_product_backward_weights::desc(init_bottom_md, init_weights_md
, init_top_md));

}
ipBwdData_desc.reset(new inner_product_backward_data::desc(init_bottom_md, init_weights_md, init_top_md));

// ---- Determining engine to use -----------------------
Expand Down