!24295 refactor include files

Merge pull request !24295 from zhujingxuan/master
This commit is contained in:
i-robot 2021-09-30 03:52:49 +00:00 committed by Gitee
commit 15aa4daa57
11 changed files with 3 additions and 21 deletions

View File

@ -18,7 +18,6 @@
#include <numeric>
#include <limits>
#include <functional>
#include <cmath>
#include "backend/kernel_compiler/cpu/mkldnn/mkl_kernel_engine.h"
#include "runtime/device/cpu/cpu_device_address.h"
#include "utils/ms_utils.h"

View File

@ -14,6 +14,7 @@
* limitations under the License.
*/
#include "backend/kernel_compiler/cpu/rank_cpu_kernel.h"
#include <math.h>
#include <type_traits>
#include <functional>
#include <limits>

View File

@ -14,11 +14,10 @@
* limitations under the License.
*/
#include "backend/kernel_compiler/cpu/rolling_cpu_kernel.h"
#include <cmath>
#include <algorithm>
#include <math.h>
#include <map>
#include <limits>
#include <functional>
#include <type_traits>
#include "common/thread_pool.h"
namespace mindspore {

View File

@ -14,8 +14,6 @@
* limitations under the License.
*/
#include "backend/kernel_compiler/cpu/shift_cpu_kernel.h"
#include <algorithm>
#include <cmath>
#include "common/thread_pool.h"
namespace mindspore {

View File

@ -14,12 +14,10 @@
* limitations under the License.
*/
#include "backend/kernel_compiler/cpu/sort_cpu_kernel.h"
#include <vector>
#include "common/thread_pool.h"
namespace mindspore {
namespace kernel {
template <typename T>
void SortCpuKernel<T>::InitKernel(const CNodePtr &kernel_node) {
MS_EXCEPTION_IF_NULL(kernel_node);

View File

@ -15,13 +15,11 @@
*/
#include "backend/kernel_compiler/cpu/transpose_cpu_kernel.h"
#include <algorithm>
#include <vector>
#include "runtime/device/cpu/cpu_device_address.h"
#include "common/thread_pool.h"
#include "nnacl/fp32/transpose_fp32.h"
#include "nnacl/int8/transpose_int8.h"
#include "nnacl/errorcode.h"
namespace mindspore {
namespace kernel {

View File

@ -15,13 +15,7 @@
*/
#include "ops/tensor_array.h"
#include <string>
#include <algorithm>
#include <memory>
#include <set>
#include <vector>
#include "ops/op_utils.h"
#include "utils/check_convert_utils.h"
#include "abstract/primitive_infer_map.h"
namespace mindspore {

View File

@ -15,7 +15,6 @@
*/
#include <vector>
#include <memory>
#include "include/errorcode.h"
#include "src/runtime/kernel/arm/control/tensor_array.h"
#include "schema/model_generated.h"

View File

@ -16,7 +16,6 @@
#include "tools/optimizer/fisson/node_out_shapes.h"
#include <vector>
#include <string>
#include "tools/optimizer/parallel/spliter.h"
#include "nnacl/op_base.h"

View File

@ -15,7 +15,6 @@
*/
#include "tools/optimizer/fusion/affine_activation_fusion.h"
#include <memory>
#include "tools/optimizer/common/gllo_utils.h"
#include "ops/fusion/activation.h"
#include "ops/affine.h"

View File

@ -14,8 +14,6 @@
* limitations under the License.
*/
#include "tools/optimizer/fusion/affine_fusion.h"
#include <memory>
#include <vector>
#include "schema/inner/model_generated.h"
#include "ops/affine.h"
#include "src/common/log_adapter.h"