We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28f5ae commit 118c97fCopy full SHA for 118c97f
python/caffe/_caffe.cpp
@@ -271,6 +271,7 @@ BOOST_PYTHON_MODULE(_caffe) {
271
.def("_forward", &Net<Dtype>::ForwardFromTo)
272
.def("_backward", &Net<Dtype>::BackwardFromTo)
273
.def("reshape", &Net<Dtype>::Reshape)
274
+ .def("clear_param_diffs", &Net<Dtype>::ClearParamDiffs)
275
// The cast is to select a particular overload.
276
.def("copy_from", static_cast<void (Net<Dtype>::*)(const string)>(
277
&Net<Dtype>::CopyTrainedLayersFrom))
0 commit comments