diff --git a/imperative/python/src/common.cpp b/imperative/python/src/common.cpp index d4ef442e548673459fa61dfe1e91bd41942396ef..54a8549e378f39709c1aa902130baf98271b145e 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 582019b817ce137e1c30d008bb1dcd37977322be..5837de34ef25bfbe621b6fd443eb234327542b5e 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 022bbf8c90e7d64442747454a989be9e4b94e706..28fdccc5fec3037ababd8b5506a87a063779e892 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 fbc127c45dc071d2be0f75c5cfeb855b3323d9a6..251e370ab9b35d9dcab250ce66c43828c54e1992 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 13c16099c218dd9693a02f43539a24863d7126cd..bb14545e79d4b154b20bc4f0dcd57d02f54ad361 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 f97b6fd0c3ec349ba4ef3d3d5288b632df1ea147..294826efe44a8e14456752c58b94efb0d5090c84 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 6e33832a69ce41726bfef63de760b84b7dd9390a..92cd9238b617895db1eb8fd654b74a3ecfe25fed 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 2194bdb4ebbeb4a4a746b8a6eb15fdd70847dbd4..fdab13ca5baadef272d3bf9ae273519d17d40854 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 309a0220899c63ffc36486e024983ce211cb69bb..447e6ac2ff0fb170bb6c143b28766ff9313bf29c 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 d13780d582955a75c1d340fc56315be06ef400fe..09a23a5abcc9fc2c4fe7b089fc7c0f6b4fa660fc 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 52d122aa84faed567e60a45620bd21966b33cc7d..b84f2d104984b655efca02dc812ed120ee2a4b32 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 d6d231cf01b78586739aff47d459bf3fd619e211..302aaa5a40b2d4120ee844b94ad164a175fb8145 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 2e2442538d90b49ba4c4980acece2761b28b5be9..b7f1e01e799355006e6948b05bb1503a400adec7 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 900b89e1aab14f66968330e6c92f90343c19be61..eed111b1d547fb39dea3f3b89c69d0b1df14dc12 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 3d4548a2747628594f19f0a17ca2a080d033ba9e..e61aa06180c9e3609cfc4c639fa5de8f3f1e6997 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 0a4d69e560401111e3abd2dcb39e9cb77e99bd0c..a1fcbce6f654d9d99712824ccb3146efe799698e 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 3fa3c5316c54f1bfd734cc07460ce445ba265866..eed0ee2e4e2c831f986cca57b54d06e678e0d832 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 32ee2879be734a3634166e51ac53d8411d45b38d..9502c66bec72170764bf7e3af499acc1e767b77a 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 17017854d98358c59e263febb0b3c9a68a5b5638..69d36f6512f0c14277962d9b74857001058942cd 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 297976a8179f1fac808f141d22ea7b800bc6bd13..9152034134042d710288c246c2089540a458e8f4 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 fae219958d5fddc40f62eff026dce688bcad562b..71c55515ef06d41d7b3bfc062ded90856679c881 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 cd1d1c39d6bd67ea8d486fc41af143f6a977e168..d3aaa8b2084f130e3293374d29da68a1c48cf6a9 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 06163296a0bdc24cec7a9a1dcad9421b5dd42864..0d89ad7a69387bc57a9091c8a040fdc9d71d63b8 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 bf92bab2d2dc4e2258d7850ce4ee9eb954739973..3122494c9ff1a0ec7e755bc1b5bbe9c5f0831452 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 a39f65669f6a80d0033c7e9419f3b8b77ba33e9c..8a88b048dc57f3159401545558f3156adeb19654 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 d34068d8582fcf872cfea2de791c4cfa357b6ce6..e844d481ad0b8a2274c460b7d59e7a5ec8f511a7 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 35eca804c4fb3bed37f55c1a5c24f8b5358cab50..69ba2bddcd636f98a906bd5301aea3987349d540 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 de4cd0fbf5146e66aa44481e49714d4cf4535d60..5418bc23bd12bde4ef5bc3424c8fd16750e70711 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 7d7375737f84189b5c48b40dc69cbacf406a0023..439dc1a39752f7f1d5d7c2fe3a2ab57526127a7f 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 3c34c87afaffd58d824c7366826132941a8420bd..45550a68b109c92bf6861fa0dda53f8553994492 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 feb52c76a51befd27703ad7cf3c0b68f76366c60..c2f2a9440ff8825ade72f08b79de02ed744b7046 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 e8a84e6911ac4fe1a8221768bc6b4e60f14c9e2e..fdf9fac68fb1ebd24f510063fb913b4f193a9d2e 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 268b6d24cf5d311e08dd489d17004eaa605bb00a..0f0154f7d25a58be401825aecc0d165a3be1cead 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 623522ac47976b20dd899c160a76c6ce1b8cefea..008fcc6feeafb5e9c284354c3c6f8ab1dd7d5bb4 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 7b0409f3decfa78b04c244e2aa29bcd73b20caa5..a449edffa61721737a4e583aaa676d7d3f90458f 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 c26cc32fb1c31ce199e1d32fde47c9ac8ba53b04..e52768a549a35d71675b668e2686f5d006430655 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 3fa962cf6c33d480e496b25f35acbe0fe60419e4..6415e49a4948163e47363febe5d1b2fd6e4b68af 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 16c05a6e339ac121d289be00cdc08e3742087392..3d0601e982ce073b9dad4301024406f1fbfd6820 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 ac3dceda7d5be597497f794b9fe4342a71f55b3a..4d2ec50e670b2a69f0b7e5145c1bc497a9d89722 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 61dbd540d9c57bcf0d857cb39692104a4839aeb2..c885d5d2340f1df1829fd383e9cf9eebf044d427 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 c9124a0c5a0d571844b3473e76849e8944e7b51a..b93fc445b9a0ee8f4fcf125632d293c2a05d5f7b 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 f742fc6bfa25a54dc443e0e2df20a835745eb067..cba1fad43c02f8669ffc57ab5b43a11895712cd7 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 f2c94dfe73df03968c47c914c8f236b31ce5abc4..711484b69ffbcf051d9822abaa22b72618ac129e 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 4f5124f180e683a0582b85a8e3de864738cca493..3a8f00bf69863627afdb39dec8de9d954797a18c 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 4d6c515b7cfff5474e4c21a26540df0826bd64f8..9ec67af89fd1486ceb7bdaecf28acfaa9cef9270 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 64cdce0e8b044d2956dfd0ad88135f5448ac06a7..42a1c1a4892f6665adb56bf912f2da03fef13f3a 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 83e5867338a4486f29a4a77cc7e847da73bca303..8de67fb48657808447c197d0dd0f337b767ffc98 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 80fcc642ef1478b4d270f9bcfcb3bb5b18b74c14..4e0c21ec0b29a93e11aa2d676025453ea5e20dd8 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 5c8aa03a3803d893d498ed85d49368f6a2c5876a..c08c76a3e0d05bf981032ae972efdd5a778bea3c 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 c559df1cfa41076959e650484e54926362c74644..d00918a0ce8657a90cfe83793f68a735c79145ec 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 757b84555aeea7d82621f477acd62e90fa594310..8c98c5c95638f0839c7d2dcc5f27c28d877173a2 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 a223ab37495060b2241f232974e37759fe9c9242..a0a278e823f90aaa7006439004eaa31c69bb854b 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 f83058fc2c6a8c370648e340dc63886f7c93fc58..e07f8dd2263122d2c16bebc6d0b0e49121d808c1 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 b1a1c9ad76fbfebfe91b3935f042715287446ba6..86045067927df261b0c5d164f0d5789e5baac6e7 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 dad18671da4f044a1e783532fcad0d569a8785c4..0a013c7485d632785a59095b2fa2d1e88b555dc8 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 5fb3119b88dcf7bc1d29c5f80931d5ccce57e42b..4f38813cc30693a718bf60697fd481b73d5de17e 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 ad172f21086d27aec88366652dedf56f25e95d30..441fe0b3cb2d77b41a7547c22ce058383eda1117 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 84072ae9bd5dc2515820947e2eb736bd563ddf8e..4151dde3a8ef0c33262883f756dc52c223b699de 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 a4d914139de29365e31f1ec3fc7501d9c1833eea..fbfd63387255e917bc9c8ef60e79441cbcd4bd9c 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 3fcf22c1dcb1b5cb75d0e4a4f7ca5d4be2f7f0ad..6454489be0b171683430c1b622edb812d7dc3b99 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"