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 d4ef442e..54a8549e 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 582019b8..5837de34 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 022bbf8c..28fdccc5 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 fbc127c4..251e370a 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 13c16099..bb14545e 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 f97b6fd0..294826ef 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 6e33832a..92cd9238 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 2194bdb4..fdab13ca 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 309a0220..447e6ac2 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 d13780d5..09a23a5a 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 52d122aa..b84f2d10 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 d6d231cf..302aaa5a 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 2e244253..b7f1e01e 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 900b89e1..eed111b1 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 3d4548a2..e61aa061 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 0a4d69e5..a1fcbce6 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 3fa3c531..eed0ee2e 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 32ee2879..9502c66b 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 17017854..69d36f65 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 297976a8..91520341 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 fae21995..71c55515 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 cd1d1c39..d3aaa8b2 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 06163296..0d89ad7a 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 bf92bab2..3122494c 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 a39f6566..8a88b048 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 d34068d8..e844d481 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 35eca804..69ba2bdd 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 de4cd0fb..5418bc23 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 7d737573..439dc1a3 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 3c34c87a..45550a68 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 feb52c76..c2f2a944 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 e8a84e69..fdf9fac6 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 268b6d24..0f0154f7 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 623522ac..008fcc6f 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 7b0409f3..a449edff 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 c26cc32f..e52768a5 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 3fa962cf..6415e49a 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 16c05a6e..3d0601e9 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 ac3dceda..4d2ec50e 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 61dbd540..c885d5d2 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 c9124a0c..b93fc445 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 f742fc6b..cba1fad4 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 f2c94dfe..711484b6 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 4f5124f1..3a8f00bf 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 4d6c515b..9ec67af8 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 64cdce0e..42a1c1a4 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 83e58673..8de67fb4 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 80fcc642..4e0c21ec 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 5c8aa03a..c08c76a3 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 c559df1c..d00918a0 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 757b8455..8c98c5c9 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 a223ab37..a0a278e8 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 f83058fc..e07f8dd2 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 b1a1c9ad..86045067 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 dad18671..0a013c74 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 5fb3119b..4f38813c 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 ad172f21..441fe0b3 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 84072ae9..4151dde3 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 a4d91413..fbfd6338 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 3fcf22c1..6454489b 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