Merge pull request !4719 from xychow/fix-copyright-in-coretags/v0.7.0-beta
| @@ -11,7 +11,7 @@ | |||||
| * | * | ||||
| * Unless required by applicable law or agreed to in writing, software | * Unless required by applicable law or agreed to in writing, software | ||||
| * distributed under the License is distributed on an "AS IS" BASIS, | * distributed under the License is distributed on an "AS IS" BASIS, | ||||
| * WITHOUT WARRANTIES OR CONDITIONS OF gNY KIND, either express or implied. | |||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| @@ -1,6 +1,4 @@ | |||||
| /** | /** | ||||
| * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). | |||||
| * | |||||
| * Copyright 2019-2020 Huawei Technologies Co., Ltd | * Copyright 2019-2020 Huawei Technologies Co., Ltd | ||||
| * | * | ||||
| * Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| @@ -1,6 +1,4 @@ | |||||
| /** | /** | ||||
| * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). | |||||
| * | |||||
| * Copyright 2019-2020 Huawei Technologies Co., Ltd | * Copyright 2019-2020 Huawei Technologies Co., Ltd | ||||
| * | * | ||||
| * Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| @@ -1,6 +1,4 @@ | |||||
| /** | /** | ||||
| * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). | |||||
| * | |||||
| * Copyright 2019-2020 Huawei Technologies Co., Ltd | * Copyright 2019-2020 Huawei Technologies Co., Ltd | ||||
| * | * | ||||
| * Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| @@ -1,6 +1,4 @@ | |||||
| /** | /** | ||||
| * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). | |||||
| * | |||||
| * Copyright 2019-2020 Huawei Technologies Co., Ltd | * Copyright 2019-2020 Huawei Technologies Co., Ltd | ||||
| * | * | ||||
| * Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| @@ -19,9 +19,6 @@ | |||||
| #ifndef MINDSPORE_CORE_IR_DTYPE_TYPE_ID_H_ | #ifndef MINDSPORE_CORE_IR_DTYPE_TYPE_ID_H_ | ||||
| #define MINDSPORE_CORE_IR_DTYPE_TYPE_ID_H_ | #define MINDSPORE_CORE_IR_DTYPE_TYPE_ID_H_ | ||||
| #include <unordered_map> | |||||
| #include <string> | |||||
| namespace mindspore { | namespace mindspore { | ||||
| // | // | ||||
| // Supported meta type | // Supported meta type | ||||
| @@ -1,4 +1,6 @@ | |||||
| /** | /** | ||||
| * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). | |||||
| * | |||||
| * Copyright 2020 Huawei Technologies Co., Ltd | * Copyright 2020 Huawei Technologies Co., Ltd | ||||
| * | * | ||||
| * Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| @@ -76,7 +78,6 @@ void FuncGraph::set_output(const AnfNodePtr &value, bool force_new_ret) { | |||||
| } | } | ||||
| void FuncGraph::DumpFuncGraph(const std::string &path) { | void FuncGraph::DumpFuncGraph(const std::string &path) { | ||||
| // draw::Draw(path + ".dot", shared_from_base<FuncGraph>()); | |||||
| if (drawer_) { | if (drawer_) { | ||||
| drawer_(path + ".dot", shared_from_base<FuncGraph>()); | drawer_(path + ".dot", shared_from_base<FuncGraph>()); | ||||
| } | } | ||||