Browse Source

resovle the conflict

pull/3/head
taoxiangdong 5 years ago
parent
commit
7977c2b9ec
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      parser/caffe/caffe_custom_parser_adapter.cc

+ 1
- 2
parser/caffe/caffe_custom_parser_adapter.cc View File

@@ -83,9 +83,8 @@ Status CaffeCustomParserAdapter::ParseWeights(const Message *op_src, ge::NodePtr
}

bool bias_en = false;
bool update_in_turn = (static_cast<int64_t >(op->GetAllInputsSize()) == (layer->bottom_size() + layer->blobs_size()));
int start_pos = layer->bottom_size();
bool update_in_turn = (static_cast<int64_t>(op->GetAllInputsSize()) == (layer->bottom_size() + layer->blobs_size()));
int start_pos = layer->bottom_size();
for (int i = 0; i < layer->blobs_size(); ++i) {
ge::GeTensorPtr weight = ge::parser::MakeShared<ge::GeTensor>();
GE_CHECK_NOTNULL(weight);


Loading…
Cancel
Save