code review

This commit is contained in:
sunsuodong 2022-03-17 19:27:59 -07:00
parent b8a0fe51ca
commit bab6c17399
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/**
* Copyright 2020 Huawei Technologies Co., Ltd
* Copyright 2020-2022 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -35,7 +35,7 @@ struct MS_API Conv2D : public OpCell<Conv2D> {
Output operator()(const Input &, const Input &) const;
int out_channel;
int out_channel = 0;
std::vector<int> kernel_size;
int mode = 1;
std::string pad_mode = "valid";

View File

@ -1,5 +1,5 @@
/**
* Copyright 2021 Huawei Technologies Co., Ltd
* Copyright 2021-2022 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -709,5 +709,4 @@ lite::LiteSession *ModelImpl::CreateLiteSession(lite::InnerContext *context) {
}
return session;
}
} // namespace mindspore