Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
Merge pull request BVLC#2963 from longjon.
  • Loading branch information
ctrevino committed Aug 25, 2015
2 parents de59d50 + f1cc905 commit 331f497
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/caffe/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -929,12 +929,6 @@ void Net<Dtype>::ToProto(NetParameter* param, bool write_diff) const {
DLOG(INFO) << "Serializing " << layers_.size() << " layers";
for (int i = 0; i < layers_.size(); ++i) {
LayerParameter* layer_param = param->add_layer();
for (int j = 0; j < bottom_id_vecs_[i].size(); ++j) {
layer_param->add_bottom(blob_names_[bottom_id_vecs_[i][j]]);
}
for (int j = 0; j < top_id_vecs_[i].size(); ++j) {
layer_param->add_top(blob_names_[top_id_vecs_[i][j]]);
}
layers_[i]->ToProto(layer_param, write_diff);
}
}
Expand Down

0 comments on commit 331f497

Please sign in to comment.