Browse Source

!4719 fix some copyright in core directory

Merge pull request !4719 from xychow/fix-copyright-in-core
tags/v0.7.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
655390ba54
8 changed files with 3 additions and 13 deletions
  1. +1
    -1
      mindspore/ccsrc/vm/segment_runner.cc
  2. +0
    -0
      mindspore/core/base/core_ops.h
  3. +0
    -2
      mindspore/core/c_ops/conv2d.cc
  4. +0
    -2
      mindspore/core/c_ops/conv2d.h
  5. +0
    -2
      mindspore/core/c_ops/primitive_c.cc
  6. +0
    -2
      mindspore/core/c_ops/primitive_c.h
  7. +0
    -3
      mindspore/core/ir/dtype/type_id.h
  8. +2
    -1
      mindspore/core/ir/func_graph_extends.cc

+ 1
- 1
mindspore/ccsrc/vm/segment_runner.cc View File

@@ -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.
*/ */


+ 0
- 0
mindspore/core/base/core_ops.h View File


+ 0
- 2
mindspore/core/c_ops/conv2d.cc View File

@@ -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");


+ 0
- 2
mindspore/core/c_ops/conv2d.h View File

@@ -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");


+ 0
- 2
mindspore/core/c_ops/primitive_c.cc View File

@@ -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");


+ 0
- 2
mindspore/core/c_ops/primitive_c.h View File

@@ -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");


+ 0
- 3
mindspore/core/ir/dtype/type_id.h View File

@@ -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


+ 2
- 1
mindspore/core/ir/func_graph_extends.cc View File

@@ -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>());
} }


Loading…
Cancel
Save