caffe
caffe copied to clipboard
what is the role of blob->set_prv_data_descriptor(NULL);
Hello all,
I have a question in the source code of mkldnn.
Why does set_prv_data_descriptor call twice with different parameters in mkldnn_memory.cpp?
blob->set_prv_data_descriptor(this->get_shared_ptr(), false);
.
blob->set_prv_data_descriptor(NULL);
please see 251-254 line
If set_prv_data_descriptor (NULL) is commented out, the processing speed of bwdd_top_diff-> sync_before_read () is improved in backward convolution.
But, I wonder if this will give a reasonable result.
Thank you Daejin Jung
Will be available in upcoming release.