!8887 add two onnx models to the entrance guard

From: @probiotics_53
Reviewed-by: @hangangqiang,@zhanghaibo5
Signed-off-by: @hangangqiang
pull/8887/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 866c388045

@ -199,7 +199,7 @@ void LiteSession::InitGraphInputMap(const lite::Model *model) {
MS_ASSERT(in_node != nullptr);
auto in_size = in_node->input_indices_.size();
for (size_t i = 0; i < in_size; ++i) {
MS_ASSERT(this->input_map_.find(in_node->name_) + std::to_string(i) == this->input_map_.end());
MS_ASSERT(this->input_map_.find(in_node->name_ + std::to_string(i)) == this->input_map_.end());
auto in_tensor_index = size_t(in_node->input_indices_[i]);
bool is_graph_input = false;
for (size_t j = 0; j < graph_in_size; ++j) {

@ -32,3 +32,5 @@ pointilism-9.onnx
rain-princess-9.onnx
udnie-9.onnx
adversarial_pruning.onnx
residual_distill_res34_cifar10_bs_1_update.onnx
residual_distill_res50_cifar10_bs_1_update.onnx

Loading…
Cancel
Save