Browse Source

refactor(mge): cpp license

GitOrigin-RevId: 2f67f84724
tags/v1.0.0-rc1
Megvii Engine Team 4 years ago
parent
commit
c5e433b568
60 changed files with 438 additions and 174 deletions
  1. +11
    -0
      imperative/python/src/common.cpp
  2. +11
    -0
      imperative/python/src/common.h
  3. +11
    -0
      imperative/python/src/graph_rt.cpp
  4. +11
    -0
      imperative/python/src/graph_rt.h
  5. +11
    -0
      imperative/python/src/helper.cpp
  6. +11
    -0
      imperative/python/src/helper.h
  7. +11
    -0
      imperative/python/src/imperative_rt.cpp
  8. +11
    -0
      imperative/python/src/imperative_rt.h
  9. +11
    -0
      imperative/python/src/module.cpp
  10. +6
    -5
      imperative/python/src/numpy_dtypes.h
  11. +6
    -5
      imperative/python/src/numpy_dtypes_bfloat16.cpp
  12. +6
    -5
      imperative/python/src/numpy_dtypes_intbx.cpp
  13. +11
    -0
      imperative/python/src/ops.cpp
  14. +11
    -0
      imperative/python/src/ops.h
  15. +11
    -0
      imperative/python/src/utils.cpp
  16. +11
    -0
      imperative/python/src/utils.h
  17. +6
    -4
      imperative/src/impl/blob_manager_impl.cpp
  18. +6
    -4
      imperative/src/impl/blob_manager_impl.h
  19. +6
    -4
      imperative/src/impl/dnn_op_helper.h
  20. +11
    -0
      imperative/src/impl/interpreter_impl.cpp
  21. +11
    -0
      imperative/src/impl/interpreter_impl.h
  22. +6
    -4
      imperative/src/impl/op_def.cpp
  23. +6
    -4
      imperative/src/impl/op_trait.cpp
  24. +6
    -4
      imperative/src/impl/op_trait.h
  25. +6
    -4
      imperative/src/impl/opr_utility.cpp
  26. +6
    -4
      imperative/src/impl/ops/backward_graph.cpp
  27. +7
    -4
      imperative/src/impl/ops/collective_comm.cpp
  28. +6
    -4
      imperative/src/impl/ops/cond_take.cpp
  29. +7
    -4
      imperative/src/impl/ops/io_remote.cpp
  30. +7
    -4
      imperative/src/impl/ops/nms.cpp
  31. +6
    -4
      imperative/src/impl/ops/opr_attr.cpp
  32. +6
    -4
      imperative/src/impl/ops/tensor_manip.cpp
  33. +6
    -4
      imperative/src/impl/physical_tensor.cpp
  34. +6
    -4
      imperative/src/impl/profiler.cpp
  35. +6
    -4
      imperative/src/impl/proxy_graph.cpp
  36. +6
    -4
      imperative/src/impl/proxy_graph.h
  37. +6
    -4
      imperative/src/impl/proxy_graph_detail.cpp
  38. +6
    -4
      imperative/src/impl/proxy_graph_detail.h
  39. +6
    -4
      imperative/src/include/megbrain/imperative.h
  40. +6
    -4
      imperative/src/include/megbrain/imperative/blob_manager.h
  41. +11
    -0
      imperative/src/include/megbrain/imperative/interpreter.h
  42. +6
    -4
      imperative/src/include/megbrain/imperative/op_def.h
  43. +6
    -4
      imperative/src/include/megbrain/imperative/opr_utility.h
  44. +6
    -4
      imperative/src/include/megbrain/imperative/ops/backward_graph.h
  45. +6
    -4
      imperative/src/include/megbrain/imperative/ops/collective_comm.h
  46. +6
    -4
      imperative/src/include/megbrain/imperative/ops/cond_take.h
  47. +6
    -4
      imperative/src/include/megbrain/imperative/ops/io_remote.h
  48. +6
    -4
      imperative/src/include/megbrain/imperative/ops/nms.h
  49. +6
    -4
      imperative/src/include/megbrain/imperative/ops/opr_attr.h
  50. +6
    -4
      imperative/src/include/megbrain/imperative/ops/tensor_manip.h
  51. +6
    -4
      imperative/src/include/megbrain/imperative/physical_tensor.h
  52. +6
    -4
      imperative/src/include/megbrain/imperative/profiler.h
  53. +5
    -3
      imperative/src/test/backward_graph.cpp
  54. +6
    -4
      imperative/src/test/collective_comm.cpp
  55. +6
    -4
      imperative/src/test/cond_take.cpp
  56. +5
    -3
      imperative/src/test/helper.cpp
  57. +5
    -3
      imperative/src/test/helper.h
  58. +5
    -3
      imperative/src/test/imperative.cpp
  59. +6
    -4
      imperative/src/test/io_remote.cpp
  60. +5
    -3
      imperative/src/test/opr_utility.cpp

+ 11
- 0
imperative/python/src/common.cpp View File

@@ -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 "./common.h"


#include <pybind11/operators.h> #include <pybind11/operators.h>


+ 11
- 0
imperative/python/src/common.h View File

@@ -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 #pragma once


#include "./helper.h" #include "./helper.h"


+ 11
- 0
imperative/python/src/graph_rt.cpp View File

@@ -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 "./graph_rt.h"


#include "megbrain/imperative/opr_utility.h" #include "megbrain/imperative/opr_utility.h"


+ 11
- 0
imperative/python/src/graph_rt.h View File

@@ -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 #pragma once


#include "./helper.h" #include "./helper.h"


+ 11
- 0
imperative/python/src/helper.cpp View File

@@ -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 "./helper.h"


#include <pybind11/eval.h> #include <pybind11/eval.h>


+ 11
- 0
imperative/python/src/helper.h View File

@@ -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 #pragma once


#include "megbrain/graph.h" #include "megbrain/graph.h"


+ 11
- 0
imperative/python/src/imperative_rt.cpp View File

@@ -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 "./imperative_rt.h"


#include <future> #include <future>


+ 11
- 0
imperative/python/src/imperative_rt.h View File

@@ -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 #pragma once


#include "./helper.h" #include "./helper.h"


+ 11
- 0
imperative/python/src/module.cpp View File

@@ -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 <pybind11/eval.h> #include <pybind11/eval.h>


#define DO_IMPORT_ARRAY #define DO_IMPORT_ARRAY


+ 6
- 5
imperative/python/src/numpy_dtypes.h View File

@@ -1,13 +1,14 @@
/** /**
* \file imperative/python/src/numpy_dtypes.h * \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 #pragma once


#ifndef DO_IMPORT_ARRAY #ifndef DO_IMPORT_ARRAY


+ 6
- 5
imperative/python/src/numpy_dtypes_bfloat16.cpp View File

@@ -1,13 +1,14 @@
/** /**
* \file imperative/python/src/numpy_dtypes_bfloat16.cpp * \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 "./numpy_dtypes.h"


#include <Python.h> #include <Python.h>


+ 6
- 5
imperative/python/src/numpy_dtypes_intbx.cpp View File

@@ -1,13 +1,14 @@
/** /**
* \file imperative/python/src/numpy_dtypes_intbx.cpp * \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 "./numpy_dtypes.h"


#include <Python.h> #include <Python.h>


+ 11
- 0
imperative/python/src/ops.cpp View File

@@ -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 "./ops.h"


#include "megbrain/imperative.h" #include "megbrain/imperative.h"


+ 11
- 0
imperative/python/src/ops.h View File

@@ -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 #pragma once


#include "./helper.h" #include "./helper.h"


+ 11
- 0
imperative/python/src/utils.cpp View File

@@ -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" #include "utils.h"
#ifdef WIN32 #ifdef WIN32
#include <stdio.h> #include <stdio.h>


+ 11
- 0
imperative/python/src/utils.h View File

@@ -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 #pragma once


#include "./helper.h" #include "./helper.h"


+ 6
- 4
imperative/src/impl/blob_manager_impl.cpp View File

@@ -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" #include "./blob_manager_impl.h"


+ 6
- 4
imperative/src/impl/blob_manager_impl.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/impl/dnn_op_helper.h View File

@@ -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" #include "megbrain/comp_node_env.h"


+ 11
- 0
imperative/src/impl/interpreter_impl.cpp View File

@@ -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" #include "./interpreter_impl.h"






+ 11
- 0
imperative/src/impl/interpreter_impl.h View File

@@ -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 <variant> #include <variant>
#include <future> #include <future>




+ 6
- 4
imperative/src/impl/op_def.cpp View File

@@ -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" #include "megbrain/imperative/op_def.h"


+ 6
- 4
imperative/src/impl/op_trait.cpp View File

@@ -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 <sstream> #include <sstream>


+ 6
- 4
imperative/src/impl/op_trait.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/impl/opr_utility.cpp View File

@@ -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" #include "megbrain/imperative/opr_utility.h"


+ 6
- 4
imperative/src/impl/ops/backward_graph.cpp View File

@@ -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" #include "megbrain/imperative/ops/backward_graph.h"


+ 7
- 4
imperative/src/impl/ops/collective_comm.cpp View File

@@ -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" #include "megbrain_build_config.h"


#if MGB_ENABLE_OPR_MM #if MGB_ENABLE_OPR_MM


+ 6
- 4
imperative/src/impl/ops/cond_take.cpp View File

@@ -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" #include "megbrain/imperative/ops/cond_take.h"


+ 7
- 4
imperative/src/impl/ops/io_remote.cpp View File

@@ -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" #include "megbrain_build_config.h"


#if MGB_ENABLE_OPR_MM #if MGB_ENABLE_OPR_MM


+ 7
- 4
imperative/src/impl/ops/nms.cpp View File

@@ -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 "../op_trait.h"


#include "megbrain/imperative/ops/nms.h" #include "megbrain/imperative/ops/nms.h"


+ 6
- 4
imperative/src/impl/ops/opr_attr.cpp View File

@@ -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" #include "megbrain/imperative/ops/opr_attr.h"


+ 6
- 4
imperative/src/impl/ops/tensor_manip.cpp View File

@@ -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" #include "megbrain/imperative/ops/tensor_manip.h"


+ 6
- 4
imperative/src/impl/physical_tensor.cpp View File

@@ -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" #include "megbrain/imperative.h"


+ 6
- 4
imperative/src/impl/profiler.cpp View File

@@ -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" #include "megbrain/imperative/profiler.h"


+ 6
- 4
imperative/src/impl/proxy_graph.cpp View File

@@ -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" #include "./blob_manager_impl.h"


+ 6
- 4
imperative/src/impl/proxy_graph.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/impl/proxy_graph_detail.cpp View File

@@ -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" #include "./proxy_graph.h"


+ 6
- 4
imperative/src/impl/proxy_graph_detail.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/blob_manager.h View File

@@ -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 #pragma once


+ 11
- 0
imperative/src/include/megbrain/imperative/interpreter.h View File

@@ -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 <atomic> #include <atomic>


#include "megbrain/imperative/op_def.h" #include "megbrain/imperative/op_def.h"


+ 6
- 4
imperative/src/include/megbrain/imperative/op_def.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/opr_utility.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/ops/backward_graph.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/ops/collective_comm.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/ops/cond_take.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/ops/io_remote.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/ops/nms.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/ops/opr_attr.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/ops/tensor_manip.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/physical_tensor.h View File

@@ -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 #pragma once


+ 6
- 4
imperative/src/include/megbrain/imperative/profiler.h View File

@@ -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 #pragma once


+ 5
- 3
imperative/src/test/backward_graph.cpp View File

@@ -1,10 +1,12 @@
/** /**
* \file imperative/src/test/backward_graph.cpp * \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" #include "./helper.h"


+ 6
- 4
imperative/src/test/collective_comm.cpp View File

@@ -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" #include "./helper.h"


+ 6
- 4
imperative/src/test/cond_take.cpp View File

@@ -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" #include "./helper.h"


+ 5
- 3
imperative/src/test/helper.cpp View File

@@ -1,10 +1,12 @@
/** /**
* \file imperative/src/test/helper.cpp * \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" #include "helper.h"


+ 5
- 3
imperative/src/test/helper.h View File

@@ -1,10 +1,12 @@
/** /**
* \file imperative/src/test/helper.h * \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 #pragma once


+ 5
- 3
imperative/src/test/imperative.cpp View File

@@ -1,10 +1,12 @@
/** /**
* \file imperative/src/test/imperative.cpp * \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" #include "./helper.h"


+ 6
- 4
imperative/src/test/io_remote.cpp View File

@@ -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" #include "./helper.h"


+ 5
- 3
imperative/src/test/opr_utility.cpp View File

@@ -1,10 +1,12 @@
/** /**
* \file imperative/src/test/opr_utility.cpp * \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" #include "megbrain/imperative/opr_utility.h"


Loading…
Cancel
Save