forked from mindspore-Ecosystem/mindspore
!24295 refactor include files
Merge pull request !24295 from zhujingxuan/master
This commit is contained in:
commit
15aa4daa57
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue