From c5e433b5684d8031f6764a7595906922c65d2ee7 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Mon, 31 Aug 2020 14:12:29 +0800 Subject: [PATCH] refactor(mge): cpp license GitOrigin-RevId: 2f67f84724f628c0477d468c3f741b0876a939ee --- imperative/python/src/common.cpp | 11 +++++++++++ imperative/python/src/common.h | 11 +++++++++++ imperative/python/src/graph_rt.cpp | 11 +++++++++++ imperative/python/src/graph_rt.h | 11 +++++++++++ imperative/python/src/helper.cpp | 11 +++++++++++ imperative/python/src/helper.h | 11 +++++++++++ imperative/python/src/imperative_rt.cpp | 11 +++++++++++ imperative/python/src/imperative_rt.h | 11 +++++++++++ imperative/python/src/module.cpp | 11 +++++++++++ imperative/python/src/numpy_dtypes.h | 11 ++++++----- imperative/python/src/numpy_dtypes_bfloat16.cpp | 11 ++++++----- imperative/python/src/numpy_dtypes_intbx.cpp | 11 ++++++----- imperative/python/src/ops.cpp | 11 +++++++++++ imperative/python/src/ops.h | 11 +++++++++++ imperative/python/src/utils.cpp | 11 +++++++++++ imperative/python/src/utils.h | 11 +++++++++++ imperative/src/impl/blob_manager_impl.cpp | 10 ++++++---- imperative/src/impl/blob_manager_impl.h | 10 ++++++---- imperative/src/impl/dnn_op_helper.h | 10 ++++++---- imperative/src/impl/interpreter_impl.cpp | 11 +++++++++++ imperative/src/impl/interpreter_impl.h | 11 +++++++++++ imperative/src/impl/op_def.cpp | 10 ++++++---- imperative/src/impl/op_trait.cpp | 10 ++++++---- imperative/src/impl/op_trait.h | 10 ++++++---- imperative/src/impl/opr_utility.cpp | 10 ++++++---- imperative/src/impl/ops/backward_graph.cpp | 10 ++++++---- imperative/src/impl/ops/collective_comm.cpp | 11 +++++++---- imperative/src/impl/ops/cond_take.cpp | 10 ++++++---- imperative/src/impl/ops/io_remote.cpp | 11 +++++++---- imperative/src/impl/ops/nms.cpp | 11 +++++++---- imperative/src/impl/ops/opr_attr.cpp | 10 ++++++---- imperative/src/impl/ops/tensor_manip.cpp | 10 ++++++---- imperative/src/impl/physical_tensor.cpp | 10 ++++++---- imperative/src/impl/profiler.cpp | 10 ++++++---- imperative/src/impl/proxy_graph.cpp | 10 ++++++---- imperative/src/impl/proxy_graph.h | 10 ++++++---- imperative/src/impl/proxy_graph_detail.cpp | 10 ++++++---- imperative/src/impl/proxy_graph_detail.h | 10 ++++++---- imperative/src/include/megbrain/imperative.h | 10 ++++++---- .../src/include/megbrain/imperative/blob_manager.h | 10 ++++++---- .../src/include/megbrain/imperative/interpreter.h | 11 +++++++++++ imperative/src/include/megbrain/imperative/op_def.h | 10 ++++++---- .../src/include/megbrain/imperative/opr_utility.h | 10 ++++++---- .../include/megbrain/imperative/ops/backward_graph.h | 10 ++++++---- .../include/megbrain/imperative/ops/collective_comm.h | 10 ++++++---- .../src/include/megbrain/imperative/ops/cond_take.h | 10 ++++++---- .../src/include/megbrain/imperative/ops/io_remote.h | 10 ++++++---- imperative/src/include/megbrain/imperative/ops/nms.h | 10 ++++++---- .../src/include/megbrain/imperative/ops/opr_attr.h | 10 ++++++---- .../include/megbrain/imperative/ops/tensor_manip.h | 10 ++++++---- .../src/include/megbrain/imperative/physical_tensor.h | 10 ++++++---- imperative/src/include/megbrain/imperative/profiler.h | 10 ++++++---- imperative/src/test/backward_graph.cpp | 8 +++++--- imperative/src/test/collective_comm.cpp | 10 ++++++---- imperative/src/test/cond_take.cpp | 10 ++++++---- imperative/src/test/helper.cpp | 8 +++++--- imperative/src/test/helper.h | 8 +++++--- imperative/src/test/imperative.cpp | 8 +++++--- imperative/src/test/io_remote.cpp | 10 ++++++---- imperative/src/test/opr_utility.cpp | 8 +++++--- 60 files changed, 438 insertions(+), 174 deletions(-) diff --git a/imperative/python/src/common.cpp b/imperative/python/src/common.cpp index d4ef442e5..54a8549e3 100644 --- a/imperative/python/src/common.cpp +++ b/imperative/python/src/common.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/common.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include "./common.h" #include diff --git a/imperative/python/src/common.h b/imperative/python/src/common.h index 582019b81..5837de34e 100644 --- a/imperative/python/src/common.h +++ b/imperative/python/src/common.h @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/common.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #pragma once #include "./helper.h" diff --git a/imperative/python/src/graph_rt.cpp b/imperative/python/src/graph_rt.cpp index 022bbf8c9..28fdccc5f 100644 --- a/imperative/python/src/graph_rt.cpp +++ b/imperative/python/src/graph_rt.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/graph_rt.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include "./graph_rt.h" #include "megbrain/imperative/opr_utility.h" diff --git a/imperative/python/src/graph_rt.h b/imperative/python/src/graph_rt.h index fbc127c45..251e370ab 100644 --- a/imperative/python/src/graph_rt.h +++ b/imperative/python/src/graph_rt.h @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/graph_rt.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #pragma once #include "./helper.h" diff --git a/imperative/python/src/helper.cpp b/imperative/python/src/helper.cpp index 13c16099c..bb14545e7 100644 --- a/imperative/python/src/helper.cpp +++ b/imperative/python/src/helper.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/helper.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include "./helper.h" #include diff --git a/imperative/python/src/helper.h b/imperative/python/src/helper.h index f97b6fd0c..294826efe 100644 --- a/imperative/python/src/helper.h +++ b/imperative/python/src/helper.h @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/helper.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #pragma once #include "megbrain/graph.h" diff --git a/imperative/python/src/imperative_rt.cpp b/imperative/python/src/imperative_rt.cpp index 6e33832a6..92cd9238b 100644 --- a/imperative/python/src/imperative_rt.cpp +++ b/imperative/python/src/imperative_rt.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/imperative_rt.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include "./imperative_rt.h" #include diff --git a/imperative/python/src/imperative_rt.h b/imperative/python/src/imperative_rt.h index 2194bdb4e..fdab13ca5 100644 --- a/imperative/python/src/imperative_rt.h +++ b/imperative/python/src/imperative_rt.h @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/imperative_rt.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #pragma once #include "./helper.h" diff --git a/imperative/python/src/module.cpp b/imperative/python/src/module.cpp index 309a02208..447e6ac2f 100644 --- a/imperative/python/src/module.cpp +++ b/imperative/python/src/module.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/module.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include #define DO_IMPORT_ARRAY diff --git a/imperative/python/src/numpy_dtypes.h b/imperative/python/src/numpy_dtypes.h index d13780d58..09a23a5ab 100644 --- a/imperative/python/src/numpy_dtypes.h +++ b/imperative/python/src/numpy_dtypes.h @@ -1,13 +1,14 @@ /** * \file imperative/python/src/numpy_dtypes.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \brief import numpy array with proper settings - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ + #pragma once #ifndef DO_IMPORT_ARRAY diff --git a/imperative/python/src/numpy_dtypes_bfloat16.cpp b/imperative/python/src/numpy_dtypes_bfloat16.cpp index 52d122aa8..b84f2d104 100644 --- a/imperative/python/src/numpy_dtypes_bfloat16.cpp +++ b/imperative/python/src/numpy_dtypes_bfloat16.cpp @@ -1,13 +1,14 @@ /** * \file imperative/python/src/numpy_dtypes_bfloat16.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \brief numpy dtypes for bfloat16 - * - * \copyright Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ + #include "./numpy_dtypes.h" #include diff --git a/imperative/python/src/numpy_dtypes_intbx.cpp b/imperative/python/src/numpy_dtypes_intbx.cpp index d6d231cf0..302aaa5a4 100644 --- a/imperative/python/src/numpy_dtypes_intbx.cpp +++ b/imperative/python/src/numpy_dtypes_intbx.cpp @@ -1,13 +1,14 @@ /** * \file imperative/python/src/numpy_dtypes_intbx.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \brief numpy dtypes for low bit - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ + #include "./numpy_dtypes.h" #include diff --git a/imperative/python/src/ops.cpp b/imperative/python/src/ops.cpp index 2e2442538..b7f1e01e7 100644 --- a/imperative/python/src/ops.cpp +++ b/imperative/python/src/ops.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/ops.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include "./ops.h" #include "megbrain/imperative.h" diff --git a/imperative/python/src/ops.h b/imperative/python/src/ops.h index 900b89e1a..eed111b1d 100644 --- a/imperative/python/src/ops.h +++ b/imperative/python/src/ops.h @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/ops.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #pragma once #include "./helper.h" diff --git a/imperative/python/src/utils.cpp b/imperative/python/src/utils.cpp index 3d4548a27..e61aa0618 100644 --- a/imperative/python/src/utils.cpp +++ b/imperative/python/src/utils.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/utils.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include "utils.h" #ifdef WIN32 #include diff --git a/imperative/python/src/utils.h b/imperative/python/src/utils.h index 0a4d69e56..a1fcbce6f 100644 --- a/imperative/python/src/utils.h +++ b/imperative/python/src/utils.h @@ -1,3 +1,14 @@ +/** + * \file imperative/python/src/utils.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #pragma once #include "./helper.h" diff --git a/imperative/src/impl/blob_manager_impl.cpp b/imperative/src/impl/blob_manager_impl.cpp index 3fa3c5316..eed0ee2e4 100644 --- a/imperative/src/impl/blob_manager_impl.cpp +++ b/imperative/src/impl/blob_manager_impl.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/physical_tensor.cpp + * \file imperative/src/impl/blob_manager_impl.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./blob_manager_impl.h" diff --git a/imperative/src/impl/blob_manager_impl.h b/imperative/src/impl/blob_manager_impl.h index 32ee2879b..9502c66be 100644 --- a/imperative/src/impl/blob_manager_impl.h +++ b/imperative/src/impl/blob_manager_impl.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/blob_manager_impl.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/impl/dnn_op_helper.h b/imperative/src/impl/dnn_op_helper.h index 17017854d..69d36f651 100644 --- a/imperative/src/impl/dnn_op_helper.h +++ b/imperative/src/impl/dnn_op_helper.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/dnn_op_helper.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/comp_node_env.h" diff --git a/imperative/src/impl/interpreter_impl.cpp b/imperative/src/impl/interpreter_impl.cpp index 297976a81..915203413 100644 --- a/imperative/src/impl/interpreter_impl.cpp +++ b/imperative/src/impl/interpreter_impl.cpp @@ -1,3 +1,14 @@ +/** + * \file imperative/src/impl/interpreter_impl.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include "./interpreter_impl.h" diff --git a/imperative/src/impl/interpreter_impl.h b/imperative/src/impl/interpreter_impl.h index fae219958..71c55515e 100644 --- a/imperative/src/impl/interpreter_impl.h +++ b/imperative/src/impl/interpreter_impl.h @@ -1,3 +1,14 @@ +/** + * \file imperative/src/impl/interpreter_impl.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include #include diff --git a/imperative/src/impl/op_def.cpp b/imperative/src/impl/op_def.cpp index cd1d1c39d..d3aaa8b20 100644 --- a/imperative/src/impl/op_def.cpp +++ b/imperative/src/impl/op_def.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/op_def.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/impl/op_trait.cpp b/imperative/src/impl/op_trait.cpp index 06163296a..0d89ad7a6 100644 --- a/imperative/src/impl/op_trait.cpp +++ b/imperative/src/impl/op_trait.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/op_trait.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include diff --git a/imperative/src/impl/op_trait.h b/imperative/src/impl/op_trait.h index bf92bab2d..3122494c9 100644 --- a/imperative/src/impl/op_trait.h +++ b/imperative/src/impl/op_trait.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/op_trait.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/impl/opr_utility.cpp b/imperative/src/impl/opr_utility.cpp index a39f65669..8a88b048d 100644 --- a/imperative/src/impl/opr_utility.cpp +++ b/imperative/src/impl/opr_utility.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/opr_utility.cpp + * \file imperative/src/impl/opr_utility.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/opr_utility.h" diff --git a/imperative/src/impl/ops/backward_graph.cpp b/imperative/src/impl/ops/backward_graph.cpp index d34068d85..e844d481a 100644 --- a/imperative/src/impl/ops/backward_graph.cpp +++ b/imperative/src/impl/ops/backward_graph.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/physical_tensor.cpp + * \file imperative/src/impl/ops/backward_graph.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/ops/backward_graph.h" diff --git a/imperative/src/impl/ops/collective_comm.cpp b/imperative/src/impl/ops/collective_comm.cpp index 35eca804c..69ba2bddc 100644 --- a/imperative/src/impl/ops/collective_comm.cpp +++ b/imperative/src/impl/ops/collective_comm.cpp @@ -1,11 +1,14 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/ops/collective_comm.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ + #include "megbrain_build_config.h" #if MGB_ENABLE_OPR_MM diff --git a/imperative/src/impl/ops/cond_take.cpp b/imperative/src/impl/ops/cond_take.cpp index de4cd0fbf..5418bc23b 100644 --- a/imperative/src/impl/ops/cond_take.cpp +++ b/imperative/src/impl/ops/cond_take.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/ops/cond_take.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/ops/cond_take.h" diff --git a/imperative/src/impl/ops/io_remote.cpp b/imperative/src/impl/ops/io_remote.cpp index 7d7375737..439dc1a39 100644 --- a/imperative/src/impl/ops/io_remote.cpp +++ b/imperative/src/impl/ops/io_remote.cpp @@ -1,11 +1,14 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/ops/io_remote.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ + #include "megbrain_build_config.h" #if MGB_ENABLE_OPR_MM diff --git a/imperative/src/impl/ops/nms.cpp b/imperative/src/impl/ops/nms.cpp index 3c34c87af..45550a68b 100644 --- a/imperative/src/impl/ops/nms.cpp +++ b/imperative/src/impl/ops/nms.cpp @@ -1,11 +1,14 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/ops/nms.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ + #include "../op_trait.h" #include "megbrain/imperative/ops/nms.h" diff --git a/imperative/src/impl/ops/opr_attr.cpp b/imperative/src/impl/ops/opr_attr.cpp index feb52c76a..c2f2a9440 100644 --- a/imperative/src/impl/ops/opr_attr.cpp +++ b/imperative/src/impl/ops/opr_attr.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/physical_tensor.cpp + * \file imperative/src/impl/ops/opr_attr.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/ops/opr_attr.h" diff --git a/imperative/src/impl/ops/tensor_manip.cpp b/imperative/src/impl/ops/tensor_manip.cpp index e8a84e691..fdf9fac68 100644 --- a/imperative/src/impl/ops/tensor_manip.cpp +++ b/imperative/src/impl/ops/tensor_manip.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/ops/tensor_manip.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/ops/tensor_manip.h" diff --git a/imperative/src/impl/physical_tensor.cpp b/imperative/src/impl/physical_tensor.cpp index 268b6d24c..0f0154f7d 100644 --- a/imperative/src/impl/physical_tensor.cpp +++ b/imperative/src/impl/physical_tensor.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/physical_tensor.cpp + * \file imperative/src/impl/physical_tensor.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative.h" diff --git a/imperative/src/impl/profiler.cpp b/imperative/src/impl/profiler.cpp index 623522ac4..008fcc6fe 100644 --- a/imperative/src/impl/profiler.cpp +++ b/imperative/src/impl/profiler.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/profiler.cpp + * \file imperative/src/impl/profiler.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/profiler.h" diff --git a/imperative/src/impl/proxy_graph.cpp b/imperative/src/impl/proxy_graph.cpp index 7b0409f3d..a449edffa 100644 --- a/imperative/src/impl/proxy_graph.cpp +++ b/imperative/src/impl/proxy_graph.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/proxy_graph.cpp + * \file imperative/src/impl/proxy_graph.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./blob_manager_impl.h" diff --git a/imperative/src/impl/proxy_graph.h b/imperative/src/impl/proxy_graph.h index c26cc32fb..e52768a54 100644 --- a/imperative/src/impl/proxy_graph.h +++ b/imperative/src/impl/proxy_graph.h @@ -1,10 +1,12 @@ /** - * \file src/core/impl/imperative/proxy_graph.h + * \file imperative/src/impl/proxy_graph.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/impl/proxy_graph_detail.cpp b/imperative/src/impl/proxy_graph_detail.cpp index 3fa962cf6..6415e49a4 100644 --- a/imperative/src/impl/proxy_graph_detail.cpp +++ b/imperative/src/impl/proxy_graph_detail.cpp @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/proxy_graph_detail.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./proxy_graph.h" diff --git a/imperative/src/impl/proxy_graph_detail.h b/imperative/src/impl/proxy_graph_detail.h index 16c05a6e3..3d0601e98 100644 --- a/imperative/src/impl/proxy_graph_detail.h +++ b/imperative/src/impl/proxy_graph_detail.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/impl/proxy_graph_detail.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative.h b/imperative/src/include/megbrain/imperative.h index ac3dceda7..4d2ec50e6 100644 --- a/imperative/src/include/megbrain/imperative.h +++ b/imperative/src/include/megbrain/imperative.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/blob_manager.h b/imperative/src/include/megbrain/imperative/blob_manager.h index 61dbd540d..c885d5d23 100644 --- a/imperative/src/include/megbrain/imperative/blob_manager.h +++ b/imperative/src/include/megbrain/imperative/blob_manager.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/blob_manager.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/interpreter.h b/imperative/src/include/megbrain/imperative/interpreter.h index c9124a0c5..b93fc445b 100644 --- a/imperative/src/include/megbrain/imperative/interpreter.h +++ b/imperative/src/include/megbrain/imperative/interpreter.h @@ -1,3 +1,14 @@ +/** + * \file imperative/src/include/megbrain/imperative/interpreter.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") + * + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + #include #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/op_def.h b/imperative/src/include/megbrain/imperative/op_def.h index f742fc6bf..cba1fad43 100644 --- a/imperative/src/include/megbrain/imperative/op_def.h +++ b/imperative/src/include/megbrain/imperative/op_def.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/op_def.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/opr_utility.h b/imperative/src/include/megbrain/imperative/opr_utility.h index f2c94dfe7..711484b69 100644 --- a/imperative/src/include/megbrain/imperative/opr_utility.h +++ b/imperative/src/include/megbrain/imperative/opr_utility.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/opr_utility.h + * \file imperative/src/include/megbrain/imperative/opr_utility.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/ops/backward_graph.h b/imperative/src/include/megbrain/imperative/ops/backward_graph.h index 4f5124f18..3a8f00bf6 100644 --- a/imperative/src/include/megbrain/imperative/ops/backward_graph.h +++ b/imperative/src/include/megbrain/imperative/ops/backward_graph.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/ops/backward_graph.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/ops/collective_comm.h b/imperative/src/include/megbrain/imperative/ops/collective_comm.h index 4d6c515b7..9ec67af89 100644 --- a/imperative/src/include/megbrain/imperative/ops/collective_comm.h +++ b/imperative/src/include/megbrain/imperative/ops/collective_comm.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/ops/collective_comm.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/ops/cond_take.h b/imperative/src/include/megbrain/imperative/ops/cond_take.h index 64cdce0e8..42a1c1a48 100644 --- a/imperative/src/include/megbrain/imperative/ops/cond_take.h +++ b/imperative/src/include/megbrain/imperative/ops/cond_take.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/ops/cond_take.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/ops/io_remote.h b/imperative/src/include/megbrain/imperative/ops/io_remote.h index 83e586733..8de67fb48 100644 --- a/imperative/src/include/megbrain/imperative/ops/io_remote.h +++ b/imperative/src/include/megbrain/imperative/ops/io_remote.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/ops/io_remote.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/ops/nms.h b/imperative/src/include/megbrain/imperative/ops/nms.h index 80fcc642e..4e0c21ec0 100644 --- a/imperative/src/include/megbrain/imperative/ops/nms.h +++ b/imperative/src/include/megbrain/imperative/ops/nms.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/ops/nms.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/ops/opr_attr.h b/imperative/src/include/megbrain/imperative/ops/opr_attr.h index 5c8aa03a3..c08c76a3e 100644 --- a/imperative/src/include/megbrain/imperative/ops/opr_attr.h +++ b/imperative/src/include/megbrain/imperative/ops/opr_attr.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/ops/opr_attr.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/ops/tensor_manip.h b/imperative/src/include/megbrain/imperative/ops/tensor_manip.h index c559df1cf..d00918a0c 100644 --- a/imperative/src/include/megbrain/imperative/ops/tensor_manip.h +++ b/imperative/src/include/megbrain/imperative/ops/tensor_manip.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/ops/tensor_manip.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/physical_tensor.h b/imperative/src/include/megbrain/imperative/physical_tensor.h index 757b84555..8c98c5c95 100644 --- a/imperative/src/include/megbrain/imperative/physical_tensor.h +++ b/imperative/src/include/megbrain/imperative/physical_tensor.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/imperative.h + * \file imperative/src/include/megbrain/imperative/physical_tensor.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/include/megbrain/imperative/profiler.h b/imperative/src/include/megbrain/imperative/profiler.h index a223ab374..a0a278e82 100644 --- a/imperative/src/include/megbrain/imperative/profiler.h +++ b/imperative/src/include/megbrain/imperative/profiler.h @@ -1,10 +1,12 @@ /** - * \file src/core/include/megbrain/profiler.h + * \file imperative/src/include/megbrain/imperative/profiler.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/test/backward_graph.cpp b/imperative/src/test/backward_graph.cpp index f83058fc2..e07f8dd22 100644 --- a/imperative/src/test/backward_graph.cpp +++ b/imperative/src/test/backward_graph.cpp @@ -1,10 +1,12 @@ /** * \file imperative/src/test/backward_graph.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./helper.h" diff --git a/imperative/src/test/collective_comm.cpp b/imperative/src/test/collective_comm.cpp index b1a1c9ad7..860450679 100644 --- a/imperative/src/test/collective_comm.cpp +++ b/imperative/src/test/collective_comm.cpp @@ -1,10 +1,12 @@ /** - * \file imperative/src/test/imperative.cpp + * \file imperative/src/test/collective_comm.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./helper.h" diff --git a/imperative/src/test/cond_take.cpp b/imperative/src/test/cond_take.cpp index dad18671d..0a013c748 100644 --- a/imperative/src/test/cond_take.cpp +++ b/imperative/src/test/cond_take.cpp @@ -1,10 +1,12 @@ /** - * \file imperative/src/test/imperative.cpp + * \file imperative/src/test/cond_take.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./helper.h" diff --git a/imperative/src/test/helper.cpp b/imperative/src/test/helper.cpp index 5fb3119b8..4f38813cc 100644 --- a/imperative/src/test/helper.cpp +++ b/imperative/src/test/helper.cpp @@ -1,10 +1,12 @@ /** * \file imperative/src/test/helper.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "helper.h" diff --git a/imperative/src/test/helper.h b/imperative/src/test/helper.h index ad172f210..441fe0b3c 100644 --- a/imperative/src/test/helper.h +++ b/imperative/src/test/helper.h @@ -1,10 +1,12 @@ /** * \file imperative/src/test/helper.h + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #pragma once diff --git a/imperative/src/test/imperative.cpp b/imperative/src/test/imperative.cpp index 84072ae9b..4151dde3a 100644 --- a/imperative/src/test/imperative.cpp +++ b/imperative/src/test/imperative.cpp @@ -1,10 +1,12 @@ /** * \file imperative/src/test/imperative.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./helper.h" diff --git a/imperative/src/test/io_remote.cpp b/imperative/src/test/io_remote.cpp index a4d914139..fbfd63387 100644 --- a/imperative/src/test/io_remote.cpp +++ b/imperative/src/test/io_remote.cpp @@ -1,10 +1,12 @@ /** - * \file imperative/src/test/imperative.cpp + * \file imperative/src/test/io_remote.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "./helper.h" diff --git a/imperative/src/test/opr_utility.cpp b/imperative/src/test/opr_utility.cpp index 3fcf22c1d..6454489be 100644 --- a/imperative/src/test/opr_utility.cpp +++ b/imperative/src/test/opr_utility.cpp @@ -1,10 +1,12 @@ /** * \file imperative/src/test/opr_utility.cpp + * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * - * This file is part of MegBrain, a deep learning framework developed by Megvii. - * - * \copyright Copyright (c) 2014-2019 Megvii Inc. All rights reserved. + * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "megbrain/imperative/opr_utility.h" -- GitLab