From 8f0ad78abba7400abfc9af7eb3ac3909b373ae33 Mon Sep 17 00:00:00 2001 From: hbhu_bin Date: Mon, 20 Feb 2023 16:25:06 +0800 Subject: [PATCH] optimize c++ primitive head files --- .../core/ops/LayerNormBetaGammaBackprop.cc | 21 ++++++++++++-- mindspore/core/ops/LayerNormXBackprop.cc | 15 ++++++++-- mindspore/core/ops/abs.cc | 21 +++++++++++--- mindspore/core/ops/acos.cc | 18 +++++++++--- mindspore/core/ops/acosh.cc | 17 ++++++++++- mindspore/core/ops/adam.cc | 21 +++++++++++++- mindspore/core/ops/adam_no_update_param.cc | 17 +++++++++-- mindspore/core/ops/adam_weight_decay.cc | 21 ++++++++++++-- mindspore/core/ops/adaptive_avg_pool_2d_v1.cc | 20 +++++++++++-- mindspore/core/ops/adaptive_avg_pool_3d.cc | 23 +++++++++++++-- mindspore/core/ops/adaptive_max_pool2d.cc | 22 +++++++++++++-- mindspore/core/ops/adaptive_max_pool3d.cc | 22 ++++++++++++++- mindspore/core/ops/adder.cc | 6 +++- mindspore/core/ops/adjust_contrastv2.cc | 18 ++++++++++-- mindspore/core/ops/adjust_hue.cc | 18 ++++++++++-- mindspore/core/ops/adjust_saturation.cc | 17 +++++++++-- mindspore/core/ops/affine.cc | 8 +++++- mindspore/core/ops/affine_grid.cc | 22 ++++++++++++++- mindspore/core/ops/all_reduce.cc | 19 +++++++++++-- mindspore/core/ops/angle.cc | 23 +++++++++++++-- mindspore/core/ops/angle_atom_energy.cc | 20 ++++++++++++- mindspore/core/ops/apply_ada_max.cc | 21 ++++++++++++-- mindspore/core/ops/apply_adadelta.cc | 19 +++++++++++-- mindspore/core/ops/apply_adagrad.cc | 22 +++++++++++++-- mindspore/core/ops/apply_adagrad_d_a.cc | 21 ++++++++++++-- mindspore/core/ops/apply_adagrad_v2.cc | 21 +++++++++++--- mindspore/core/ops/apply_adam_with_amsgrad.cc | 18 ++++++++++-- mindspore/core/ops/apply_add_sign.cc | 23 +++++++++++++-- mindspore/core/ops/apply_centered_rms_prop.cc | 18 +++++++++++- mindspore/core/ops/apply_ftrl.cc | 19 +++++++++++-- mindspore/core/ops/apply_gradient_descent.cc | 20 ++++++++++--- mindspore/core/ops/apply_keras_momentum.cc | 20 +++++++++++-- mindspore/core/ops/apply_momentum.cc | 22 ++++++++++++++- mindspore/core/ops/apply_power_sign_d.cc | 17 ++++++++++- mindspore/core/ops/apply_proximal_adagrad.cc | 20 +++++++++++-- .../ops/apply_proximal_gradient_descent.cc | 21 ++++++++++++-- mindspore/core/ops/apply_rms_prop.cc | 21 +++++++++++++- mindspore/core/ops/approximate_equal.cc | 18 +++++++++++- mindspore/core/ops/arg_max.cc | 19 +++++++++++-- mindspore/core/ops/arg_min.cc | 23 ++++++++++++++- mindspore/core/ops/arg_min_v2.cc | 16 ++++++++++- mindspore/core/ops/argmax_with_value.cc | 26 +++++++++++++++-- mindspore/core/ops/argmin_with_value.cc | 25 +++++++++++++++-- mindspore/core/ops/asin.cc | 17 +++++++++-- mindspore/core/ops/asinh.cc | 18 ++++++++++-- mindspore/core/ops/assign.cc | 15 ++++++++++ mindspore/core/ops/assign_add.cc | 12 ++++++++ mindspore/core/ops/assign_sub.cc | 13 +++++++++ mindspore/core/ops/atan.cc | 18 +++++++++--- mindspore/core/ops/atan2.cc | 18 ++++++++++-- mindspore/core/ops/atanh.cc | 16 ++++++++--- mindspore/core/ops/attention.cc | 6 +++- mindspore/core/ops/avg_pool.cc | 24 ++++++++++++++-- mindspore/core/ops/avg_pool_3d.cc | 20 ++++++++++++- mindspore/core/ops/avg_pool_v1.cc | 21 +++++++++++--- mindspore/core/ops/bartlett_window.cc | 28 +++++++++++++++++-- mindspore/core/ops/batch_matmul.cc | 25 ++++++++++++++--- mindspore/core/ops/batch_norm.cc | 24 +++++++++++++++- mindspore/core/ops/batch_to_space.cc | 20 ++++++++++++- mindspore/core/ops/batch_to_space_nd.cc | 23 +++++++++++++-- mindspore/core/ops/batch_to_space_nd_v2.cc | 17 ++++++++++- mindspore/core/ops/bce_with_logits_loss.cc | 20 ++++++++++++- mindspore/core/ops/bernoulli.cc | 19 +++++++++++-- mindspore/core/ops/bessel_i0.cc | 16 +++++++++-- mindspore/core/ops/bessel_i0e.cc | 18 +++++++++--- mindspore/core/ops/bessel_i1.cc | 16 +++++++++-- mindspore/core/ops/bessel_i1e.cc | 17 ++++++++--- mindspore/core/ops/bessel_j0.cc | 16 +++++++++-- mindspore/core/ops/bessel_j1.cc | 16 +++++++++-- mindspore/core/ops/bessel_k0.cc | 16 +++++++++-- mindspore/core/ops/bessel_k0e.cc | 16 +++++++++-- mindspore/core/ops/bessel_k1.cc | 16 +++++++++-- mindspore/core/ops/bessel_k1e.cc | 16 +++++++++-- mindspore/core/ops/bessel_y0.cc | 16 +++++++++-- mindspore/core/ops/bessel_y1.cc | 16 +++++++++-- mindspore/core/ops/betainc.cc | 17 +++++++++-- mindspore/core/ops/binary_cross_entropy.cc | 15 +++++++++- mindspore/core/ops/bincount.cc | 17 ++++++++++- mindspore/core/ops/bitwiseand.cc | 15 +++++++++- mindspore/core/ops/bitwiseor.cc | 15 +++++++++- mindspore/core/ops/bitwisexor.cc | 15 +++++++++- mindspore/core/ops/blackman_window.cc | 26 +++++++++++++++-- mindspore/core/ops/bn_training_reduce.cc | 19 +++++++++++-- mindspore/core/ops/bn_training_update.cc | 18 ++++++++++-- mindspore/core/ops/bounding_box_decode.cc | 16 ++++++++++- mindspore/core/ops/bounding_box_encode.cc | 16 ++++++++++- mindspore/core/ops/broadcast.cc | 9 +++--- mindspore/core/ops/broadcast_to.cc | 23 ++++++++++++++- mindspore/core/ops/cauchy.cc | 21 +++++++++++--- mindspore/core/ops/ceil.cc | 15 ++++++++-- mindspore/core/ops/celu.cc | 18 ++++++++++-- mindspore/core/ops/channel_shuffle.cc | 20 +++++++++++-- mindspore/core/ops/check_numerics.cc | 19 ++++++++++--- mindspore/core/ops/check_valid.cc | 18 +++++++++++- mindspore/core/ops/cholesky.cc | 21 ++++++++++++-- mindspore/core/ops/cholesky_inverse_.cc | 20 ++++++++++++- mindspore/core/ops/cholesky_solve.cc | 23 +++++++++++++-- mindspore/core/ops/clip_by_norm.cc | 25 ++++++++++++++++- mindspore/core/ops/clip_by_norm_no_div_sum.cc | 18 ++++++++++-- mindspore/core/ops/clip_by_value.cc | 18 ++++++++++-- mindspore/core/ops/coalesce.cc | 18 ++++++++++-- mindspore/core/ops/col2im.cc | 17 +++++++++-- .../core/ops/combined_non_max_suppression.cc | 25 ++++++++++++++++- mindspore/core/ops/compare_and_bitpack.cc | 19 ++++++++++++- mindspore/core/ops/complex.cc | 19 +++++++++++++ mindspore/core/ops/complex_abs.cc | 22 +++++++++++++-- mindspore/core/ops/concat_offset_v1.cc | 17 ++++++++++- mindspore/core/ops/conj.cc | 1 - mindspore/core/ops/conv2d.cc | 28 +++++++++++++++++-- mindspore/core/ops/conv2d_transpose.cc | 17 +++++++---- mindspore/core/ops/conv3d.cc | 26 +++++++++++++++-- mindspore/core/ops/conv3d_transpose.cc | 23 +++++++++++++-- mindspore/core/ops/convert_to_dynamic.cc | 18 +++++++++++- mindspore/core/ops/coo_to_csr.cc | 16 ++++++++--- mindspore/core/ops/cos.cc | 17 +++++++++-- mindspore/core/ops/cosh.cc | 17 +++++++++-- mindspore/core/ops/count_nonzero.cc | 21 +++++++++++--- mindspore/core/ops/crop_and_resize.cc | 25 +++++++++++++++-- .../core/ops/crop_and_resize_grad_boxes.cc | 19 +++++++++++-- mindspore/core/ops/cross.cc | 24 ++++++++++++++-- mindspore/core/ops/csr_elementwise.cc | 15 +++++++--- mindspore/core/ops/csr_gather.cc | 14 ++++++++-- mindspore/core/ops/csr_mm.cc | 14 ++++++++-- mindspore/core/ops/csr_mv.cc | 14 ++++++++-- mindspore/core/ops/csr_reducesum.cc | 18 +++++++++--- .../core/ops/csr_sparse_matrix_to_dense.cc | 22 +++++++++++++-- .../ops/csr_sparse_matrix_to_sparse_tensor.cc | 18 ++++++++++-- mindspore/core/ops/csr_to_coo.cc | 15 ++++++++-- mindspore/core/ops/ctc_greedy_decoder.cc | 17 ++++++++++- mindspore/core/ops/ctc_loss_v2.cc | 24 ++++++++++++++-- mindspore/core/ops/ctc_loss_v2_grad.cc | 21 ++++++++++++-- mindspore/core/ops/ctcloss.cc | 19 +++++++++++-- mindspore/core/ops/cudnn_gru.cc | 17 ++++++++++- mindspore/core/ops/cummax.cc | 19 ++++++++++++- mindspore/core/ops/cummin.cc | 20 +++++++++++-- mindspore/core/ops/custom.cc | 7 ++++- mindspore/core/ops/data_format_dim_map.cc | 19 +++++++++++-- mindspore/core/ops/data_format_vec_permute.cc | 18 ++++++++++-- mindspore/core/ops/deformable_offsets.cc | 24 ++++++++++++++-- .../core/ops/dense_to_csr_sparse_matrix.cc | 21 ++++++++++++-- .../core/ops/dense_to_sparse_set_operation.cc | 21 ++++++++++++-- mindspore/core/ops/depth_to_space.cc | 21 +++++++++++++- mindspore/core/ops/diag.cc | 18 ++++++++++-- mindspore/core/ops/diag_part.cc | 17 +++++++++-- mindspore/core/ops/diagonal.cc | 3 +- mindspore/core/ops/digamma.cc | 17 ++++++++--- mindspore/core/ops/dilation2d.cc | 27 +++++++++++++++--- mindspore/core/ops/div.cc | 14 ++++++++-- mindspore/core/ops/div_no_nan.cc | 18 ++++++++++-- mindspore/core/ops/dropout.cc | 16 +++++++++-- mindspore/core/ops/dropout_do_mask.cc | 20 +++++++++++-- mindspore/core/ops/dropout_gen_mask.cc | 18 +++++++++++- mindspore/core/ops/dropout_nd.cc | 23 +++++++++++++-- mindspore/core/ops/dtype.cc | 15 ++++++++-- .../ops/dynamic_broadcast_gradient_args.cc | 18 ++++++++++-- mindspore/core/ops/dynamic_broadcast_to.cc | 20 +++++++++++++ mindspore/core/ops/dynamic_gru_v2.cc | 18 +++++++++++- mindspore/core/ops/dynamic_gru_v2_grad.cc | 15 +++++++++- .../ops/dynamic_resize_nearest_neighbor.cc | 15 +++++++++- mindspore/core/ops/dynamic_rnn.cc | 23 ++++++++++++++- mindspore/core/ops/edit_distance.cc | 24 ++++++++++++++-- mindspore/core/ops/eig.cc | 23 +++++++++++++-- mindspore/core/ops/eigh.cc | 23 +++++++++++++-- mindspore/core/ops/einsum.cc | 19 +++++++++++-- mindspore/core/ops/elu.cc | 19 ++++++++++--- mindspore/core/ops/embedding_lookup.cc | 23 +++++++++++++-- mindspore/core/ops/encoder_layer.cc | 6 +++- mindspore/core/ops/equal_count.cc | 18 ++++++++---- mindspore/core/ops/erf.cc | 18 ++++++++++-- mindspore/core/ops/erfc.cc | 18 ++++++++++-- mindspore/core/ops/erfinv.cc | 18 ++++++++++-- mindspore/core/ops/euclidean_norm.cc | 23 ++++++++++++++- mindspore/core/ops/expand.cc | 25 +++++++++++++++-- mindspore/core/ops/expm1.cc | 16 +++++++++-- mindspore/core/ops/extract_glimpse.cc | 25 +++++++++++++---- mindspore/core/ops/extract_image_patches.cc | 21 +++++++++++++- mindspore/core/ops/extract_volume_patches.cc | 22 ++++++++++++++- mindspore/core/ops/eye.cc | 17 +++++++++-- mindspore/core/ops/fake_quant_param.cc | 19 ++++++++++--- ...ake_quant_with_min_max_vars_per_channel.cc | 7 ++++- mindspore/core/ops/fast_gelu.cc | 14 ++++++++-- mindspore/core/ops/fft_with_size.cc | 25 +++++++++++++++-- mindspore/core/ops/fill_diagonal.cc | 22 ++++++++++++++- mindspore/core/ops/fill_v2.cc | 19 ++++++++++++- mindspore/core/ops/fills.cc | 16 +++++++++-- mindspore/core/ops/float_status.cc | 19 ++++++++++--- mindspore/core/ops/floor_div.cc | 17 +++++++++-- mindspore/core/ops/fmin.cc | 16 +++++++++-- mindspore/core/ops/format_transpose.cc | 7 ++++- mindspore/core/ops/fractional_avg_pool.cc | 23 +++++++++++++-- mindspore/core/ops/fractional_max_pool.cc | 25 +++++++++++++++-- .../fractional_max_pool3d_with_fixed_ksize.cc | 22 +++++++++++++-- .../fractional_max_pool_with_fixed_ksize.cc | 23 +++++++++++++-- mindspore/core/ops/fused_ada_factor.cc | 19 +++++++++++-- mindspore/core/ops/fused_batch_norm.cc | 8 ++++-- mindspore/core/ops/fused_matmul_bias_add.cc | 18 +++++++++++- mindspore/core/ops/fused_sparse_ftrl.cc | 21 +++++++++++++- .../core/ops/fused_sparse_proximal_adagrad.cc | 21 +++++++++++++- mindspore/core/ops/fusion/activation.cc | 10 ++++--- mindspore/core/ops/fusion/add_fusion.cc | 9 ++++-- mindspore/core/ops/fusion/adder_fusion.cc | 8 +++++- mindspore/core/ops/fusion/arg_max_fusion.cc | 7 ++++- mindspore/core/ops/fusion/arg_min_fusion.cc | 7 ++++- .../ops/fusion/bias_dropout_add_fusion.cc | 9 +++--- .../fusion/conv2d_backprop_filter_fusion.cc | 9 ++++-- .../fusion/conv2d_backprop_input_fusion.cc | 8 ++++-- mindspore/core/ops/fusion/conv2d_fusion.cc | 8 ++++-- .../ops/fusion/conv2d_transpose_fusion.cc | 9 +++++- mindspore/core/ops/fusion/div_fusion.cc | 9 ++++-- .../ops/fusion/embedding_lookup_fusion.cc | 8 ++++-- mindspore/core/ops/fusion/exp_fusion.cc | 9 ++++-- mindspore/core/ops/fusion/groupnorm_fusion.cc | 10 ++++--- .../core/ops/fusion/l2_normalize_fusion.cc | 9 ++++-- .../core/ops/fusion/layer_norm_fusion.cc | 7 ++++- mindspore/core/ops/fusion/mat_mul_fusion.cc | 11 ++++---- mindspore/core/ops/fusion/mul_fusion.cc | 10 +++++-- mindspore/core/ops/fusion/pad_fusion.cc | 11 +++++--- mindspore/core/ops/fusion/partial_fusion.cc | 7 ++++- mindspore/core/ops/fusion/pow_fusion.cc | 9 ++++-- mindspore/core/ops/fusion/prelu_fusion.cc | 12 +++++--- mindspore/core/ops/fusion/scale_fusion.cc | 10 +++++-- mindspore/core/ops/fusion/sub_fusion.cc | 9 ++++-- mindspore/core/ops/fusion/tile_fusion.cc | 9 ++++-- mindspore/core/ops/fusion/topk_fusion.cc | 9 ++++-- mindspore/core/ops/gather.cc | 22 +++++++++++++-- mindspore/core/ops/gather_d.cc | 26 ++++++++++++++++- mindspore/core/ops/gelu.cc | 15 ++++++++-- mindspore/core/ops/geqrf.cc | 20 +++++++++---- mindspore/core/ops/ger.cc | 16 ++++++++++- mindspore/core/ops/getnext.cc | 1 - mindspore/core/ops/glu.cc | 18 +++++++++++- .../core/ops/gpu_convert_to_dynamic_shape.cc | 18 +++++++++--- mindspore/core/ops/grad/abs_grad.cc | 20 +++++++++++-- mindspore/core/ops/grad/acos_grad.cc | 20 ++++++++++--- mindspore/core/ops/grad/acosh_grad.cc | 20 ++++++++++--- .../ops/grad/adaptive_avg_pool_2d_grad.cc | 17 +++++++++-- .../ops/grad/adaptive_avg_pool_2d_grad_v1.cc | 17 +++++++++-- .../ops/grad/adaptive_avg_pool_3d_grad.cc | 21 ++++++++++++-- .../core/ops/grad/adaptive_max_pool2d_grad.cc | 18 +++++++++++- .../ops/grad/adaptive_max_pool_3d_grad.cc | 18 ++++++++++-- mindspore/core/ops/grad/affine_grid_grad.cc | 26 +++++++++++++++-- mindspore/core/ops/grad/asin_grad.cc | 20 +++++++++++-- mindspore/core/ops/grad/asinh_grad.cc | 20 +++++++++++-- mindspore/core/ops/grad/atan_grad.cc | 20 +++++++++++-- mindspore/core/ops/grad/avg_pool_grad.cc | 16 +++++++++-- mindspore/core/ops/grad/batch_norm_grad.cc | 20 ++++++++++++- .../core/ops/grad/batch_norm_grad_grad.cc | 17 ++++++++++- mindspore/core/ops/grad/bias_add_grad.cc | 25 +++++++++++++++-- .../ops/grad/binary_cross_entropy_grad.cc | 17 ++++++++++- mindspore/core/ops/grad/bn_infer_grad.cc | 15 ++++++++-- .../core/ops/grad/bn_training_reduce_grad.cc | 20 ++++++++++++- .../core/ops/grad/bn_training_update_grad.cc | 18 ++++++++---- mindspore/core/ops/grad/cdist_grad.cc | 20 ++++++++++++- mindspore/core/ops/grad/cholesky_grad.cc | 15 ++++++++-- .../core/ops/grad/de_conv2d_grad_filter.cc | 6 +++- .../core/ops/grad/deformable_offsets_grad.cc | 16 +++++++++-- .../ops/grad/dilation2d_backprop_filter.cc | 24 +++++++++++++--- .../ops/grad/dilation2d_backprop_input.cc | 24 +++++++++++++--- mindspore/core/ops/grad/dropout_grad.cc | 18 ++++++++++-- mindspore/core/ops/grad/dynamic_rnn_grad.cc | 20 ++++++++++++- mindspore/core/ops/grad/einsum_grad.cc | 18 +++++++++++- mindspore/core/ops/grad/elu_grad.cc | 23 +++++++++++++-- mindspore/core/ops/grad/fast_gelu_grad.cc | 16 +++++++++-- .../core/ops/grad/fractional_avg_pool_grad.cc | 24 ++++++++++++++-- ...tional_max_pool3d_grad_with_fixed_ksize.cc | 18 ++++++++++-- .../core/ops/grad/fractional_max_pool_grad.cc | 20 +++++++++++-- ...actional_max_pool_grad_with_fixed_ksize.cc | 19 +++++++++++-- mindspore/core/ops/grad/gather_d_grad.cc | 17 ++++++++++- mindspore/core/ops/grad/gather_d_grad_v2.cc | 16 ++++++++++- mindspore/core/ops/grad/gelu_grad.cc | 17 +++++++---- mindspore/core/ops/grad/glu_grad.cc | 14 +++++++++- .../core/ops/grad/grid_sampler_2d_grad.cc | 23 ++++++++++++++- .../core/ops/grad/grid_sampler_3d_grad.cc | 22 ++++++++++++++- .../core/ops/grad/group_conv2d_grad_input.cc | 1 - mindspore/core/ops/grad/hshrink_grad.cc | 19 +++++++++++-- mindspore/core/ops/grad/hsigmoid_grad.cc | 14 ++++++++-- mindspore/core/ops/grad/hswish_grad.cc | 16 +++++++++-- mindspore/core/ops/grad/igammagrada.cc | 15 +++++++++- .../core/ops/grad/instance_norm_v2_grad.cc | 22 ++++++++++++--- mindspore/core/ops/grad/inv_grad.cc | 20 +++++++++++-- mindspore/core/ops/grad/kl_div_loss_grad.cc | 22 +++++++++++++-- mindspore/core/ops/grad/l2_normalize_grad.cc | 19 +++++++++++-- mindspore/core/ops/grad/layer_norm_grad.cc | 20 ++++++++++++- .../core/ops/grad/layer_norm_grad_grad.cc | 20 ++++++++++++- mindspore/core/ops/grad/log_softmax_grad.cc | 23 ++++++++++++++- mindspore/core/ops/grad/logit_grad.cc | 21 ++++++++++---- mindspore/core/ops/grad/lrn_grad.cc | 22 +++++++++++++-- mindspore/core/ops/grad/lstm_grad.cc | 23 +++++++++++++-- mindspore/core/ops/grad/lstm_grad_data.cc | 24 ++++++++++++++-- mindspore/core/ops/grad/lstm_grad_weight.cc | 21 ++++++++++++-- mindspore/core/ops/grad/lu_unpack_grad.cc | 18 +++++++++++- mindspore/core/ops/grad/masked_select_grad.cc | 21 ++++++++++---- .../ops/grad/max_pool3d_grad_with_argmax.cc | 23 ++++++++++++++- mindspore/core/ops/grad/max_pool_3d_grad.cc | 18 +++++++++++- .../core/ops/grad/max_pool_3d_grad_grad.cc | 16 ++++++++++- mindspore/core/ops/grad/max_pool_grad.cc | 17 ++++++++++- mindspore/core/ops/grad/max_pool_grad_grad.cc | 18 +++++++++++- .../grad/max_pool_grad_grad_with_argmax.cc | 16 +++++++++-- mindspore/core/ops/grad/max_pool_grad_v1.cc | 16 ++++++++++- .../ops/grad/max_pool_grad_with_argmax.cc | 18 +++++++++++- mindspore/core/ops/grad/median_grad.cc | 21 ++++++++++++-- mindspore/core/ops/grad/minimum_grad.cc | 19 ++++++++++++- mindspore/core/ops/grad/mirror_pad_grad.cc | 19 +++++++++++-- .../core/ops/grad/multi_margin_loss_grad.cc | 23 ++++++++++++++- .../ops/grad/multilabel_margin_loss_grad.cc | 21 +++++++++++++- mindspore/core/ops/grad/mvlgamma_grad.cc | 19 +++++++++++-- mindspore/core/ops/grad/neg_grad.cc | 4 ++- mindspore/core/ops/grad/nllloss_grad.cc | 23 +++++++++++++-- .../core/ops/grad/p_s_r_o_i_pooling_grad.cc | 19 ++++++++++--- mindspore/core/ops/grad/pdist_grad.cc | 21 +++++++++++++- mindspore/core/ops/grad/pool_grad.cc | 13 ++++++++- mindspore/core/ops/grad/pooling_grad.cc | 7 ++++- mindspore/core/ops/grad/prelu_grad.cc | 19 +++++++++++-- mindspore/core/ops/grad/random_gamma_grad.cc | 17 ++++++++++- mindspore/core/ops/grad/reciprocal_grad.cc | 17 +++++++++-- mindspore/core/ops/grad/relu6_grad.cc | 19 +++++++++++-- mindspore/core/ops/grad/relu_grad.cc | 15 +++++++++- mindspore/core/ops/grad/relu_grad_v2.cc | 21 +++++++++++--- .../core/ops/grad/resize_bicubic_grad.cc | 18 ++++++++++-- .../core/ops/grad/resize_bilinear_grad.cc | 23 +++++++++++++-- .../core/ops/grad/resize_linear_1d_grad.cc | 17 +++++++++-- .../ops/grad/resize_nearest_neighbor_grad.cc | 20 +++++++++++-- .../grad/resize_nearest_neighbor_v2_grad.cc | 23 +++++++++++++-- mindspore/core/ops/grad/rsqrt_grad.cc | 19 ++++++++++--- .../core/ops/grad/scale_and_translate_grad.cc | 20 +++++++++++-- .../sigmoid_cross_entropy_with_logits_grad.cc | 19 +++++++++++-- mindspore/core/ops/grad/sigmoid_grad.cc | 18 +++++++++--- .../core/ops/grad/smooth_l1_loss_grad.cc | 18 +++++++++++- .../core/ops/grad/soft_margin_loss_grad.cc | 21 ++++++++++++-- mindspore/core/ops/grad/soft_shrink_grad.cc | 17 +++++++++-- mindspore/core/ops/grad/softmax_grad.cc | 23 ++++++++++++++- mindspore/core/ops/grad/softplus_grad.cc | 17 +++++++++-- mindspore/core/ops/grad/sparse_add_grad.cc | 17 ++++++++++- .../ops/grad/sparse_fill_empty_rows_grad.cc | 21 +++++++++++--- .../core/ops/grad/sparse_segment_mean_grad.cc | 21 ++++++++++++-- .../ops/grad/sparse_segment_sqrt_n_grad.cc | 22 +++++++++++++-- .../core/ops/grad/sparse_segment_sum_grad.cc | 22 +++++++++++++-- mindspore/core/ops/grad/sparse_slice_grad.cc | 22 +++++++++++---- mindspore/core/ops/grad/sqrt_grad.cc | 17 ++++++++++- .../core/ops/grad/strided_slice_v2_grad.cc | 17 +++++++++++ .../core/ops/grad/sync_batch_norm_grad.cc | 18 ++++++++++-- mindspore/core/ops/grad/tanh_grad.cc | 15 ++++++++-- mindspore/core/ops/grad/trace_grad.cc | 14 +++++++++- .../core/ops/grad/upsample_nearest_3d_grad.cc | 19 ++++++++++++- .../ops/grad/upsample_trilinear_3d_grad.cc | 19 ++++++++++++- mindspore/core/ops/greater.cc | 1 - mindspore/core/ops/grid_sampler_2d.cc | 22 ++++++++++++++- mindspore/core/ops/grid_sampler_3d.cc | 20 ++++++++++++- mindspore/core/ops/gru_v2.cc | 15 ++++++++-- mindspore/core/ops/hamming_window.cc | 24 +++++++++++++++- mindspore/core/ops/heaviside.cc | 16 +++++++++-- mindspore/core/ops/histogram.cc | 21 +++++++++++--- mindspore/core/ops/histogram_fixed_width.cc | 24 ++++++++++++++-- mindspore/core/ops/hshrink.cc | 17 +++++++++-- mindspore/core/ops/hsigmoid.cc | 17 ++++++++++- mindspore/core/ops/hsv_to_rgb.cc | 18 +++++++++++- mindspore/core/ops/hswish.cc | 18 ++++++++++-- mindspore/core/ops/identity_n.cc | 16 ++++++++++- mindspore/core/ops/ifmr.cc | 22 ++++++++++++++- mindspore/core/ops/igamma.cc | 15 +++++++++- mindspore/core/ops/igammac.cc | 15 +++++++++- mindspore/core/ops/imag.cc | 21 +++++++++++++- mindspore/core/ops/in_top_k.cc | 21 +++++++++++++- mindspore/core/ops/index_add.cc | 21 ++++++++++++-- mindspore/core/ops/index_put.cc | 17 +++++++++-- mindspore/core/ops/inplace_index_add.cc | 19 +++++++++++-- mindspore/core/ops/inplace_op_v2.cc | 21 ++++++++++++-- mindspore/core/ops/instance_norm.cc | 21 ++++++++++++-- mindspore/core/ops/instance_norm_grad.cc | 20 +++++++++++-- mindspore/core/ops/instance_norm_v2.cc | 23 ++++++++++++--- mindspore/core/ops/inv.cc | 14 +++++++++- mindspore/core/ops/invert.cc | 16 +++++++++-- mindspore/core/ops/iou.cc | 20 +++++++++++-- mindspore/core/ops/is_finite.cc | 20 +++++++++++-- mindspore/core/ops/is_inf.cc | 18 +++++++++--- mindspore/core/ops/is_nan.cc | 17 +++++++++-- mindspore/core/ops/kl_div_loss.cc | 19 ++++++++++++- mindspore/core/ops/l2_loss.cc | 15 +++++++++- mindspore/core/ops/l2_normalize.cc | 22 +++++++++++++-- mindspore/core/ops/lamb.cc | 18 +++++++++++- mindspore/core/ops/lars_v2_update.cc | 19 ++++++++++++- mindspore/core/ops/layer_norm.cc | 21 +++++++++++++- .../ops/layer_norm_beta_gamma_backprop_v2.cc | 22 +++++++++++++-- .../core/ops/layer_norm_x_backprop_v2.cc | 17 +++++++++-- mindspore/core/ops/lcm.cc | 14 ++++++++-- mindspore/core/ops/left_shift.cc | 21 ++++++++++++-- mindspore/core/ops/less_equal.cc | 14 +++++++++- mindspore/core/ops/lgamma.cc | 21 ++++++++++---- mindspore/core/ops/lin_space.cc | 22 ++++++++++++++- mindspore/core/ops/linear_sum_assignment.cc | 20 +++++++++++-- mindspore/core/ops/list_append.cc | 13 +++++++-- mindspore/core/ops/list_diff.cc | 21 +++++++++++--- mindspore/core/ops/log_matrix_determinant.cc | 19 +++++++++++-- mindspore/core/ops/log_normal_reverse.cc | 17 +++++++++-- mindspore/core/ops/log_softmax.cc | 22 +++++++++++++-- mindspore/core/ops/log_space.cc | 23 +++++++++++++-- mindspore/core/ops/log_space.h | 1 - .../core/ops/log_uniform_candidate_sampler.cc | 20 +++++++++++-- mindspore/core/ops/logit.cc | 21 ++++++++++---- mindspore/core/ops/lower_bound.cc | 19 ++++++++++++- mindspore/core/ops/lp_norm.cc | 19 ++++++++++++- mindspore/core/ops/lrn.cc | 20 +++++++++++-- mindspore/core/ops/lstm.cc | 19 ++++++++++++- mindspore/core/ops/lstm_v2.cc | 15 ++++++++-- mindspore/core/ops/lstsq.cc | 16 ++++++++++- mindspore/core/ops/lu.cc | 22 +++++++++++++-- mindspore/core/ops/lu_scipy.cc | 21 ++++++++++++-- mindspore/core/ops/lu_solve_.cc | 20 ++++++++++++- mindspore/core/ops/lu_unpack.cc | 19 ++++++++++++- mindspore/core/ops/make_cootensor.cc | 16 +++++++---- mindspore/core/ops/make_csrtensor.cc | 16 +++++++---- mindspore/core/ops/make_map_parameter.cc | 15 ++++++++-- mindspore/core/ops/make_range.cc | 1 - mindspore/core/ops/map_cache_idx.cc | 20 +++++++++++-- mindspore/core/ops/map_tensor_erase.cc | 15 ++++++++-- mindspore/core/ops/map_tensor_get.cc | 16 +++++++++-- mindspore/core/ops/map_tensor_get_data.cc | 14 ++++++++-- mindspore/core/ops/map_tensor_get_grad.cc | 11 ++++++-- mindspore/core/ops/map_tensor_get_keys.cc | 14 ++++++++-- mindspore/core/ops/map_tensor_get_values.cc | 14 ++++++++-- mindspore/core/ops/map_tensor_put.cc | 16 +++++++++-- mindspore/core/ops/map_uniform.cc | 17 +++++++++-- mindspore/core/ops/masked_scatter.cc | 13 +++++++-- mindspore/core/ops/mat_mul.cc | 23 +++++++++++++-- mindspore/core/ops/matrix_determinant.cc | 17 +++++++++-- mindspore/core/ops/matrix_exp.cc | 18 ++++++++++-- mindspore/core/ops/matrix_inverse.cc | 21 ++++++++++++-- mindspore/core/ops/matrix_logarithm.cc | 19 +++++++++++-- mindspore/core/ops/matrix_power.cc | 17 +++++++++-- mindspore/core/ops/matrix_solve.cc | 19 ++++++++++++- mindspore/core/ops/matrix_solve_ls.cc | 15 +++++++++- mindspore/core/ops/matrix_triangular_solve.cc | 20 ++++++++++++- mindspore/core/ops/max_pool.cc | 22 ++++++++++++--- mindspore/core/ops/max_pool3d.cc | 24 ++++++++++++++-- mindspore/core/ops/max_pool3d_with_argmax.cc | 28 +++++++++++++++++-- mindspore/core/ops/max_pool_v1.cc | 21 +++++++++++--- mindspore/core/ops/max_pool_with_argmax.cc | 25 +++++++++++++++-- mindspore/core/ops/median.cc | 22 +++++++++++++-- mindspore/core/ops/minimum.cc | 16 +++++++++-- mindspore/core/ops/mirror_pad.cc | 23 +++++++++++++-- mindspore/core/ops/mod.cc | 19 ++++++++++--- mindspore/core/ops/multi_margin_loss.cc | 23 ++++++++++++++- mindspore/core/ops/multilabel_margin_loss.cc | 22 ++++++++++++++- mindspore/core/ops/multinomial.cc | 27 ++++++++++++++---- .../core/ops/multinomial_with_replacement.cc | 19 +++++++++---- mindspore/core/ops/mvlgamma.cc | 19 ++++++++++--- mindspore/core/ops/nan_to_num.cc | 19 +++++++++++-- mindspore/core/ops/neg.cc | 19 +++++++++++-- mindspore/core/ops/nllloss.cc | 24 ++++++++++++++-- mindspore/core/ops/nms_with_mask.cc | 19 +++++++++++-- mindspore/core/ops/no_repeat_ngram.cc | 21 ++++++++++++-- mindspore/core/ops/non_deterministic_ints.cc | 23 +++++++++++++-- mindspore/core/ops/non_max_suppression_v3.cc | 17 +++++++++-- mindspore/core/ops/non_zero.cc | 18 ++++++++++-- mindspore/core/ops/non_zero_with_value.cc | 19 ++++++++++--- .../core/ops/non_zero_with_value_shape.cc | 18 ++++++++++-- mindspore/core/ops/npu_clear_float_status.cc | 18 ++++++++++-- mindspore/core/ops/npu_get_float_status.cc | 18 ++++++++++-- mindspore/core/ops/nth_element.cc | 22 +++++++++++++-- mindspore/core/ops/nuclear_norm.cc | 20 +++++++++++-- mindspore/core/ops/one_hot.cc | 23 ++++++++++++++- mindspore/core/ops/ones.cc | 18 +++++++++++- mindspore/core/ops/ones_like.cc | 1 - mindspore/core/ops/op_utils.cc | 16 ++++++++++- mindspore/core/ops/opaquePredicate.cc | 18 ++++++++---- mindspore/core/ops/orgqr.cc | 15 +++++++++- mindspore/core/ops/ormqr.cc | 18 +++++++++++- mindspore/core/ops/pack.cc | 9 +++++- mindspore/core/ops/pad.cc | 21 +++++++++++++- mindspore/core/ops/pad_v3.cc | 27 ++++++++++++++++-- mindspore/core/ops/padding.cc | 18 ++++++++++-- .../ops/parameterized_truncated_normal.cc | 26 +++++++++++++++-- mindspore/core/ops/pdist.cc | 21 +++++++++++++- mindspore/core/ops/polar.cc | 20 +++++++++++-- mindspore/core/ops/polygamma.cc | 20 +++++++++---- mindspore/core/ops/population_count.cc | 17 +++++++++-- mindspore/core/ops/primitive_c.cc | 7 ++++- mindspore/core/ops/print.cc | 2 -- mindspore/core/ops/priority_replay_buffer.cc | 1 - mindspore/core/ops/ps_roi_pooling.cc | 20 +++++++++++-- mindspore/core/ops/qr.cc | 24 +++++++++++++++- mindspore/core/ops/quant_dtype_cast.cc | 20 ++++++++++++- mindspore/core/ops/quantile.cc | 21 ++++++++++++-- mindspore/core/ops/ragged_range.cc | 27 +++++++++++++++--- mindspore/core/ops/ragged_tensor_to_sparse.cc | 21 +++++++++++--- mindspore/core/ops/random_categorical.cc | 26 ++++++++++++++++- mindspore/core/ops/random_choice_with_mask.cc | 26 +++++++++++++++-- mindspore/core/ops/random_gamma.cc | 25 +++++++++++++++-- mindspore/core/ops/random_poisson.cc | 25 ++++++++++++++--- mindspore/core/ops/random_standard_laplace.cc | 21 +++++++++++++- mindspore/core/ops/randperm_v2.cc | 23 ++++++++++++++- mindspore/core/ops/range.cc | 24 ++++++++++++++-- mindspore/core/ops/range_v2.cc | 24 ++++++++++++++-- mindspore/core/ops/real.cc | 21 +++++++++++++- mindspore/core/ops/reduce_scatter.cc | 19 ++++++++++++- mindspore/core/ops/reduce_std.cc | 20 +++++++++++-- mindspore/core/ops/relu_v2.cc | 23 ++++++++++++--- mindspore/core/ops/reservoir_replay_buffer.cc | 20 +++++++++++-- mindspore/core/ops/resize_area.cc | 25 ++++++++++++++--- mindspore/core/ops/resize_bicubic.cc | 21 ++++++++++++-- mindspore/core/ops/resize_linear_1d.cc | 25 +++++++++++++++-- .../core/ops/resize_nearest_neighbor_v2.cc | 24 ++++++++++++++-- mindspore/core/ops/reverse_sequence.cc | 20 ++++++++++++- mindspore/core/ops/rint.cc | 15 ++++++++-- mindspore/core/ops/roi_align.cc | 22 +++++++++++++-- mindspore/core/ops/roll.cc | 20 +++++++++++-- mindspore/core/ops/round.cc | 15 ++++++++-- mindspore/core/ops/rpc_send.cc | 9 ++++-- mindspore/core/ops/rsqrt.cc | 18 ++++++++++-- .../ops/sample_distorted_bounding_box_v2.cc | 21 ++++++++++++-- mindspore/core/ops/scalar_bool.cc | 18 ++++++++++-- mindspore/core/ops/scalar_summary.cc | 17 ++++++++++- mindspore/core/ops/scalar_to_tensor.cc | 20 +++++++++++-- mindspore/core/ops/scale.cc | 7 ++++- mindspore/core/ops/scale_and_translate.cc | 25 +++++++++++++++-- mindspore/core/ops/scatter_elements.cc | 18 ++++++++++-- mindspore/core/ops/search_sorted.cc | 24 ++++++++++++---- mindspore/core/ops/segment_arithmetic.cc | 25 +++++++++++++++-- mindspore/core/ops/select.cc | 21 +++++++++++++- mindspore/core/ops/selu.cc | 18 +++++++++--- mindspore/core/ops/sequence_add.cc | 13 +++++++-- mindspore/core/ops/sequence_add_offset.cc | 15 ++++++++-- mindspore/core/ops/sequence_count.cc | 15 ++++++++-- mindspore/core/ops/sequence_getitem.cc | 16 +++++++++-- mindspore/core/ops/sequence_index.cc | 16 +++++++++-- mindspore/core/ops/sequence_len.cc | 14 ++++++++-- mindspore/core/ops/sequence_mul.cc | 16 +++++++++-- mindspore/core/ops/sequence_slice.cc | 13 +++++++-- mindspore/core/ops/sequence_slice_grad.cc | 13 +++++++-- mindspore/core/ops/sequence_slice_setitem.cc | 13 +++++++-- mindspore/core/ops/sequence_to_tensor.cc | 20 +++++++++++-- mindspore/core/ops/sequence_zeros_like.cc | 15 +++++++--- mindspore/core/ops/sgd.cc | 19 ++++++++++++- mindspore/core/ops/shape.cc | 18 +++++++++++- mindspore/core/ops/sigmoid.cc | 15 ++++++++-- .../ops/sigmoid_cross_entropy_with_logits.cc | 20 ++++++++++++- mindspore/core/ops/sign.cc | 19 +++++++++++-- mindspore/core/ops/silu.cc | 16 +++++++++-- mindspore/core/ops/sin.cc | 15 ++++++++-- mindspore/core/ops/sinc.cc | 17 +++++++++-- mindspore/core/ops/sinh.cc | 17 +++++++++-- mindspore/core/ops/size.cc | 2 +- mindspore/core/ops/slice.cc | 24 ++++++++++++++-- mindspore/core/ops/smooth_l1_loss.cc | 21 ++++++++++++-- mindspore/core/ops/soft_margin_loss.cc | 22 +++++++++++++-- mindspore/core/ops/soft_shrink.cc | 16 +++++++++-- mindspore/core/ops/softmax.cc | 22 +++++++++++++-- .../ops/softmax_cross_entropy_with_logits.cc | 22 +++++++++++++-- mindspore/core/ops/softplus.cc | 15 ++++++++-- mindspore/core/ops/softsign.cc | 19 ++++++++++--- mindspore/core/ops/solve_triangular.cc | 20 +++++++++++-- mindspore/core/ops/sort.cc | 22 +++++++++++++-- mindspore/core/ops/space_to_batch.cc | 22 +++++++++++++-- mindspore/core/ops/space_to_batch_nd.cc | 22 +++++++++++++-- mindspore/core/ops/space_to_depth.cc | 23 ++++++++++++++- mindspore/core/ops/sparse_add.cc | 17 +++++++++-- mindspore/core/ops/sparse_addmm.cc | 18 +++++++++++- mindspore/core/ops/sparse_apply_adadelta.cc | 21 ++++++++++++-- mindspore/core/ops/sparse_apply_adagrad.cc | 22 +++++++++++++-- mindspore/core/ops/sparse_apply_adagrad_v2.cc | 22 +++++++++++++-- .../ops/sparse_apply_centered_rms_prop.cc | 18 +++++++++++- mindspore/core/ops/sparse_apply_ftrl.cc | 22 ++++++++++++++- mindspore/core/ops/sparse_apply_momentum.cc | 19 ++++++++++++- .../core/ops/sparse_apply_proximal_adagrad.cc | 19 ++++++++++++- mindspore/core/ops/sparse_apply_r_m_s_prop.cc | 25 +++++++++++++++-- .../core/ops/sparse_count_sparse_output.cc | 22 +++++++++++---- mindspore/core/ops/sparse_cross.cc | 19 +++++++++++-- .../core/ops/sparse_dense_cwise_arithmetic.cc | 16 +++++++++-- mindspore/core/ops/sparse_fill_empty_rows.cc | 23 +++++++++++++-- mindspore/core/ops/sparse_matrix_add.cc | 22 ++++++++++++++- mindspore/core/ops/sparse_matrix_mat_mul.cc | 22 +++++++++++++-- mindspore/core/ops/sparse_matrix_mul.cc | 14 +++++++--- mindspore/core/ops/sparse_matrix_nnz.cc | 16 +++++++++-- .../core/ops/sparse_matrix_ordering_amd.cc | 18 +++++++++++- mindspore/core/ops/sparse_matrix_softmax.cc | 14 +++++++--- .../core/ops/sparse_matrix_sparse_mat_mul.cc | 20 ++++++++++++- mindspore/core/ops/sparse_matrix_transpose.cc | 19 ++++++++++++- mindspore/core/ops/sparse_reorder.cc | 22 +++++++++++++-- mindspore/core/ops/sparse_reshape.cc | 18 +++++++++--- mindspore/core/ops/sparse_segment_mean.cc | 21 +++++++++++++- .../sparse_segment_mean_with_num_segments.cc | 16 +++++++++-- mindspore/core/ops/sparse_segment_sqrt_n.cc | 20 ++++++++++--- ...sparse_segment_sqrt_n_with_num_segments.cc | 18 ++++++++++-- mindspore/core/ops/sparse_segment_sum.cc | 22 ++++++++++++++- .../sparse_segment_sum_with_num_segments.cc | 19 +++++++++++-- mindspore/core/ops/sparse_slice.cc | 24 ++++++++++++---- mindspore/core/ops/sparse_softmax.cc | 22 +++++++++++++-- ...parse_softmax_cross_entropy_with_logits.cc | 20 ++++++++++++- ...se_softmax_cross_entropy_with_logits_v2.cc | 18 ++++++++++-- .../core/ops/sparse_sparse_arithmetic.cc | 20 ++++++++++--- mindspore/core/ops/sparse_split.cc | 17 ++++++++++- mindspore/core/ops/sparse_tensor_dense_add.cc | 13 ++++++++- .../core/ops/sparse_tensor_dense_mat_mul.cc | 27 ++++++++++++++++++ .../ops/sparse_tensor_to_csr_sparse_matrix.cc | 23 +++++++++++---- mindspore/core/ops/splice.cc | 8 +++++- mindspore/core/ops/split.cc | 20 ++++++++++++- mindspore/core/ops/split_v.cc | 22 +++++++++++++-- mindspore/core/ops/split_with_overlap.cc | 7 ++++- mindspore/core/ops/square.cc | 21 +++++++++++++- mindspore/core/ops/square_sum_all.cc | 22 ++++++++++++++- mindspore/core/ops/square_sum_v1.cc | 17 +++++++++-- mindspore/core/ops/squeeze.cc | 22 ++++++++++++++- mindspore/core/ops/sspaddmm.cc | 24 +++++++++++++++- mindspore/core/ops/stack.cc | 22 +++++++++++++-- mindspore/core/ops/stft.cc | 23 +++++++++++++-- mindspore/core/ops/strided_slice.cc | 24 ++++++++++++++-- mindspore/core/ops/strided_slice_v2.cc | 22 +++++++++++++-- mindspore/core/ops/sub_and_filer.cc | 23 +++++++++++---- mindspore/core/ops/svd.cc | 22 +++++++++++++-- mindspore/core/ops/sync_batch_norm.cc | 22 +++++++++++++-- mindspore/core/ops/tan.cc | 17 +++++++++-- mindspore/core/ops/tanh.cc | 17 +++++++++-- mindspore/core/ops/tensor_array.cc | 7 ++++- mindspore/core/ops/tensor_copy_slices.cc | 13 +++++++-- mindspore/core/ops/tensor_shape.cc | 20 ++++++++++++- mindspore/core/ops/tensor_summary.cc | 18 +++++++++++- mindspore/core/ops/tensor_to_scalar.cc | 17 +++++++++-- mindspore/core/ops/trace.cc | 18 +++++++++++- mindspore/core/ops/tridiagonal_matmul.cc | 13 ++++++++- mindspore/core/ops/tridiagonal_solve.cc | 23 +++++++++++++-- mindspore/core/ops/tril_indices.cc | 21 +++++++++++--- mindspore/core/ops/triplet_margin_loss.cc | 25 ++++++++++++++++- mindspore/core/ops/triu.cc | 23 ++++++++++++--- mindspore/core/ops/triu_indices.cc | 21 +++++++++++--- mindspore/core/ops/trunc.cc | 16 +++++++++-- mindspore/core/ops/truncate_div.cc | 19 +++++++++++-- mindspore/core/ops/truncate_mod.cc | 17 +++++++++-- mindspore/core/ops/truncated_normal.cc | 26 +++++++++++++++-- mindspore/core/ops/uniform.cc | 22 +++++++++++++-- .../core/ops/uniform_candidate_sampler.cc | 26 +++++++++++++++-- mindspore/core/ops/unique_with_pad.cc | 19 +++++++++++-- mindspore/core/ops/unravel_index.cc | 21 +++++++++++--- .../core/ops/unsorted_segment_arithmetic.cc | 23 ++++++++++++++- mindspore/core/ops/upper_bound.cc | 19 ++++++++++++- .../core/ops/upsample_interpolating_3d.cc | 21 +++++++++++++- mindspore/core/ops/vmap_assign.cc | 22 ++++++++++++++- mindspore/core/ops/xdivy.cc | 15 ++++++++-- mindspore/core/ops/xlogy.cc | 15 ++++++++-- mindspore/core/ops/zeros.cc | 18 +++++++++++- mindspore/core/ops/zeros_like.cc | 14 ++++++++-- mindspore/core/ops/zeta.cc | 18 ++++++++++-- 641 files changed, 10344 insertions(+), 1393 deletions(-) diff --git a/mindspore/core/ops/LayerNormBetaGammaBackprop.cc b/mindspore/core/ops/LayerNormBetaGammaBackprop.cc index d671006f9c1..462976fdd38 100644 --- a/mindspore/core/ops/LayerNormBetaGammaBackprop.cc +++ b/mindspore/core/ops/LayerNormBetaGammaBackprop.cc @@ -15,12 +15,29 @@ */ #include "ops/LayerNormBetaGammaBackprop.h" + #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/LayerNormXBackprop.cc b/mindspore/core/ops/LayerNormXBackprop.cc index 5e626db1cd9..191b533e9fa 100644 --- a/mindspore/core/ops/LayerNormXBackprop.cc +++ b/mindspore/core/ops/LayerNormXBackprop.cc @@ -17,10 +17,21 @@ #include "ops/LayerNormXBackprop.h" #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/abs.cc b/mindspore/core/ops/abs.cc index b0da76c33c1..db6a6b0da29 100644 --- a/mindspore/core/ops/abs.cc +++ b/mindspore/core/ops/abs.cc @@ -15,13 +15,26 @@ */ #include "ops/abs.h" -#include -#include -#include -#include + +#include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/acos.cc b/mindspore/core/ops/acos.cc index bf1b8e5f6db..4073950fdbb 100644 --- a/mindspore/core/ops/acos.cc +++ b/mindspore/core/ops/acos.cc @@ -15,14 +15,24 @@ */ #include "ops/acos.h" -#include -#include -#include + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/acosh.cc b/mindspore/core/ops/acosh.cc index dc236cdc3c4..4a2e7e83dd9 100644 --- a/mindspore/core/ops/acosh.cc +++ b/mindspore/core/ops/acosh.cc @@ -15,9 +15,24 @@ */ #include "ops/acosh.h" -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adam.cc b/mindspore/core/ops/adam.cc index 4ee1ac09df7..a62d27372df 100644 --- a/mindspore/core/ops/adam.cc +++ b/mindspore/core/ops/adam.cc @@ -18,9 +18,28 @@ #include #include +#include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adam_no_update_param.cc b/mindspore/core/ops/adam_no_update_param.cc index cbe8d0c3c82..b44681bcee0 100644 --- a/mindspore/core/ops/adam_no_update_param.cc +++ b/mindspore/core/ops/adam_no_update_param.cc @@ -14,15 +14,28 @@ * limitations under the License. */ #include "ops/adam_no_update_param.h" + #include #include #include #include -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" -#include "ops/op_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/adam_weight_decay.cc b/mindspore/core/ops/adam_weight_decay.cc index 35c0c42ea07..7732d9373e9 100644 --- a/mindspore/core/ops/adam_weight_decay.cc +++ b/mindspore/core/ops/adam_weight_decay.cc @@ -14,15 +14,32 @@ * limitations under the License. */ #include "ops/adam_weight_decay.h" + #include #include #include #include -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" -#include "ops/op_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/adaptive_avg_pool_2d_v1.cc b/mindspore/core/ops/adaptive_avg_pool_2d_v1.cc index 0726ae514cc..3f7cf442a22 100644 --- a/mindspore/core/ops/adaptive_avg_pool_2d_v1.cc +++ b/mindspore/core/ops/adaptive_avg_pool_2d_v1.cc @@ -15,14 +15,28 @@ */ #include "ops/adaptive_avg_pool_2d_v1.h" -#include "ops/adaptive_avg_pool_2d.h" -#include #include #include -#include "ops/op_utils.h" +#include "ops/adaptive_avg_pool_2d.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adaptive_avg_pool_3d.cc b/mindspore/core/ops/adaptive_avg_pool_3d.cc index 0211ca25235..d99701d5bb5 100644 --- a/mindspore/core/ops/adaptive_avg_pool_3d.cc +++ b/mindspore/core/ops/adaptive_avg_pool_3d.cc @@ -16,13 +16,30 @@ #include "ops/adaptive_avg_pool_3d.h" -#include #include #include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" + namespace mindspore { namespace ops { namespace { diff --git a/mindspore/core/ops/adaptive_max_pool2d.cc b/mindspore/core/ops/adaptive_max_pool2d.cc index 953788cc0f5..eb076a51fa4 100644 --- a/mindspore/core/ops/adaptive_max_pool2d.cc +++ b/mindspore/core/ops/adaptive_max_pool2d.cc @@ -15,14 +15,30 @@ */ #include "ops/adaptive_max_pool2d.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adaptive_max_pool3d.cc b/mindspore/core/ops/adaptive_max_pool3d.cc index 4f14d642fad..c5de63c1ed7 100644 --- a/mindspore/core/ops/adaptive_max_pool3d.cc +++ b/mindspore/core/ops/adaptive_max_pool3d.cc @@ -15,9 +15,29 @@ */ #include "ops/adaptive_max_pool3d.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adder.cc b/mindspore/core/ops/adder.cc index 53f672f0449..5541fad00cf 100644 --- a/mindspore/core/ops/adder.cc +++ b/mindspore/core/ops/adder.cc @@ -15,7 +15,11 @@ */ #include "ops/adder.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adjust_contrastv2.cc b/mindspore/core/ops/adjust_contrastv2.cc index 8cfdac42fa6..126435f3e9a 100644 --- a/mindspore/core/ops/adjust_contrastv2.cc +++ b/mindspore/core/ops/adjust_contrastv2.cc @@ -15,13 +15,27 @@ */ #include "ops/adjust_contrastv2.h" + #include #include #include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adjust_hue.cc b/mindspore/core/ops/adjust_hue.cc index 3440e1e15f5..45e83891737 100644 --- a/mindspore/core/ops/adjust_hue.cc +++ b/mindspore/core/ops/adjust_hue.cc @@ -15,12 +15,26 @@ */ #include "ops/adjust_hue.h" -#include + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/adjust_saturation.cc b/mindspore/core/ops/adjust_saturation.cc index cbac254103d..5ba724be337 100644 --- a/mindspore/core/ops/adjust_saturation.cc +++ b/mindspore/core/ops/adjust_saturation.cc @@ -15,13 +15,26 @@ */ #include "ops/adjust_saturation.h" + #include #include #include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/affine.cc b/mindspore/core/ops/affine.cc index 0f1901253ad..c491f9b335d 100644 --- a/mindspore/core/ops/affine.cc +++ b/mindspore/core/ops/affine.cc @@ -15,8 +15,14 @@ */ #include "ops/affine.h" + #include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/affine_grid.cc b/mindspore/core/ops/affine_grid.cc index 444fd84c733..f92239a90ad 100644 --- a/mindspore/core/ops/affine_grid.cc +++ b/mindspore/core/ops/affine_grid.cc @@ -15,13 +15,33 @@ */ #include "ops/affine_grid.h" + #include #include #include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/all_reduce.cc b/mindspore/core/ops/all_reduce.cc index 80961a5c82f..6b0ae8b0bfa 100644 --- a/mindspore/core/ops/all_reduce.cc +++ b/mindspore/core/ops/all_reduce.cc @@ -14,16 +14,29 @@ * limitations under the License. */ #include "ops/all_reduce.h" + #include -#include #include #include -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" #include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/angle.cc b/mindspore/core/ops/angle.cc index e539100acb3..a9838005675 100644 --- a/mindspore/core/ops/angle.cc +++ b/mindspore/core/ops/angle.cc @@ -15,12 +15,29 @@ */ #include "ops/angle.h" -#include -#include + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/angle_atom_energy.cc b/mindspore/core/ops/angle_atom_energy.cc index 13b36dd34be..6bc03f99ffe 100644 --- a/mindspore/core/ops/angle_atom_energy.cc +++ b/mindspore/core/ops/angle_atom_energy.cc @@ -17,9 +17,27 @@ #include "ops/angle_atom_energy.h" #include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_ada_max.cc b/mindspore/core/ops/apply_ada_max.cc index fbc3162823d..33306b18590 100644 --- a/mindspore/core/ops/apply_ada_max.cc +++ b/mindspore/core/ops/apply_ada_max.cc @@ -16,12 +16,27 @@ #include "ops/apply_ada_max.h" -#include #include +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_adadelta.cc b/mindspore/core/ops/apply_adadelta.cc index 696cd933bcc..6ab4987d347 100644 --- a/mindspore/core/ops/apply_adadelta.cc +++ b/mindspore/core/ops/apply_adadelta.cc @@ -16,13 +16,26 @@ #include "ops/apply_adadelta.h" -#include #include +#include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_adagrad.cc b/mindspore/core/ops/apply_adagrad.cc index ce9d9e60195..01dfeebb02d 100644 --- a/mindspore/core/ops/apply_adagrad.cc +++ b/mindspore/core/ops/apply_adagrad.cc @@ -16,14 +16,30 @@ #include "ops/apply_adagrad.h" -#include #include #include +#include +#include -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_adagrad_d_a.cc b/mindspore/core/ops/apply_adagrad_d_a.cc index 3f9d09d348e..4554ed4cfac 100644 --- a/mindspore/core/ops/apply_adagrad_d_a.cc +++ b/mindspore/core/ops/apply_adagrad_d_a.cc @@ -16,13 +16,28 @@ #include "ops/apply_adagrad_d_a.h" -#include #include +#include +#include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_adagrad_v2.cc b/mindspore/core/ops/apply_adagrad_v2.cc index 262034032f9..0778cdd65de 100644 --- a/mindspore/core/ops/apply_adagrad_v2.cc +++ b/mindspore/core/ops/apply_adagrad_v2.cc @@ -16,15 +16,28 @@ #include "ops/apply_adagrad_v2.h" -#include -#include #include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_adam_with_amsgrad.cc b/mindspore/core/ops/apply_adam_with_amsgrad.cc index a1693394b33..c5053818113 100644 --- a/mindspore/core/ops/apply_adam_with_amsgrad.cc +++ b/mindspore/core/ops/apply_adam_with_amsgrad.cc @@ -20,11 +20,25 @@ #include #include #include +#include -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_add_sign.cc b/mindspore/core/ops/apply_add_sign.cc index 68ef626f480..fe1608698ef 100644 --- a/mindspore/core/ops/apply_add_sign.cc +++ b/mindspore/core/ops/apply_add_sign.cc @@ -15,12 +15,29 @@ */ #include "ops/apply_add_sign.h" -#include + #include +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_centered_rms_prop.cc b/mindspore/core/ops/apply_centered_rms_prop.cc index f97c406ff0e..06179875526 100644 --- a/mindspore/core/ops/apply_centered_rms_prop.cc +++ b/mindspore/core/ops/apply_centered_rms_prop.cc @@ -15,8 +15,24 @@ */ #include "ops/apply_centered_rms_prop.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_ftrl.cc b/mindspore/core/ops/apply_ftrl.cc index ef914ba26e5..6be9317a244 100644 --- a/mindspore/core/ops/apply_ftrl.cc +++ b/mindspore/core/ops/apply_ftrl.cc @@ -16,14 +16,27 @@ #include "ops/apply_ftrl.h" -#include #include #include +#include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_gradient_descent.cc b/mindspore/core/ops/apply_gradient_descent.cc index e77bfb5e7e4..4dc8da7053c 100644 --- a/mindspore/core/ops/apply_gradient_descent.cc +++ b/mindspore/core/ops/apply_gradient_descent.cc @@ -16,15 +16,27 @@ #include "ops/apply_gradient_descent.h" -#include -#include #include #include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_keras_momentum.cc b/mindspore/core/ops/apply_keras_momentum.cc index 59119e93187..d0bc3dc5dea 100644 --- a/mindspore/core/ops/apply_keras_momentum.cc +++ b/mindspore/core/ops/apply_keras_momentum.cc @@ -16,13 +16,27 @@ #include "ops/apply_keras_momentum.h" -#include #include +#include +#include +#include -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_momentum.cc b/mindspore/core/ops/apply_momentum.cc index 9341ac4f975..a96ab8fd405 100644 --- a/mindspore/core/ops/apply_momentum.cc +++ b/mindspore/core/ops/apply_momentum.cc @@ -17,9 +17,29 @@ #include "ops/apply_momentum.h" #include +#include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_power_sign_d.cc b/mindspore/core/ops/apply_power_sign_d.cc index a882dcfa6e4..9c32a643e24 100644 --- a/mindspore/core/ops/apply_power_sign_d.cc +++ b/mindspore/core/ops/apply_power_sign_d.cc @@ -22,9 +22,24 @@ #include #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_proximal_adagrad.cc b/mindspore/core/ops/apply_proximal_adagrad.cc index e3161ae8bae..4aab3baa68c 100644 --- a/mindspore/core/ops/apply_proximal_adagrad.cc +++ b/mindspore/core/ops/apply_proximal_adagrad.cc @@ -16,13 +16,27 @@ #include "ops/apply_proximal_adagrad.h" -#include #include +#include +#include +#include -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_proximal_gradient_descent.cc b/mindspore/core/ops/apply_proximal_gradient_descent.cc index f71ae50b3ca..a5cdf8e2418 100644 --- a/mindspore/core/ops/apply_proximal_gradient_descent.cc +++ b/mindspore/core/ops/apply_proximal_gradient_descent.cc @@ -16,15 +16,30 @@ #include "ops/apply_proximal_gradient_descent.h" -#include #include #include #include +#include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/apply_rms_prop.cc b/mindspore/core/ops/apply_rms_prop.cc index 1d1f7afcb37..36d4a870aca 100644 --- a/mindspore/core/ops/apply_rms_prop.cc +++ b/mindspore/core/ops/apply_rms_prop.cc @@ -15,8 +15,27 @@ */ #include "ops/apply_rms_prop.h" -#include "ops/op_utils.h" + +#include +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/approximate_equal.cc b/mindspore/core/ops/approximate_equal.cc index 6d9db89085e..2dd7d4dd532 100644 --- a/mindspore/core/ops/approximate_equal.cc +++ b/mindspore/core/ops/approximate_equal.cc @@ -18,8 +18,24 @@ #include #include #include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/arg_max.cc b/mindspore/core/ops/arg_max.cc index 44543373978..65c66efc798 100644 --- a/mindspore/core/ops/arg_max.cc +++ b/mindspore/core/ops/arg_max.cc @@ -16,10 +16,25 @@ #include "ops/arg_max.h" -#include #include "mindapi/ir/type.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/arg_min.cc b/mindspore/core/ops/arg_min.cc index b5741354546..097d9087868 100644 --- a/mindspore/core/ops/arg_min.cc +++ b/mindspore/core/ops/arg_min.cc @@ -15,10 +15,31 @@ */ #include +#include + #include "ops/arg_min.h" #include "mindapi/ir/type.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/arg_min_v2.cc b/mindspore/core/ops/arg_min_v2.cc index 548d11f4b28..3703181f097 100644 --- a/mindspore/core/ops/arg_min_v2.cc +++ b/mindspore/core/ops/arg_min_v2.cc @@ -16,10 +16,24 @@ #include #include + #include "ops/arg_min_v2.h" -#include "mindapi/ir/type.h" #include "utils/check_convert_utils.h" #include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/argmax_with_value.cc b/mindspore/core/ops/argmax_with_value.cc index 1327556300b..b2130e0c749 100644 --- a/mindspore/core/ops/argmax_with_value.cc +++ b/mindspore/core/ops/argmax_with_value.cc @@ -15,12 +15,32 @@ */ #include "ops/argmax_with_value.h" -#include -#include -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/argmin_with_value.cc b/mindspore/core/ops/argmin_with_value.cc index aae714a9bca..42699ba15c0 100644 --- a/mindspore/core/ops/argmin_with_value.cc +++ b/mindspore/core/ops/argmin_with_value.cc @@ -15,14 +15,35 @@ */ #include "ops/argmin_with_value.h" + #include #include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/asin.cc b/mindspore/core/ops/asin.cc index 97a8f4fbd42..4981984aed5 100644 --- a/mindspore/core/ops/asin.cc +++ b/mindspore/core/ops/asin.cc @@ -15,10 +15,23 @@ */ #include "ops/asin.h" -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/asinh.cc b/mindspore/core/ops/asinh.cc index 63decabc65a..29d2f68e700 100644 --- a/mindspore/core/ops/asinh.cc +++ b/mindspore/core/ops/asinh.cc @@ -15,10 +15,24 @@ */ #include "ops/asinh.h" -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/assign.cc b/mindspore/core/ops/assign.cc index 18dcac36332..1bb6e286f2e 100644 --- a/mindspore/core/ops/assign.cc +++ b/mindspore/core/ops/assign.cc @@ -24,6 +24,21 @@ #include "ops/op_utils.h" #include "ir/dtype/ref.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/assign_add.cc b/mindspore/core/ops/assign_add.cc index b767f27c077..2f2afb1bf46 100644 --- a/mindspore/core/ops/assign_add.cc +++ b/mindspore/core/ops/assign_add.cc @@ -16,9 +16,21 @@ #include #include + #include "ops/assign_add.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/assign_sub.cc b/mindspore/core/ops/assign_sub.cc index 271ec084a6a..9b63404a46f 100644 --- a/mindspore/core/ops/assign_sub.cc +++ b/mindspore/core/ops/assign_sub.cc @@ -17,8 +17,21 @@ #include #include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/atan.cc b/mindspore/core/ops/atan.cc index f313d8e56d4..259fbe1b137 100644 --- a/mindspore/core/ops/atan.cc +++ b/mindspore/core/ops/atan.cc @@ -14,16 +14,26 @@ * limitations under the License. */ -#include -#include -#include #include #include +#include #include "ops/atan.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/atan2.cc b/mindspore/core/ops/atan2.cc index 6f47973798a..55b4cba556c 100644 --- a/mindspore/core/ops/atan2.cc +++ b/mindspore/core/ops/atan2.cc @@ -15,15 +15,29 @@ */ #include "ops/atan2.h" + #include -#include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/atanh.cc b/mindspore/core/ops/atanh.cc index b412d3678ab..74323ec449d 100644 --- a/mindspore/core/ops/atanh.cc +++ b/mindspore/core/ops/atanh.cc @@ -14,16 +14,24 @@ * limitations under the License. */ -#include -#include -#include #include #include #include "ops/atanh.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/attention.cc b/mindspore/core/ops/attention.cc index e6f26cbb28a..c3bb9112cea 100644 --- a/mindspore/core/ops/attention.cc +++ b/mindspore/core/ops/attention.cc @@ -16,8 +16,12 @@ */ #include "ops/attention.h" + #include "ops/primitive_c.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore::ops { diff --git a/mindspore/core/ops/avg_pool.cc b/mindspore/core/ops/avg_pool.cc index a0e52ece6d2..4453e1eae4e 100644 --- a/mindspore/core/ops/avg_pool.cc +++ b/mindspore/core/ops/avg_pool.cc @@ -15,14 +15,34 @@ */ #include "ops/avg_pool.h" + #include #include #include -#include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/avg_pool_3d.cc b/mindspore/core/ops/avg_pool_3d.cc index 669e1179e24..7d794619125 100644 --- a/mindspore/core/ops/avg_pool_3d.cc +++ b/mindspore/core/ops/avg_pool_3d.cc @@ -15,13 +15,31 @@ */ #include "ops/avg_pool_3d.h" + #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/types.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/avg_pool_v1.cc b/mindspore/core/ops/avg_pool_v1.cc index 2b94c3d350d..bab4cb45e3b 100644 --- a/mindspore/core/ops/avg_pool_v1.cc +++ b/mindspore/core/ops/avg_pool_v1.cc @@ -15,14 +15,27 @@ */ #include "ops/avg_pool_v1.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" +#include + #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/format.h" +#include "mindapi/base/types.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/bartlett_window.cc b/mindspore/core/ops/bartlett_window.cc index ee90e6b7f6e..41537706643 100644 --- a/mindspore/core/ops/bartlett_window.cc +++ b/mindspore/core/ops/bartlett_window.cc @@ -15,13 +15,35 @@ */ #include "ops/bartlett_window.h" + #include #include -#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/batch_matmul.cc b/mindspore/core/ops/batch_matmul.cc index f5368b38c2a..77488b456f8 100644 --- a/mindspore/core/ops/batch_matmul.cc +++ b/mindspore/core/ops/batch_matmul.cc @@ -15,18 +15,35 @@ */ #include "ops/batch_matmul.h" + #include #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" -#include "utils/ms_context.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" +#include "utils/ms_context.h" #include "ops/mat_mul.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/batch_norm.cc b/mindspore/core/ops/batch_norm.cc index 73568c6c80d..e1dcd8056c0 100644 --- a/mindspore/core/ops/batch_norm.cc +++ b/mindspore/core/ops/batch_norm.cc @@ -18,10 +18,32 @@ #include #include #include +#include +#include + #include "ops/batch_norm.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/batch_to_space.cc b/mindspore/core/ops/batch_to_space.cc index c3f137151b8..b9ffa9b7ab4 100644 --- a/mindspore/core/ops/batch_to_space.cc +++ b/mindspore/core/ops/batch_to_space.cc @@ -15,11 +15,29 @@ */ #include "ops/batch_to_space.h" + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "utils/shape_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/batch_to_space_nd.cc b/mindspore/core/ops/batch_to_space_nd.cc index e24673f8ef9..cdef3b8d684 100644 --- a/mindspore/core/ops/batch_to_space_nd.cc +++ b/mindspore/core/ops/batch_to_space_nd.cc @@ -14,16 +14,33 @@ * limitations under the License. */ #include "ops/batch_to_space_nd.h" + #include -#include #include -#include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/batch_to_space_nd_v2.cc b/mindspore/core/ops/batch_to_space_nd_v2.cc index 05f15c74f0d..d915736dd5d 100644 --- a/mindspore/core/ops/batch_to_space_nd_v2.cc +++ b/mindspore/core/ops/batch_to_space_nd_v2.cc @@ -14,14 +14,29 @@ * limitations under the License. */ #include "ops/batch_to_space_nd_v2.h" + #include -#include #include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bce_with_logits_loss.cc b/mindspore/core/ops/bce_with_logits_loss.cc index 68bf57e5581..877fa0c3300 100644 --- a/mindspore/core/ops/bce_with_logits_loss.cc +++ b/mindspore/core/ops/bce_with_logits_loss.cc @@ -15,13 +15,31 @@ */ #include "ops/bce_with_logits_loss.h" + #include -#include #include #include +#include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bernoulli.cc b/mindspore/core/ops/bernoulli.cc index bc2fb76e95c..e1cdc08bb92 100644 --- a/mindspore/core/ops/bernoulli.cc +++ b/mindspore/core/ops/bernoulli.cc @@ -15,12 +15,27 @@ */ #include "ops/bernoulli.h" -#include + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_i0.cc b/mindspore/core/ops/bessel_i0.cc index 4fa48b3b08a..123c97d436b 100644 --- a/mindspore/core/ops/bessel_i0.cc +++ b/mindspore/core/ops/bessel_i0.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_i0.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_i0e.cc b/mindspore/core/ops/bessel_i0e.cc index 90c61b745ba..6fa75d202e8 100644 --- a/mindspore/core/ops/bessel_i0e.cc +++ b/mindspore/core/ops/bessel_i0e.cc @@ -14,14 +14,24 @@ * limitations under the License. */ #include "ops/bessel_i0e.h" -#include -#include -#include + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_i1.cc b/mindspore/core/ops/bessel_i1.cc index 066a0753f46..72d2b78f7bb 100644 --- a/mindspore/core/ops/bessel_i1.cc +++ b/mindspore/core/ops/bessel_i1.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_i1.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_i1e.cc b/mindspore/core/ops/bessel_i1e.cc index a3aa2517093..8dfc2945ffe 100644 --- a/mindspore/core/ops/bessel_i1e.cc +++ b/mindspore/core/ops/bessel_i1e.cc @@ -14,14 +14,23 @@ * limitations under the License. */ #include "ops/bessel_i1e.h" -#include -#include -#include -#include + #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_j0.cc b/mindspore/core/ops/bessel_j0.cc index ad17266b138..bd0b0ef2969 100644 --- a/mindspore/core/ops/bessel_j0.cc +++ b/mindspore/core/ops/bessel_j0.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_j0.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_j1.cc b/mindspore/core/ops/bessel_j1.cc index a24b4746314..8218dbcf4e3 100644 --- a/mindspore/core/ops/bessel_j1.cc +++ b/mindspore/core/ops/bessel_j1.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_j1.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_k0.cc b/mindspore/core/ops/bessel_k0.cc index fed91b698ad..a5f194a2c4b 100644 --- a/mindspore/core/ops/bessel_k0.cc +++ b/mindspore/core/ops/bessel_k0.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_k0.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_k0e.cc b/mindspore/core/ops/bessel_k0e.cc index adec9613802..d0ba0ead8fa 100644 --- a/mindspore/core/ops/bessel_k0e.cc +++ b/mindspore/core/ops/bessel_k0e.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_k0e.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_k1.cc b/mindspore/core/ops/bessel_k1.cc index ea84d4562ed..1d6a70aec98 100644 --- a/mindspore/core/ops/bessel_k1.cc +++ b/mindspore/core/ops/bessel_k1.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_k1.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_k1e.cc b/mindspore/core/ops/bessel_k1e.cc index 69996f261f1..261c088df2c 100644 --- a/mindspore/core/ops/bessel_k1e.cc +++ b/mindspore/core/ops/bessel_k1e.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_k1e.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_y0.cc b/mindspore/core/ops/bessel_y0.cc index 432cfa6fbfc..d966f54dcf5 100644 --- a/mindspore/core/ops/bessel_y0.cc +++ b/mindspore/core/ops/bessel_y0.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_y0.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bessel_y1.cc b/mindspore/core/ops/bessel_y1.cc index 8ec8e52fe21..1326ae62d3b 100644 --- a/mindspore/core/ops/bessel_y1.cc +++ b/mindspore/core/ops/bessel_y1.cc @@ -15,12 +15,24 @@ */ #include "ops/bessel_y1.h" -#include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/betainc.cc b/mindspore/core/ops/betainc.cc index a13650d0674..18f12878f2b 100644 --- a/mindspore/core/ops/betainc.cc +++ b/mindspore/core/ops/betainc.cc @@ -15,12 +15,25 @@ */ #include "ops/betainc.h" -#include #include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/binary_cross_entropy.cc b/mindspore/core/ops/binary_cross_entropy.cc index abb0c700174..6322f4148d5 100644 --- a/mindspore/core/ops/binary_cross_entropy.cc +++ b/mindspore/core/ops/binary_cross_entropy.cc @@ -22,9 +22,22 @@ #include #include "ops/binary_cross_entropy.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bincount.cc b/mindspore/core/ops/bincount.cc index 621dead04d5..3daa4c00c48 100644 --- a/mindspore/core/ops/bincount.cc +++ b/mindspore/core/ops/bincount.cc @@ -15,11 +15,26 @@ */ #include +#include #include "ops/bincount.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bitwiseand.cc b/mindspore/core/ops/bitwiseand.cc index becdd4e10c7..68ec8a2654c 100644 --- a/mindspore/core/ops/bitwiseand.cc +++ b/mindspore/core/ops/bitwiseand.cc @@ -16,13 +16,26 @@ #include "ops/bitwiseand.h" #include -#include #include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bitwiseor.cc b/mindspore/core/ops/bitwiseor.cc index e2f51740a21..63b7b4e454b 100644 --- a/mindspore/core/ops/bitwiseor.cc +++ b/mindspore/core/ops/bitwiseor.cc @@ -16,13 +16,26 @@ #include "ops/bitwiseor.h" #include -#include #include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bitwisexor.cc b/mindspore/core/ops/bitwisexor.cc index c8c0b6345ab..52c72d98a80 100644 --- a/mindspore/core/ops/bitwisexor.cc +++ b/mindspore/core/ops/bitwisexor.cc @@ -16,13 +16,26 @@ #include "ops/bitwisexor.h" #include -#include #include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/blackman_window.cc b/mindspore/core/ops/blackman_window.cc index 01c5cd494ad..ec35f18e95f 100644 --- a/mindspore/core/ops/blackman_window.cc +++ b/mindspore/core/ops/blackman_window.cc @@ -14,12 +14,34 @@ * limitations under the License. */ #include "ops/blackman_window.h" + #include #include -#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bn_training_reduce.cc b/mindspore/core/ops/bn_training_reduce.cc index fae37c299ca..9cef9a82b65 100644 --- a/mindspore/core/ops/bn_training_reduce.cc +++ b/mindspore/core/ops/bn_training_reduce.cc @@ -18,12 +18,25 @@ #include #include #include -#include -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/format.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bn_training_update.cc b/mindspore/core/ops/bn_training_update.cc index 9ee8bc1e8ee..6989c23c4f6 100644 --- a/mindspore/core/ops/bn_training_update.cc +++ b/mindspore/core/ops/bn_training_update.cc @@ -16,13 +16,25 @@ #include "ops/bn_training_update.h" -#include #include -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/format.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bounding_box_decode.cc b/mindspore/core/ops/bounding_box_decode.cc index 5d8d4981aff..b01aa7ca3e8 100644 --- a/mindspore/core/ops/bounding_box_decode.cc +++ b/mindspore/core/ops/bounding_box_decode.cc @@ -16,12 +16,26 @@ #include "ops/bounding_box_decode.h" -#include #include +#include +#include #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/bounding_box_encode.cc b/mindspore/core/ops/bounding_box_encode.cc index 68b98fec645..abdbfcd801d 100644 --- a/mindspore/core/ops/bounding_box_encode.cc +++ b/mindspore/core/ops/bounding_box_encode.cc @@ -16,12 +16,26 @@ #include "ops/bounding_box_encode.h" -#include #include +#include +#include #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/broadcast.cc b/mindspore/core/ops/broadcast.cc index c964a451317..4da69aac032 100644 --- a/mindspore/core/ops/broadcast.cc +++ b/mindspore/core/ops/broadcast.cc @@ -14,12 +14,13 @@ * limitations under the License. */ -#include -#include -#include #include "ops/broadcast.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/broadcast_to.cc b/mindspore/core/ops/broadcast_to.cc index 2eb4150f518..371ee881cb4 100644 --- a/mindspore/core/ops/broadcast_to.cc +++ b/mindspore/core/ops/broadcast_to.cc @@ -15,9 +15,30 @@ */ #include +#include +#include + #include "ops/broadcast_to.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/cauchy.cc b/mindspore/core/ops/cauchy.cc index 3db1a3c6f13..4e8a72f6c57 100644 --- a/mindspore/core/ops/cauchy.cc +++ b/mindspore/core/ops/cauchy.cc @@ -14,14 +14,27 @@ * limitations under the License. */ #include "ops/cauchy.h" + #include -#include -#include #include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/ceil.cc b/mindspore/core/ops/ceil.cc index 9c5113c33f5..45a08be17ec 100644 --- a/mindspore/core/ops/ceil.cc +++ b/mindspore/core/ops/ceil.cc @@ -15,14 +15,25 @@ */ #include -#include #include #include #include "ops/ceil.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/celu.cc b/mindspore/core/ops/celu.cc index 59f340c1a02..97f69f8309c 100644 --- a/mindspore/core/ops/celu.cc +++ b/mindspore/core/ops/celu.cc @@ -15,14 +15,28 @@ */ #include "ops/celu.h" + #include -#include #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/channel_shuffle.cc b/mindspore/core/ops/channel_shuffle.cc index fc5a5cd3bb0..55f93d6d9fa 100644 --- a/mindspore/core/ops/channel_shuffle.cc +++ b/mindspore/core/ops/channel_shuffle.cc @@ -16,14 +16,28 @@ */ #include "ops/channel_shuffle.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/check_numerics.cc b/mindspore/core/ops/check_numerics.cc index a7e7e65c475..2c735e6cd45 100644 --- a/mindspore/core/ops/check_numerics.cc +++ b/mindspore/core/ops/check_numerics.cc @@ -15,15 +15,26 @@ */ #include "ops/check_numerics.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/check_valid.cc b/mindspore/core/ops/check_valid.cc index 9cd15521000..d4b3a4b8d9e 100644 --- a/mindspore/core/ops/check_valid.cc +++ b/mindspore/core/ops/check_valid.cc @@ -15,10 +15,26 @@ */ #include "ops/check_valid.h" + #include +#include + #include "utils/check_convert_utils.h" #include "ops/primitive_c.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/cholesky.cc b/mindspore/core/ops/cholesky.cc index b7863c597ff..57cddf0ebc4 100644 --- a/mindspore/core/ops/cholesky.cc +++ b/mindspore/core/ops/cholesky.cc @@ -16,12 +16,27 @@ #include "ops/cholesky.h" +#include +#include + #include "abstract/dshape.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/cholesky_inverse_.cc b/mindspore/core/ops/cholesky_inverse_.cc index 9863b47d05e..3845ae66cc7 100644 --- a/mindspore/core/ops/cholesky_inverse_.cc +++ b/mindspore/core/ops/cholesky_inverse_.cc @@ -14,9 +14,27 @@ * limitations under the License. */ #include "ops/cholesky_inverse_.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/cholesky_solve.cc b/mindspore/core/ops/cholesky_solve.cc index b044cb1ff40..3acdc3d0124 100644 --- a/mindspore/core/ops/cholesky_solve.cc +++ b/mindspore/core/ops/cholesky_solve.cc @@ -16,12 +16,29 @@ #include "ops/cholesky_solve.h" +#include +#include +#include + #include "abstract/dshape.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/clip_by_norm.cc b/mindspore/core/ops/clip_by_norm.cc index 587f97baa5a..caf70abd293 100644 --- a/mindspore/core/ops/clip_by_norm.cc +++ b/mindspore/core/ops/clip_by_norm.cc @@ -15,11 +15,34 @@ */ #include "ops/clip_by_norm.h" + #include #include +#include + #include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/clip_by_norm_no_div_sum.cc b/mindspore/core/ops/clip_by_norm_no_div_sum.cc index 1a691bf21f1..72bb8e913dd 100644 --- a/mindspore/core/ops/clip_by_norm_no_div_sum.cc +++ b/mindspore/core/ops/clip_by_norm_no_div_sum.cc @@ -16,15 +16,27 @@ #include "ops/clip_by_norm_no_div_sum.h" #include -#include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/clip_by_value.cc b/mindspore/core/ops/clip_by_value.cc index a704d6b79a4..0b5b35e3027 100644 --- a/mindspore/core/ops/clip_by_value.cc +++ b/mindspore/core/ops/clip_by_value.cc @@ -16,15 +16,27 @@ #include "ops/clip_by_value.h" #include -#include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/coalesce.cc b/mindspore/core/ops/coalesce.cc index e56f5f550f9..d5e510ea963 100644 --- a/mindspore/core/ops/coalesce.cc +++ b/mindspore/core/ops/coalesce.cc @@ -14,15 +14,29 @@ * limitations under the License. */ #include "ops/coalesce.h" + #include #include #include #include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/dshape.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/col2im.cc b/mindspore/core/ops/col2im.cc index 6f77db8a51f..632f884caa3 100644 --- a/mindspore/core/ops/col2im.cc +++ b/mindspore/core/ops/col2im.cc @@ -15,15 +15,28 @@ */ #include "ops/col2im.h" -#include + #include #include -#include #include + #include "abstract/abstract_value.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/combined_non_max_suppression.cc b/mindspore/core/ops/combined_non_max_suppression.cc index 2615a6c7916..2078ba7a8cd 100644 --- a/mindspore/core/ops/combined_non_max_suppression.cc +++ b/mindspore/core/ops/combined_non_max_suppression.cc @@ -15,12 +15,35 @@ */ #include "ops/combined_non_max_suppression.h" + #define IsValue(value_ptr) (!value_ptr->isa() && !value_ptr->isa()) #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/compare_and_bitpack.cc b/mindspore/core/ops/compare_and_bitpack.cc index 77f3ea2742e..3718e6a35ee 100644 --- a/mindspore/core/ops/compare_and_bitpack.cc +++ b/mindspore/core/ops/compare_and_bitpack.cc @@ -15,12 +15,29 @@ */ #include "ops/compare_and_bitpack.h" + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/complex.cc b/mindspore/core/ops/complex.cc index 8376f81e61b..5d500969d8f 100644 --- a/mindspore/core/ops/complex.cc +++ b/mindspore/core/ops/complex.cc @@ -15,13 +15,32 @@ */ #include "ops/complex.h" + #include #include #include #include +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/complex_abs.cc b/mindspore/core/ops/complex_abs.cc index a0f778f295b..08b507371b4 100644 --- a/mindspore/core/ops/complex_abs.cc +++ b/mindspore/core/ops/complex_abs.cc @@ -15,12 +15,28 @@ */ #include "ops/complex_abs.h" -#include -#include + #include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/concat_offset_v1.cc b/mindspore/core/ops/concat_offset_v1.cc index f74f3ae047b..501c7fc46ea 100644 --- a/mindspore/core/ops/concat_offset_v1.cc +++ b/mindspore/core/ops/concat_offset_v1.cc @@ -17,10 +17,25 @@ #include #include #include +#include + #include "ops/concat_offset_v1.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/conj.cc b/mindspore/core/ops/conj.cc index 8794fd45349..d957db02879 100644 --- a/mindspore/core/ops/conj.cc +++ b/mindspore/core/ops/conj.cc @@ -15,7 +15,6 @@ */ #include "ops/conj.h" -#include #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" diff --git a/mindspore/core/ops/conv2d.cc b/mindspore/core/ops/conv2d.cc index eb341a76108..36a741dd7c8 100644 --- a/mindspore/core/ops/conv2d.cc +++ b/mindspore/core/ops/conv2d.cc @@ -15,15 +15,39 @@ */ #include "ops/conv2d.h" + #include #include #include #include #include -#include "ir/dtype/tensor_type.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" using mindspore::abstract::Shape; diff --git a/mindspore/core/ops/conv2d_transpose.cc b/mindspore/core/ops/conv2d_transpose.cc index ca189bcf9c2..9967f0c494d 100644 --- a/mindspore/core/ops/conv2d_transpose.cc +++ b/mindspore/core/ops/conv2d_transpose.cc @@ -14,16 +14,23 @@ * limitations under the License. */ -#include #include -#include -#include -#include #include "ops/conv2d_transpose.h" -#include "ops/op_utils.h" #include "ops/grad/conv2d_backprop_input.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/conv3d.cc b/mindspore/core/ops/conv3d.cc index a3a88519bf9..438bdd8e160 100644 --- a/mindspore/core/ops/conv3d.cc +++ b/mindspore/core/ops/conv3d.cc @@ -20,12 +20,32 @@ #include #include #include +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/dshape.h" -#include "ir/dtype/tensor_type.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/conv3d_transpose.cc b/mindspore/core/ops/conv3d_transpose.cc index be2b8d78a89..2af989282f1 100644 --- a/mindspore/core/ops/conv3d_transpose.cc +++ b/mindspore/core/ops/conv3d_transpose.cc @@ -20,10 +20,29 @@ #include #include #include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/dshape.h" -#include "ir/dtype/tensor_type.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/convert_to_dynamic.cc b/mindspore/core/ops/convert_to_dynamic.cc index 975a5e4cb9a..b8d72e0361b 100644 --- a/mindspore/core/ops/convert_to_dynamic.cc +++ b/mindspore/core/ops/convert_to_dynamic.cc @@ -18,9 +18,25 @@ #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/coo_to_csr.cc b/mindspore/core/ops/coo_to_csr.cc index e11ac16c13b..8d49ff2feb3 100644 --- a/mindspore/core/ops/coo_to_csr.cc +++ b/mindspore/core/ops/coo_to_csr.cc @@ -16,13 +16,21 @@ #include "ops/coo_to_csr.h" -#include "abstract/dshape.h" +#include + #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" -#include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/cos.cc b/mindspore/core/ops/cos.cc index 8decea02f8b..6c5d417a466 100644 --- a/mindspore/core/ops/cos.cc +++ b/mindspore/core/ops/cos.cc @@ -16,10 +16,21 @@ #include "ops/cos.h" #include -#include -#include +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/cosh.cc b/mindspore/core/ops/cosh.cc index 08ffd348fdd..faf23236df3 100644 --- a/mindspore/core/ops/cosh.cc +++ b/mindspore/core/ops/cosh.cc @@ -16,12 +16,23 @@ #include "ops/cosh.h" #include -#include -#include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/count_nonzero.cc b/mindspore/core/ops/count_nonzero.cc index a466229f658..2a1c7f8f42c 100644 --- a/mindspore/core/ops/count_nonzero.cc +++ b/mindspore/core/ops/count_nonzero.cc @@ -14,15 +14,28 @@ * limitations under the License. */ #include -#include #include +#include +#include #include "ops/count_nonzero.h" -#include "ops/op_utils.h" -#include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "mindspore/core/utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/crop_and_resize.cc b/mindspore/core/ops/crop_and_resize.cc index e4f84993e53..58a069d3243 100644 --- a/mindspore/core/ops/crop_and_resize.cc +++ b/mindspore/core/ops/crop_and_resize.cc @@ -15,15 +15,36 @@ */ #include "ops/crop_and_resize.h" -#include + #include #include #include #include + #include "utils/check_convert_utils.h" #include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" -#include "utils/ms_context.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/crop_and_resize_grad_boxes.cc b/mindspore/core/ops/crop_and_resize_grad_boxes.cc index 17c3ffed8bf..9cc4b1abc06 100644 --- a/mindspore/core/ops/crop_and_resize_grad_boxes.cc +++ b/mindspore/core/ops/crop_and_resize_grad_boxes.cc @@ -20,9 +20,24 @@ #include #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/cross.cc b/mindspore/core/ops/cross.cc index 00a110fb16f..1cd29c9c83d 100644 --- a/mindspore/core/ops/cross.cc +++ b/mindspore/core/ops/cross.cc @@ -15,14 +15,32 @@ */ #include "ops/cross.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/csr_elementwise.cc b/mindspore/core/ops/csr_elementwise.cc index 0dae742a868..705afb6583c 100644 --- a/mindspore/core/ops/csr_elementwise.cc +++ b/mindspore/core/ops/csr_elementwise.cc @@ -16,14 +16,21 @@ #include "ops/csr_elementwise.h" +#include + #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" -#include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/csr_gather.cc b/mindspore/core/ops/csr_gather.cc index cde98be796c..ce25f66960b 100644 --- a/mindspore/core/ops/csr_gather.cc +++ b/mindspore/core/ops/csr_gather.cc @@ -16,13 +16,23 @@ #include "ops/csr_gather.h" +#include + #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/csr_mm.cc b/mindspore/core/ops/csr_mm.cc index efe273680d1..7b08efd17f3 100644 --- a/mindspore/core/ops/csr_mm.cc +++ b/mindspore/core/ops/csr_mm.cc @@ -16,14 +16,22 @@ #include "ops/csr_mm.h" +#include + #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/csr_mv.cc b/mindspore/core/ops/csr_mv.cc index 4be06c41ed9..6f17fcc52bf 100644 --- a/mindspore/core/ops/csr_mv.cc +++ b/mindspore/core/ops/csr_mv.cc @@ -16,14 +16,22 @@ #include "ops/csr_mv.h" +#include + #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/csr_reducesum.cc b/mindspore/core/ops/csr_reducesum.cc index e44590029ba..50aa678ca76 100644 --- a/mindspore/core/ops/csr_reducesum.cc +++ b/mindspore/core/ops/csr_reducesum.cc @@ -16,14 +16,24 @@ #include "ops/csr_reducesum.h" +#include + #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" -#include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/csr_sparse_matrix_to_dense.cc b/mindspore/core/ops/csr_sparse_matrix_to_dense.cc index 76669e3da08..147f8d6c6fc 100644 --- a/mindspore/core/ops/csr_sparse_matrix_to_dense.cc +++ b/mindspore/core/ops/csr_sparse_matrix_to_dense.cc @@ -16,13 +16,31 @@ #include "ops/csr_sparse_matrix_to_dense.h" +#include +#include +#include +#include + #include "abstract/dshape.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "utils/shape_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/csr_sparse_matrix_to_sparse_tensor.cc b/mindspore/core/ops/csr_sparse_matrix_to_sparse_tensor.cc index 69eadc58728..efa38f2249d 100644 --- a/mindspore/core/ops/csr_sparse_matrix_to_sparse_tensor.cc +++ b/mindspore/core/ops/csr_sparse_matrix_to_sparse_tensor.cc @@ -15,7 +15,6 @@ */ #include -#include #include #include #include @@ -23,10 +22,23 @@ #include "ops/csr_sparse_matrix_to_sparse_tensor.h" #include "abstract/dshape.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/csr_to_coo.cc b/mindspore/core/ops/csr_to_coo.cc index 18b5ce7f716..53fc7399b9d 100644 --- a/mindspore/core/ops/csr_to_coo.cc +++ b/mindspore/core/ops/csr_to_coo.cc @@ -16,13 +16,22 @@ #include "ops/csr_to_coo.h" +#include + #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" -#include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/ctc_greedy_decoder.cc b/mindspore/core/ops/ctc_greedy_decoder.cc index 0ac20df4872..d6bd92a3f00 100644 --- a/mindspore/core/ops/ctc_greedy_decoder.cc +++ b/mindspore/core/ops/ctc_greedy_decoder.cc @@ -17,10 +17,25 @@ #include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/ctc_loss_v2.cc b/mindspore/core/ops/ctc_loss_v2.cc index f0b8e2801c6..5e15537d79f 100644 --- a/mindspore/core/ops/ctc_loss_v2.cc +++ b/mindspore/core/ops/ctc_loss_v2.cc @@ -15,14 +15,34 @@ */ #include "ops/ctc_loss_v2.h" + #include #include #include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" + namespace mindspore { namespace ops { int64_t CTCLossV2::get_blank() const { return GetValue(GetAttr(kAttrBlank)); } diff --git a/mindspore/core/ops/ctc_loss_v2_grad.cc b/mindspore/core/ops/ctc_loss_v2_grad.cc index 844e2d42bf6..9b457342ab9 100644 --- a/mindspore/core/ops/ctc_loss_v2_grad.cc +++ b/mindspore/core/ops/ctc_loss_v2_grad.cc @@ -15,16 +15,33 @@ */ #include "ops/ctc_loss_v2_grad.h" + #include #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/ctcloss.cc b/mindspore/core/ops/ctcloss.cc index 1b8cd85e4c6..ebbb0c3a3d0 100644 --- a/mindspore/core/ops/ctcloss.cc +++ b/mindspore/core/ops/ctcloss.cc @@ -20,12 +20,25 @@ #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/shape_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/cudnn_gru.cc b/mindspore/core/ops/cudnn_gru.cc index e6474717d1f..527debd7a61 100644 --- a/mindspore/core/ops/cudnn_gru.cc +++ b/mindspore/core/ops/cudnn_gru.cc @@ -19,11 +19,26 @@ #include #include #include +#include +#include -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" #include "ops/primitive_c.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/cummax.cc b/mindspore/core/ops/cummax.cc index 2c94bc819f0..519847a2417 100644 --- a/mindspore/core/ops/cummax.cc +++ b/mindspore/core/ops/cummax.cc @@ -15,11 +15,28 @@ */ #include "ops/cummax.h" -#include + #include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/cummin.cc b/mindspore/core/ops/cummin.cc index 62d0317b07d..1179fe180d0 100644 --- a/mindspore/core/ops/cummin.cc +++ b/mindspore/core/ops/cummin.cc @@ -14,13 +14,29 @@ * limitations under the License. */ -#include #include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" #include "ops/cummin.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/custom.cc b/mindspore/core/ops/custom.cc index 41849f0a8f6..4a1223d410d 100644 --- a/mindspore/core/ops/custom.cc +++ b/mindspore/core/ops/custom.cc @@ -15,7 +15,12 @@ */ #include "ops/custom.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/common.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/data_format_dim_map.cc b/mindspore/core/ops/data_format_dim_map.cc index 828310db9d6..f02cdd0d9e6 100644 --- a/mindspore/core/ops/data_format_dim_map.cc +++ b/mindspore/core/ops/data_format_dim_map.cc @@ -16,13 +16,26 @@ #include "ops/data_format_dim_map.h" -#include #include +#include -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/data_format_vec_permute.cc b/mindspore/core/ops/data_format_vec_permute.cc index 86c637c52b2..9199072e404 100644 --- a/mindspore/core/ops/data_format_vec_permute.cc +++ b/mindspore/core/ops/data_format_vec_permute.cc @@ -16,13 +16,25 @@ #include "ops/data_format_vec_permute.h" -#include #include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/deformable_offsets.cc b/mindspore/core/ops/deformable_offsets.cc index 370a8549907..ba616ea1c81 100644 --- a/mindspore/core/ops/deformable_offsets.cc +++ b/mindspore/core/ops/deformable_offsets.cc @@ -15,13 +15,33 @@ */ #include "ops/deformable_offsets.h" + #include #include #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" -#include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dense_to_csr_sparse_matrix.cc b/mindspore/core/ops/dense_to_csr_sparse_matrix.cc index 8a7b649dce6..e6a7cb52b61 100644 --- a/mindspore/core/ops/dense_to_csr_sparse_matrix.cc +++ b/mindspore/core/ops/dense_to_csr_sparse_matrix.cc @@ -16,13 +16,30 @@ #include "ops/dense_to_csr_sparse_matrix.h" +#include +#include +#include + #include "abstract/dshape.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "utils/shape_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/dense_to_sparse_set_operation.cc b/mindspore/core/ops/dense_to_sparse_set_operation.cc index 31ed8f236a9..f3e512c28fc 100644 --- a/mindspore/core/ops/dense_to_sparse_set_operation.cc +++ b/mindspore/core/ops/dense_to_sparse_set_operation.cc @@ -15,16 +15,33 @@ */ #include "ops/dense_to_sparse_set_operation.h" + #include #include #include #include #include #include -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/depth_to_space.cc b/mindspore/core/ops/depth_to_space.cc index 2602c61bb7e..d1d613087fb 100644 --- a/mindspore/core/ops/depth_to_space.cc +++ b/mindspore/core/ops/depth_to_space.cc @@ -15,9 +15,28 @@ */ #include +#include +#include + #include "ops/depth_to_space.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/diag.cc b/mindspore/core/ops/diag.cc index 7c91300c693..5d96eb6ce9e 100644 --- a/mindspore/core/ops/diag.cc +++ b/mindspore/core/ops/diag.cc @@ -14,13 +14,27 @@ * limitations under the License. */ -#include -#include #include #include + #include "ops/diag.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/diag_part.cc b/mindspore/core/ops/diag_part.cc index afb08853b1b..469b9a596c3 100644 --- a/mindspore/core/ops/diag_part.cc +++ b/mindspore/core/ops/diag_part.cc @@ -15,12 +15,25 @@ */ #include -#include #include #include + #include "ops/diag_part.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/diagonal.cc b/mindspore/core/ops/diagonal.cc index 055d5890e89..a72cdf9e0d6 100644 --- a/mindspore/core/ops/diagonal.cc +++ b/mindspore/core/ops/diagonal.cc @@ -13,11 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include -#include #include #include #include + #include "ops/diagonal.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" diff --git a/mindspore/core/ops/digamma.cc b/mindspore/core/ops/digamma.cc index 71c4379b832..710ee4f0cf9 100644 --- a/mindspore/core/ops/digamma.cc +++ b/mindspore/core/ops/digamma.cc @@ -15,15 +15,24 @@ */ #include -#include #include -#include +#include #include "ops/digamma.h" -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dilation2d.cc b/mindspore/core/ops/dilation2d.cc index 3437fd37d64..00bcf852738 100644 --- a/mindspore/core/ops/dilation2d.cc +++ b/mindspore/core/ops/dilation2d.cc @@ -16,14 +16,33 @@ #include "ops/dilation2d.h" -#include #include +#include +#include +#include -#include "mindapi/base/types.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/format.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/div.cc b/mindspore/core/ops/div.cc index 6d2d82232e3..c01b45ea4bf 100644 --- a/mindspore/core/ops/div.cc +++ b/mindspore/core/ops/div.cc @@ -15,14 +15,24 @@ */ #include "ops/div.h" + #include -#include #include #include +#include + #include "ops/op_utils.h" -#include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/div_no_nan.cc b/mindspore/core/ops/div_no_nan.cc index 84f900f8bb1..3884c164783 100644 --- a/mindspore/core/ops/div_no_nan.cc +++ b/mindspore/core/ops/div_no_nan.cc @@ -16,16 +16,28 @@ #include "ops/div_no_nan.h" -#include -#include #include #include #include #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" #include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dropout.cc b/mindspore/core/ops/dropout.cc index 914d2bedebc..da2ee1fa55e 100644 --- a/mindspore/core/ops/dropout.cc +++ b/mindspore/core/ops/dropout.cc @@ -15,15 +15,25 @@ */ #include "ops/dropout.h" -#include #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" #include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/dropout_do_mask.cc b/mindspore/core/ops/dropout_do_mask.cc index c6697a5f0de..2e4532ae1f8 100644 --- a/mindspore/core/ops/dropout_do_mask.cc +++ b/mindspore/core/ops/dropout_do_mask.cc @@ -16,14 +16,28 @@ #include "ops/dropout_do_mask.h" #include -#include #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dropout_gen_mask.cc b/mindspore/core/ops/dropout_gen_mask.cc index 133a626b788..ca7338997b4 100644 --- a/mindspore/core/ops/dropout_gen_mask.cc +++ b/mindspore/core/ops/dropout_gen_mask.cc @@ -21,11 +21,27 @@ #include #include #include +#include +#include #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dropout_nd.cc b/mindspore/core/ops/dropout_nd.cc index b5826a8cbce..a24e0ac6c49 100644 --- a/mindspore/core/ops/dropout_nd.cc +++ b/mindspore/core/ops/dropout_nd.cc @@ -14,11 +14,28 @@ * limitations under the License. */ #include "ops/dropout_nd.h" -#include -#include + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dtype.cc b/mindspore/core/ops/dtype.cc index c3f346b191c..c346f9c6ea9 100644 --- a/mindspore/core/ops/dtype.cc +++ b/mindspore/core/ops/dtype.cc @@ -15,14 +15,25 @@ */ #include "ops/dtype.h" + #include -#include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dynamic_broadcast_gradient_args.cc b/mindspore/core/ops/dynamic_broadcast_gradient_args.cc index 1c0e4a00baf..6595854eade 100644 --- a/mindspore/core/ops/dynamic_broadcast_gradient_args.cc +++ b/mindspore/core/ops/dynamic_broadcast_gradient_args.cc @@ -16,14 +16,26 @@ #include "ops/dynamic_broadcast_gradient_args.h" -#include #include #include -#include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dynamic_broadcast_to.cc b/mindspore/core/ops/dynamic_broadcast_to.cc index b10f4505b57..4e1872539c3 100644 --- a/mindspore/core/ops/dynamic_broadcast_to.cc +++ b/mindspore/core/ops/dynamic_broadcast_to.cc @@ -17,8 +17,28 @@ #include "ops/dynamic_broadcast_to.h" #include + #include "utils/check_convert_utils.h" #include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/dynamic_gru_v2.cc b/mindspore/core/ops/dynamic_gru_v2.cc index 74d408055ad..b496ffc76d9 100644 --- a/mindspore/core/ops/dynamic_gru_v2.cc +++ b/mindspore/core/ops/dynamic_gru_v2.cc @@ -15,18 +15,34 @@ */ #include "ops/dynamic_gru_v2.h" + #include #include #include #include #include #include +#include + #include "abstract/abstract_value.h" -#include "ops/op_utils.h" #include "ops/core_ops.h" #include "ops/op_name.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dynamic_gru_v2_grad.cc b/mindspore/core/ops/dynamic_gru_v2_grad.cc index ea2360744d7..4b88b78d535 100644 --- a/mindspore/core/ops/dynamic_gru_v2_grad.cc +++ b/mindspore/core/ops/dynamic_gru_v2_grad.cc @@ -20,13 +20,26 @@ #include #include #include + #include "abstract/abstract_value.h" -#include "ops/op_utils.h" #include "ops/dynamic_gru_v2_grad.h" #include "ops/core_ops.h" #include "ops/op_name.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dynamic_resize_nearest_neighbor.cc b/mindspore/core/ops/dynamic_resize_nearest_neighbor.cc index 554711ab073..baf47181731 100644 --- a/mindspore/core/ops/dynamic_resize_nearest_neighbor.cc +++ b/mindspore/core/ops/dynamic_resize_nearest_neighbor.cc @@ -14,15 +14,28 @@ * limitations under the License. */ -#include #include #include #include #include + #include "ops/op_utils.h" #include "ops/dynamic_resize_nearest_neighbor.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/dynamic_rnn.cc b/mindspore/core/ops/dynamic_rnn.cc index 4a00eaf3615..6449c860cf7 100644 --- a/mindspore/core/ops/dynamic_rnn.cc +++ b/mindspore/core/ops/dynamic_rnn.cc @@ -16,9 +16,30 @@ #include #include +#include + #include "ops/dynamic_rnn.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/edit_distance.cc b/mindspore/core/ops/edit_distance.cc index 946e389f90f..8d2b985a163 100644 --- a/mindspore/core/ops/edit_distance.cc +++ b/mindspore/core/ops/edit_distance.cc @@ -15,14 +15,32 @@ */ #include "ops/edit_distance.h" -#include + #include #include -#include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/eig.cc b/mindspore/core/ops/eig.cc index dd52a62d11a..db459421868 100644 --- a/mindspore/core/ops/eig.cc +++ b/mindspore/core/ops/eig.cc @@ -16,10 +16,29 @@ #include "ops/eig.h" +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/eigh.cc b/mindspore/core/ops/eigh.cc index 8f34b714e22..ff98391a5db 100644 --- a/mindspore/core/ops/eigh.cc +++ b/mindspore/core/ops/eigh.cc @@ -16,10 +16,29 @@ #include "ops/eigh.h" +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/einsum.cc b/mindspore/core/ops/einsum.cc index 60ec93aba1e..3c181d561e2 100644 --- a/mindspore/core/ops/einsum.cc +++ b/mindspore/core/ops/einsum.cc @@ -14,16 +14,31 @@ * limitations under the License. */ #include "ops/einsum.h" + #include #include #include #include #include #include -#include "ops/op_utils.h" -#include "ir/dtype/tensor_type.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/elu.cc b/mindspore/core/ops/elu.cc index 3e5eb83db9a..1d5e49c505a 100644 --- a/mindspore/core/ops/elu.cc +++ b/mindspore/core/ops/elu.cc @@ -14,17 +14,28 @@ * limitations under the License. */ -#include #include -#include #include -#include #include #include "ops/elu.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/embedding_lookup.cc b/mindspore/core/ops/embedding_lookup.cc index 89bc2eb5dc6..bdb0baa24c7 100644 --- a/mindspore/core/ops/embedding_lookup.cc +++ b/mindspore/core/ops/embedding_lookup.cc @@ -15,14 +15,31 @@ */ #include +#include +#include #include "ops/embedding_lookup.h" -#include "mindapi/ir/type.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/encoder_layer.cc b/mindspore/core/ops/encoder_layer.cc index 1a2a9f0aa18..b4f0b1d6465 100644 --- a/mindspore/core/ops/encoder_layer.cc +++ b/mindspore/core/ops/encoder_layer.cc @@ -16,8 +16,12 @@ */ #include "ops/encoder_layer.h" + #include "ops/primitive_c.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore::ops { diff --git a/mindspore/core/ops/equal_count.cc b/mindspore/core/ops/equal_count.cc index a37e2eb0496..f481135dab8 100644 --- a/mindspore/core/ops/equal_count.cc +++ b/mindspore/core/ops/equal_count.cc @@ -15,15 +15,23 @@ */ #include "ops/equal_count.h" -#include -#include + #include -#include #include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/erf.cc b/mindspore/core/ops/erf.cc index 2d7aa48ad77..ffa27255cd8 100644 --- a/mindspore/core/ops/erf.cc +++ b/mindspore/core/ops/erf.cc @@ -15,14 +15,26 @@ */ #include "ops/erf.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/erfc.cc b/mindspore/core/ops/erfc.cc index da469fd9fe4..a7f85cab4a2 100644 --- a/mindspore/core/ops/erfc.cc +++ b/mindspore/core/ops/erfc.cc @@ -15,14 +15,26 @@ */ #include "ops/erfc.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/erfinv.cc b/mindspore/core/ops/erfinv.cc index e3f478fa5ba..6c6ccdaa528 100644 --- a/mindspore/core/ops/erfinv.cc +++ b/mindspore/core/ops/erfinv.cc @@ -15,12 +15,26 @@ */ #include "ops/erfinv.h" + #include -#include #include -#include "ops/op_utils.h" +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/euclidean_norm.cc b/mindspore/core/ops/euclidean_norm.cc index a3abf772e6a..484fb2e1fc9 100644 --- a/mindspore/core/ops/euclidean_norm.cc +++ b/mindspore/core/ops/euclidean_norm.cc @@ -14,13 +14,34 @@ * limitations under the License. */ #include "ops/euclidean_norm.h" + #include #include #include +#include + #include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/expand.cc b/mindspore/core/ops/expand.cc index bf56a263b16..f86d064afd2 100644 --- a/mindspore/core/ops/expand.cc +++ b/mindspore/core/ops/expand.cc @@ -15,11 +15,32 @@ */ #include "ops/expand.h" -#include + #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/expm1.cc b/mindspore/core/ops/expm1.cc index ac3a166170d..a75f2857b66 100644 --- a/mindspore/core/ops/expm1.cc +++ b/mindspore/core/ops/expm1.cc @@ -15,14 +15,24 @@ */ #include -#include -#include #include + #include "ops/expm1.h" #include "utils/check_convert_utils.h" #include "ops/primitive_c.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/extract_glimpse.cc b/mindspore/core/ops/extract_glimpse.cc index aadb9be8056..ed8127cb266 100644 --- a/mindspore/core/ops/extract_glimpse.cc +++ b/mindspore/core/ops/extract_glimpse.cc @@ -14,17 +14,32 @@ * limitations under the License. */ -#include #include #include #include -#include +#include + #include "ops/extract_glimpse.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/dshape.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/extract_image_patches.cc b/mindspore/core/ops/extract_image_patches.cc index 56139bb7b2f..83e8b162917 100644 --- a/mindspore/core/ops/extract_image_patches.cc +++ b/mindspore/core/ops/extract_image_patches.cc @@ -15,9 +15,28 @@ */ #include "ops/extract_image_patches.h" + +#include +#include + #include "ir/dtype/number.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/extract_volume_patches.cc b/mindspore/core/ops/extract_volume_patches.cc index bfa97cae802..8b6427382e3 100644 --- a/mindspore/core/ops/extract_volume_patches.cc +++ b/mindspore/core/ops/extract_volume_patches.cc @@ -15,9 +15,29 @@ */ #include "ops/extract_volume_patches.h" + +#include +#include + #include "ir/dtype/number.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/eye.cc b/mindspore/core/ops/eye.cc index fb08d23071f..5400d3d2a8e 100644 --- a/mindspore/core/ops/eye.cc +++ b/mindspore/core/ops/eye.cc @@ -15,16 +15,29 @@ */ #include "ops/eye.h" + #include #include #include -#include #include + #include "abstract/abstract_value.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fake_quant_param.cc b/mindspore/core/ops/fake_quant_param.cc index d56ff5dd997..80b7cb55936 100644 --- a/mindspore/core/ops/fake_quant_param.cc +++ b/mindspore/core/ops/fake_quant_param.cc @@ -15,14 +15,25 @@ */ #include "ops/fake_quant_param.h" + #include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "mindapi/ir/type.h" #include "mindapi/base/type_id.h" -#include "ir/scalar.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/fake_quant_with_min_max_vars_per_channel.cc b/mindspore/core/ops/fake_quant_with_min_max_vars_per_channel.cc index fa21dbe89b7..75195e63ad3 100644 --- a/mindspore/core/ops/fake_quant_with_min_max_vars_per_channel.cc +++ b/mindspore/core/ops/fake_quant_with_min_max_vars_per_channel.cc @@ -15,8 +15,13 @@ */ #include "ops/fake_quant_with_min_max_vars_per_channel.h" -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fast_gelu.cc b/mindspore/core/ops/fast_gelu.cc index 860207d56a3..8e47b95a4e2 100644 --- a/mindspore/core/ops/fast_gelu.cc +++ b/mindspore/core/ops/fast_gelu.cc @@ -16,13 +16,21 @@ #include "ops/fast_gelu.h" -#include #include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fft_with_size.cc b/mindspore/core/ops/fft_with_size.cc index d93f06567e8..6262622b16f 100644 --- a/mindspore/core/ops/fft_with_size.cc +++ b/mindspore/core/ops/fft_with_size.cc @@ -14,10 +14,31 @@ * limitations under the License. */ #include "ops/fft_with_size.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fill_diagonal.cc b/mindspore/core/ops/fill_diagonal.cc index fc71c0de0be..0c3a6f530db 100644 --- a/mindspore/core/ops/fill_diagonal.cc +++ b/mindspore/core/ops/fill_diagonal.cc @@ -15,9 +15,29 @@ */ #include "ops/fill_diagonal.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fill_v2.cc b/mindspore/core/ops/fill_v2.cc index 093e2631b23..5b173aee1a9 100644 --- a/mindspore/core/ops/fill_v2.cc +++ b/mindspore/core/ops/fill_v2.cc @@ -24,7 +24,24 @@ #include "abstract/abstract_value.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fills.cc b/mindspore/core/ops/fills.cc index fc0beb27ca1..bafd8367be4 100644 --- a/mindspore/core/ops/fills.cc +++ b/mindspore/core/ops/fills.cc @@ -15,13 +15,23 @@ */ #include "ops/fills.h" + #include #include -#include -#include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/float_status.cc b/mindspore/core/ops/float_status.cc index fbd7abdd67a..51452507fe4 100644 --- a/mindspore/core/ops/float_status.cc +++ b/mindspore/core/ops/float_status.cc @@ -14,14 +14,25 @@ * limitations under the License. */ -#include -#include +#include +#include #include "ops/float_status.h" -#include "ops/op_utils.h" -#include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/floor_div.cc b/mindspore/core/ops/floor_div.cc index 4bbb7318ecf..08341b8cac0 100644 --- a/mindspore/core/ops/floor_div.cc +++ b/mindspore/core/ops/floor_div.cc @@ -14,17 +14,30 @@ * limitations under the License. */ #include "ops/floor_div.h" -#include -#include + #include #include #include #include + #include "abstract/abstract_value.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fmin.cc b/mindspore/core/ops/fmin.cc index cfdf58642ae..ca997e841ae 100644 --- a/mindspore/core/ops/fmin.cc +++ b/mindspore/core/ops/fmin.cc @@ -15,14 +15,24 @@ */ #include "ops/fmin.h" -#include + #include #include +#include + #include "abstract/ops/op_infer.h" -#include "abstract/dshape.h" #include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/format_transpose.cc b/mindspore/core/ops/format_transpose.cc index f6b9c071149..602c5addca0 100644 --- a/mindspore/core/ops/format_transpose.cc +++ b/mindspore/core/ops/format_transpose.cc @@ -14,7 +14,12 @@ * limitations under the License. */ #include "ops/format_transpose.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fractional_avg_pool.cc b/mindspore/core/ops/fractional_avg_pool.cc index 76646d227cc..936f755db62 100644 --- a/mindspore/core/ops/fractional_avg_pool.cc +++ b/mindspore/core/ops/fractional_avg_pool.cc @@ -15,11 +15,30 @@ */ #include "ops/fractional_avg_pool.h" -#include + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/ms_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fractional_max_pool.cc b/mindspore/core/ops/fractional_max_pool.cc index 13913225413..5cb6b00a36b 100644 --- a/mindspore/core/ops/fractional_max_pool.cc +++ b/mindspore/core/ops/fractional_max_pool.cc @@ -15,15 +15,34 @@ */ #include "ops/fractional_max_pool.h" + #include -#include #include #include #include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/ms_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/fractional_max_pool3d_with_fixed_ksize.cc b/mindspore/core/ops/fractional_max_pool3d_with_fixed_ksize.cc index 9349d17a709..71fb3be6d1a 100644 --- a/mindspore/core/ops/fractional_max_pool3d_with_fixed_ksize.cc +++ b/mindspore/core/ops/fractional_max_pool3d_with_fixed_ksize.cc @@ -15,15 +15,33 @@ */ #include "ops/fractional_max_pool3d_with_fixed_ksize.h" + #include #include #include #include #include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/fractional_max_pool_with_fixed_ksize.cc b/mindspore/core/ops/fractional_max_pool_with_fixed_ksize.cc index cceb9fd3090..0eb741d2212 100644 --- a/mindspore/core/ops/fractional_max_pool_with_fixed_ksize.cc +++ b/mindspore/core/ops/fractional_max_pool_with_fixed_ksize.cc @@ -16,16 +16,33 @@ #include "ops/fractional_max_pool_with_fixed_ksize.h" -#include #include #include #include #include #include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/fused_ada_factor.cc b/mindspore/core/ops/fused_ada_factor.cc index ba59820e7fe..dd801bd8265 100644 --- a/mindspore/core/ops/fused_ada_factor.cc +++ b/mindspore/core/ops/fused_ada_factor.cc @@ -15,13 +15,26 @@ */ #include "ops/fused_ada_factor.h" -#include + #include #include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fused_batch_norm.cc b/mindspore/core/ops/fused_batch_norm.cc index 54d3b7c3680..74099d86c9e 100644 --- a/mindspore/core/ops/fused_batch_norm.cc +++ b/mindspore/core/ops/fused_batch_norm.cc @@ -14,10 +14,12 @@ * limitations under the License. */ -#include - #include "ops/fused_batch_norm.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fused_matmul_bias_add.cc b/mindspore/core/ops/fused_matmul_bias_add.cc index 50c165d437b..a3f940e5d2c 100644 --- a/mindspore/core/ops/fused_matmul_bias_add.cc +++ b/mindspore/core/ops/fused_matmul_bias_add.cc @@ -15,14 +15,30 @@ */ #include "ops/fused_matmul_bias_add.h" + #include #include #include #include #include + #include "ops/mat_mul.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/base_operator.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fused_sparse_ftrl.cc b/mindspore/core/ops/fused_sparse_ftrl.cc index b759c72d6ca..16d53e2d3d9 100644 --- a/mindspore/core/ops/fused_sparse_ftrl.cc +++ b/mindspore/core/ops/fused_sparse_ftrl.cc @@ -14,12 +14,31 @@ * limitations under the License. */ #include "ops/fused_sparse_ftrl.h" + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fused_sparse_proximal_adagrad.cc b/mindspore/core/ops/fused_sparse_proximal_adagrad.cc index ae224c25508..51ff3397c4d 100644 --- a/mindspore/core/ops/fused_sparse_proximal_adagrad.cc +++ b/mindspore/core/ops/fused_sparse_proximal_adagrad.cc @@ -15,12 +15,31 @@ */ #include "ops/fused_sparse_proximal_adagrad.h" + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/activation.cc b/mindspore/core/ops/fusion/activation.cc index 738fb2ca6f2..b8bf75d9b7f 100644 --- a/mindspore/core/ops/fusion/activation.cc +++ b/mindspore/core/ops/fusion/activation.cc @@ -15,10 +15,12 @@ */ #include "ops/fusion/activation.h" -#include -#include -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/add_fusion.cc b/mindspore/core/ops/fusion/add_fusion.cc index 5bd1df0ef10..2c96fc7ade2 100644 --- a/mindspore/core/ops/fusion/add_fusion.cc +++ b/mindspore/core/ops/fusion/add_fusion.cc @@ -15,9 +15,12 @@ */ #include "ops/fusion/add_fusion.h" -#include -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/adder_fusion.cc b/mindspore/core/ops/fusion/adder_fusion.cc index bebe59b54bf..4ed0978b622 100644 --- a/mindspore/core/ops/fusion/adder_fusion.cc +++ b/mindspore/core/ops/fusion/adder_fusion.cc @@ -15,7 +15,13 @@ */ #include "ops/fusion/adder_fusion.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/arg_max_fusion.cc b/mindspore/core/ops/fusion/arg_max_fusion.cc index 3403eafcecc..cacc01228e2 100644 --- a/mindspore/core/ops/fusion/arg_max_fusion.cc +++ b/mindspore/core/ops/fusion/arg_max_fusion.cc @@ -15,7 +15,12 @@ */ #include "ops/fusion/arg_max_fusion.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/arg_min_fusion.cc b/mindspore/core/ops/fusion/arg_min_fusion.cc index c26795b53ec..41cf59907cc 100644 --- a/mindspore/core/ops/fusion/arg_min_fusion.cc +++ b/mindspore/core/ops/fusion/arg_min_fusion.cc @@ -15,7 +15,12 @@ */ #include "ops/fusion/arg_min_fusion.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/bias_dropout_add_fusion.cc b/mindspore/core/ops/fusion/bias_dropout_add_fusion.cc index fa9acb5c2ec..fc6987f99f7 100644 --- a/mindspore/core/ops/fusion/bias_dropout_add_fusion.cc +++ b/mindspore/core/ops/fusion/bias_dropout_add_fusion.cc @@ -15,12 +15,13 @@ */ #include "ops/fusion/bias_dropout_add_fusion.h" -#include - -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "abstract/param_validator.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/fusion/conv2d_backprop_filter_fusion.cc b/mindspore/core/ops/fusion/conv2d_backprop_filter_fusion.cc index 9ed83508edb..98cb259c59e 100644 --- a/mindspore/core/ops/fusion/conv2d_backprop_filter_fusion.cc +++ b/mindspore/core/ops/fusion/conv2d_backprop_filter_fusion.cc @@ -14,10 +14,13 @@ * limitations under the License. */ -#include - #include "ops/fusion/conv2d_backprop_filter_fusion.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/conv2d_backprop_input_fusion.cc b/mindspore/core/ops/fusion/conv2d_backprop_input_fusion.cc index 6f086150eeb..5a28cc2cc50 100644 --- a/mindspore/core/ops/fusion/conv2d_backprop_input_fusion.cc +++ b/mindspore/core/ops/fusion/conv2d_backprop_input_fusion.cc @@ -15,10 +15,14 @@ */ #include -#include #include "ops/fusion/conv2d_backprop_input_fusion.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/conv2d_fusion.cc b/mindspore/core/ops/fusion/conv2d_fusion.cc index ca0145a486c..fc2cd4dc439 100644 --- a/mindspore/core/ops/fusion/conv2d_fusion.cc +++ b/mindspore/core/ops/fusion/conv2d_fusion.cc @@ -13,11 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include #include #include "ops/fusion/conv2d_fusion.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/conv2d_transpose_fusion.cc b/mindspore/core/ops/fusion/conv2d_transpose_fusion.cc index ad66ace3245..27b14189598 100644 --- a/mindspore/core/ops/fusion/conv2d_transpose_fusion.cc +++ b/mindspore/core/ops/fusion/conv2d_transpose_fusion.cc @@ -15,8 +15,15 @@ */ #include "ops/fusion/conv2d_transpose_fusion.h" -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/div_fusion.cc b/mindspore/core/ops/fusion/div_fusion.cc index 61d4e4e07db..1e1513624bc 100644 --- a/mindspore/core/ops/fusion/div_fusion.cc +++ b/mindspore/core/ops/fusion/div_fusion.cc @@ -15,8 +15,13 @@ */ #include "ops/fusion/div_fusion.h" -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/embedding_lookup_fusion.cc b/mindspore/core/ops/fusion/embedding_lookup_fusion.cc index 62e1ed07c67..a42ea914359 100644 --- a/mindspore/core/ops/fusion/embedding_lookup_fusion.cc +++ b/mindspore/core/ops/fusion/embedding_lookup_fusion.cc @@ -15,8 +15,12 @@ */ #include "ops/fusion/embedding_lookup_fusion.h" -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/exp_fusion.cc b/mindspore/core/ops/fusion/exp_fusion.cc index dcca336c81b..30f2910697a 100644 --- a/mindspore/core/ops/fusion/exp_fusion.cc +++ b/mindspore/core/ops/fusion/exp_fusion.cc @@ -15,8 +15,13 @@ */ #include "ops/fusion/exp_fusion.h" -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/groupnorm_fusion.cc b/mindspore/core/ops/fusion/groupnorm_fusion.cc index 4c26eb2d14a..57d9bcb27e3 100644 --- a/mindspore/core/ops/fusion/groupnorm_fusion.cc +++ b/mindspore/core/ops/fusion/groupnorm_fusion.cc @@ -15,10 +15,12 @@ */ #include "ops/fusion/groupnorm_fusion.h" -#include -#include -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/l2_normalize_fusion.cc b/mindspore/core/ops/fusion/l2_normalize_fusion.cc index 9ee4329f8d9..1cfdce30d56 100644 --- a/mindspore/core/ops/fusion/l2_normalize_fusion.cc +++ b/mindspore/core/ops/fusion/l2_normalize_fusion.cc @@ -15,8 +15,13 @@ */ #include "ops/fusion/l2_normalize_fusion.h" -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/layer_norm_fusion.cc b/mindspore/core/ops/fusion/layer_norm_fusion.cc index 2ddfd4da842..d88224f680b 100644 --- a/mindspore/core/ops/fusion/layer_norm_fusion.cc +++ b/mindspore/core/ops/fusion/layer_norm_fusion.cc @@ -15,7 +15,12 @@ */ #include "ops/fusion/layer_norm_fusion.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/mat_mul_fusion.cc b/mindspore/core/ops/fusion/mat_mul_fusion.cc index f202373ace9..87faf2a9b91 100644 --- a/mindspore/core/ops/fusion/mat_mul_fusion.cc +++ b/mindspore/core/ops/fusion/mat_mul_fusion.cc @@ -14,12 +14,13 @@ * limitations under the License. */ -#include -#include -#include #include "ops/fusion/mat_mul_fusion.h" -#include "ops/op_utils.h" -#include "abstract/dshape.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/mul_fusion.cc b/mindspore/core/ops/fusion/mul_fusion.cc index e3eb25b8df1..7e2d560bd48 100644 --- a/mindspore/core/ops/fusion/mul_fusion.cc +++ b/mindspore/core/ops/fusion/mul_fusion.cc @@ -15,9 +15,13 @@ */ #include "ops/fusion/mul_fusion.h" -#include -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/pad_fusion.cc b/mindspore/core/ops/fusion/pad_fusion.cc index e5899ad4198..fd60c848642 100644 --- a/mindspore/core/ops/fusion/pad_fusion.cc +++ b/mindspore/core/ops/fusion/pad_fusion.cc @@ -15,10 +15,13 @@ */ #include "ops/fusion/pad_fusion.h" -#include -#include -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/partial_fusion.cc b/mindspore/core/ops/fusion/partial_fusion.cc index 09f30144842..7160a7644d2 100644 --- a/mindspore/core/ops/fusion/partial_fusion.cc +++ b/mindspore/core/ops/fusion/partial_fusion.cc @@ -15,7 +15,12 @@ */ #include "ops/fusion/partial_fusion.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/pow_fusion.cc b/mindspore/core/ops/fusion/pow_fusion.cc index f1576ce16e7..eabbf47c99c 100644 --- a/mindspore/core/ops/fusion/pow_fusion.cc +++ b/mindspore/core/ops/fusion/pow_fusion.cc @@ -14,10 +14,13 @@ * limitations under the License. */ -#include -#include #include "ops/fusion/pow_fusion.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/prelu_fusion.cc b/mindspore/core/ops/fusion/prelu_fusion.cc index 5f58bc3d7ce..2f74a2af8c2 100644 --- a/mindspore/core/ops/fusion/prelu_fusion.cc +++ b/mindspore/core/ops/fusion/prelu_fusion.cc @@ -15,11 +15,15 @@ */ #include "ops/fusion/prelu_fusion.h" -#include -#include -#include + #include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/scale_fusion.cc b/mindspore/core/ops/fusion/scale_fusion.cc index 2b08dd3fd12..a240a66c413 100644 --- a/mindspore/core/ops/fusion/scale_fusion.cc +++ b/mindspore/core/ops/fusion/scale_fusion.cc @@ -15,9 +15,13 @@ */ #include "ops/fusion/scale_fusion.h" -#include -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/sub_fusion.cc b/mindspore/core/ops/fusion/sub_fusion.cc index 90ed3d742bb..39c84afa888 100644 --- a/mindspore/core/ops/fusion/sub_fusion.cc +++ b/mindspore/core/ops/fusion/sub_fusion.cc @@ -15,8 +15,13 @@ */ #include "ops/fusion/sub_fusion.h" -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/tile_fusion.cc b/mindspore/core/ops/fusion/tile_fusion.cc index 354ba5038dd..9e673bfd713 100644 --- a/mindspore/core/ops/fusion/tile_fusion.cc +++ b/mindspore/core/ops/fusion/tile_fusion.cc @@ -15,8 +15,13 @@ */ #include "ops/fusion/tile_fusion.h" -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/fusion/topk_fusion.cc b/mindspore/core/ops/fusion/topk_fusion.cc index 25dccde5582..33a58c439ee 100644 --- a/mindspore/core/ops/fusion/topk_fusion.cc +++ b/mindspore/core/ops/fusion/topk_fusion.cc @@ -15,8 +15,13 @@ */ #include "ops/fusion/topk_fusion.h" -#include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/base_operator.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/gather.cc b/mindspore/core/ops/gather.cc index 0ce14f60756..425a55bda79 100644 --- a/mindspore/core/ops/gather.cc +++ b/mindspore/core/ops/gather.cc @@ -19,11 +19,29 @@ #include #include #include +#include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "ops/gather_comm.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/gather_d.cc b/mindspore/core/ops/gather_d.cc index 99522c0568f..f69b955aa87 100644 --- a/mindspore/core/ops/gather_d.cc +++ b/mindspore/core/ops/gather_d.cc @@ -15,11 +15,35 @@ */ #include "ops/gather_d.h" + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/gelu.cc b/mindspore/core/ops/gelu.cc index 8300d14c823..7f550236e9a 100644 --- a/mindspore/core/ops/gelu.cc +++ b/mindspore/core/ops/gelu.cc @@ -14,15 +14,26 @@ * limitations under the License. */ #include "ops/gelu.h" + #include -#include #include #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/geqrf.cc b/mindspore/core/ops/geqrf.cc index 213dca524df..a513c55a2a0 100644 --- a/mindspore/core/ops/geqrf.cc +++ b/mindspore/core/ops/geqrf.cc @@ -17,16 +17,26 @@ #include #include -#include #include -#include #include -#include "mindapi/ir/type.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" -#include "utils/anf_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/ger.cc b/mindspore/core/ops/ger.cc index 44d37edf696..2ce2159423d 100644 --- a/mindspore/core/ops/ger.cc +++ b/mindspore/core/ops/ger.cc @@ -16,11 +16,25 @@ #include #include +#include #include "ops/ger.h" -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/getnext.cc b/mindspore/core/ops/getnext.cc index 5d134fb9c76..b8f0cbc7625 100644 --- a/mindspore/core/ops/getnext.cc +++ b/mindspore/core/ops/getnext.cc @@ -18,7 +18,6 @@ #include #include #include -#include #include #include "abstract/ops/primitive_infer_map.h" diff --git a/mindspore/core/ops/glu.cc b/mindspore/core/ops/glu.cc index 48f614abb4b..970568653ea 100644 --- a/mindspore/core/ops/glu.cc +++ b/mindspore/core/ops/glu.cc @@ -17,9 +17,25 @@ #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/gpu_convert_to_dynamic_shape.cc b/mindspore/core/ops/gpu_convert_to_dynamic_shape.cc index cfe33a3577e..b7346c18970 100644 --- a/mindspore/core/ops/gpu_convert_to_dynamic_shape.cc +++ b/mindspore/core/ops/gpu_convert_to_dynamic_shape.cc @@ -14,15 +14,25 @@ * limitations under the License. */ -#include -#include -#include #include #include + #include "ops/gpu_convert_to_dynamic_shape.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/abs_grad.cc b/mindspore/core/ops/grad/abs_grad.cc index 636d270dde8..c45fa176fce 100644 --- a/mindspore/core/ops/grad/abs_grad.cc +++ b/mindspore/core/ops/grad/abs_grad.cc @@ -15,12 +15,26 @@ */ #include "ops/grad/abs_grad.h" -#include -#include -#include "abstract/param_validator.h" + +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/acos_grad.cc b/mindspore/core/ops/grad/acos_grad.cc index 08a9c5d9911..55ab9df2146 100644 --- a/mindspore/core/ops/grad/acos_grad.cc +++ b/mindspore/core/ops/grad/acos_grad.cc @@ -15,14 +15,26 @@ */ #include "ops/grad/acos_grad.h" -#include + #include -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "ops/grad/elewise_grad_infer_shape.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/acosh_grad.cc b/mindspore/core/ops/grad/acosh_grad.cc index c1f4d7c7466..712b98da8e9 100644 --- a/mindspore/core/ops/grad/acosh_grad.cc +++ b/mindspore/core/ops/grad/acosh_grad.cc @@ -15,14 +15,26 @@ */ #include "ops/grad/acosh_grad.h" -#include + #include -#include "ops/op_utils.h" -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/grad/elewise_grad_infer_shape.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad.cc b/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad.cc index 54e1b950a97..ad89590b9a1 100644 --- a/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad.cc +++ b/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad.cc @@ -15,10 +15,23 @@ */ #include "ops/grad/adaptive_avg_pool_2d_grad.h" + #include -#include "ops/op_utils.h" -#include "abstract/param_validator.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad_v1.cc b/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad_v1.cc index b1d9df28c8e..833a6c2f75e 100644 --- a/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad_v1.cc +++ b/mindspore/core/ops/grad/adaptive_avg_pool_2d_grad_v1.cc @@ -18,9 +18,22 @@ #include -#include "ops/op_utils.h" -#include "abstract/param_validator.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/adaptive_avg_pool_3d_grad.cc b/mindspore/core/ops/grad/adaptive_avg_pool_3d_grad.cc index 8acb64c2766..58933498c75 100644 --- a/mindspore/core/ops/grad/adaptive_avg_pool_3d_grad.cc +++ b/mindspore/core/ops/grad/adaptive_avg_pool_3d_grad.cc @@ -18,10 +18,25 @@ #include -#include "abstract/param_validator.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/adaptive_max_pool2d_grad.cc b/mindspore/core/ops/grad/adaptive_max_pool2d_grad.cc index 53ca1d43e23..4e6b1f53471 100644 --- a/mindspore/core/ops/grad/adaptive_max_pool2d_grad.cc +++ b/mindspore/core/ops/grad/adaptive_max_pool2d_grad.cc @@ -19,10 +19,26 @@ #include #include #include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/adaptive_max_pool_3d_grad.cc b/mindspore/core/ops/grad/adaptive_max_pool_3d_grad.cc index 0ed07ed4be1..ae27dc8ced6 100644 --- a/mindspore/core/ops/grad/adaptive_max_pool_3d_grad.cc +++ b/mindspore/core/ops/grad/adaptive_max_pool_3d_grad.cc @@ -16,10 +16,24 @@ #include "ops/grad/adaptive_max_pool_3d_grad.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/affine_grid_grad.cc b/mindspore/core/ops/grad/affine_grid_grad.cc index fedf4c68eb5..11d3ea61511 100644 --- a/mindspore/core/ops/grad/affine_grid_grad.cc +++ b/mindspore/core/ops/grad/affine_grid_grad.cc @@ -15,13 +15,33 @@ */ #include "ops/grad/affine_grid_grad.h" -#include + #include #include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/asin_grad.cc b/mindspore/core/ops/grad/asin_grad.cc index 948592a098b..4c9b45defa2 100644 --- a/mindspore/core/ops/grad/asin_grad.cc +++ b/mindspore/core/ops/grad/asin_grad.cc @@ -15,12 +15,26 @@ */ #include "ops/grad/asin_grad.h" -#include "abstract/param_validator.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "ops/grad/elewise_grad_infer_shape.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/asinh_grad.cc b/mindspore/core/ops/grad/asinh_grad.cc index 43d22083a94..1db3c09ad1e 100644 --- a/mindspore/core/ops/grad/asinh_grad.cc +++ b/mindspore/core/ops/grad/asinh_grad.cc @@ -15,10 +15,26 @@ */ #include "ops/grad/asinh_grad.h" + +#include +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "ops/grad/elewise_grad_infer_shape.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/atan_grad.cc b/mindspore/core/ops/grad/atan_grad.cc index 022e11c1273..33b879d1713 100644 --- a/mindspore/core/ops/grad/atan_grad.cc +++ b/mindspore/core/ops/grad/atan_grad.cc @@ -15,13 +15,27 @@ */ #include "ops/grad/atan_grad.h" -#include + #include -#include "abstract/param_validator.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/grad/elewise_grad_infer_shape.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/avg_pool_grad.cc b/mindspore/core/ops/grad/avg_pool_grad.cc index 0340e4f6bbc..d5acc933ed5 100644 --- a/mindspore/core/ops/grad/avg_pool_grad.cc +++ b/mindspore/core/ops/grad/avg_pool_grad.cc @@ -15,9 +15,21 @@ */ #include "ops/grad/avg_pool_grad.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/batch_norm_grad.cc b/mindspore/core/ops/grad/batch_norm_grad.cc index 806add49c44..e6482070ce5 100644 --- a/mindspore/core/ops/grad/batch_norm_grad.cc +++ b/mindspore/core/ops/grad/batch_norm_grad.cc @@ -16,10 +16,28 @@ #include #include +#include +#include +#include + #include "ops/grad/batch_norm_grad.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/batch_norm_grad_grad.cc b/mindspore/core/ops/grad/batch_norm_grad_grad.cc index 76cab77164b..abc256d2b4b 100644 --- a/mindspore/core/ops/grad/batch_norm_grad_grad.cc +++ b/mindspore/core/ops/grad/batch_norm_grad_grad.cc @@ -16,10 +16,25 @@ #include #include + #include "ops/grad/batch_norm_grad_grad.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/bias_add_grad.cc b/mindspore/core/ops/grad/bias_add_grad.cc index 24c24d664a6..9cd6bc729eb 100644 --- a/mindspore/core/ops/grad/bias_add_grad.cc +++ b/mindspore/core/ops/grad/bias_add_grad.cc @@ -15,16 +15,35 @@ */ #include "ops/grad/bias_add_grad.h" + #include -#include #include -#include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/format.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/binary_cross_entropy_grad.cc b/mindspore/core/ops/grad/binary_cross_entropy_grad.cc index caf2602c8a8..c4035259e7d 100644 --- a/mindspore/core/ops/grad/binary_cross_entropy_grad.cc +++ b/mindspore/core/ops/grad/binary_cross_entropy_grad.cc @@ -17,10 +17,25 @@ #include #include #include +#include +#include #include "ops/grad/binary_cross_entropy_grad.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/bn_infer_grad.cc b/mindspore/core/ops/grad/bn_infer_grad.cc index 51cbb137db7..ea0efe8bc4a 100644 --- a/mindspore/core/ops/grad/bn_infer_grad.cc +++ b/mindspore/core/ops/grad/bn_infer_grad.cc @@ -15,11 +15,22 @@ */ #include -#include +#include + #include "ops/grad/bn_infer_grad.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/bn_training_reduce_grad.cc b/mindspore/core/ops/grad/bn_training_reduce_grad.cc index 6c9ad1aa270..201bda67af2 100644 --- a/mindspore/core/ops/grad/bn_training_reduce_grad.cc +++ b/mindspore/core/ops/grad/bn_training_reduce_grad.cc @@ -15,8 +15,26 @@ */ #include "ops/grad/bn_training_reduce_grad.h" -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/bn_training_update_grad.cc b/mindspore/core/ops/grad/bn_training_update_grad.cc index 56b972ce17a..4817bcf86d4 100644 --- a/mindspore/core/ops/grad/bn_training_update_grad.cc +++ b/mindspore/core/ops/grad/bn_training_update_grad.cc @@ -16,13 +16,21 @@ #include "ops/grad/bn_training_update_grad.h" -#include - -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/cdist_grad.cc b/mindspore/core/ops/grad/cdist_grad.cc index ec0e02a74ec..d42856a86ec 100644 --- a/mindspore/core/ops/grad/cdist_grad.cc +++ b/mindspore/core/ops/grad/cdist_grad.cc @@ -16,9 +16,27 @@ #include "ops/grad/cdist_grad.h" -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/cholesky_grad.cc b/mindspore/core/ops/grad/cholesky_grad.cc index e1c51c1d731..4d18336fe71 100644 --- a/mindspore/core/ops/grad/cholesky_grad.cc +++ b/mindspore/core/ops/grad/cholesky_grad.cc @@ -17,12 +17,23 @@ #include #include #include +#include #include "ops/grad/cholesky_grad.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/de_conv2d_grad_filter.cc b/mindspore/core/ops/grad/de_conv2d_grad_filter.cc index bc1100b5340..5855af69e3c 100644 --- a/mindspore/core/ops/grad/de_conv2d_grad_filter.cc +++ b/mindspore/core/ops/grad/de_conv2d_grad_filter.cc @@ -17,7 +17,11 @@ #include #include "ops/grad/de_conv2d_grad_filter.h" -#include "ops/op_utils.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/deformable_offsets_grad.cc b/mindspore/core/ops/grad/deformable_offsets_grad.cc index 6857e040896..b722ab60516 100644 --- a/mindspore/core/ops/grad/deformable_offsets_grad.cc +++ b/mindspore/core/ops/grad/deformable_offsets_grad.cc @@ -14,7 +14,6 @@ * limitations under the License. */ -#include #include #include #include @@ -22,7 +21,20 @@ #include "ops/grad/deformable_offsets_grad.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/dilation2d_backprop_filter.cc b/mindspore/core/ops/grad/dilation2d_backprop_filter.cc index abcdf121445..79f5e77a791 100644 --- a/mindspore/core/ops/grad/dilation2d_backprop_filter.cc +++ b/mindspore/core/ops/grad/dilation2d_backprop_filter.cc @@ -16,17 +16,33 @@ #include "ops/grad/dilation2d_backprop_filter.h" -#include #include #include #include #include +#include +#include -#include "mindapi/base/types.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/dilation2d_backprop_input.cc b/mindspore/core/ops/grad/dilation2d_backprop_input.cc index 667d4bd7626..2e5f9a2bc63 100644 --- a/mindspore/core/ops/grad/dilation2d_backprop_input.cc +++ b/mindspore/core/ops/grad/dilation2d_backprop_input.cc @@ -16,17 +16,33 @@ #include "ops/grad/dilation2d_backprop_input.h" -#include #include #include #include #include +#include +#include -#include "mindapi/base/types.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/dropout_grad.cc b/mindspore/core/ops/grad/dropout_grad.cc index d7adec7629a..cf7ba0efe7a 100644 --- a/mindspore/core/ops/grad/dropout_grad.cc +++ b/mindspore/core/ops/grad/dropout_grad.cc @@ -15,12 +15,26 @@ */ #include "ops/grad/dropout_grad.h" -#include + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/dynamic_rnn_grad.cc b/mindspore/core/ops/grad/dynamic_rnn_grad.cc index 1fe7672a922..f4c59a909ab 100644 --- a/mindspore/core/ops/grad/dynamic_rnn_grad.cc +++ b/mindspore/core/ops/grad/dynamic_rnn_grad.cc @@ -15,9 +15,27 @@ */ #include +#include + #include "ops/grad/dynamic_rnn_grad.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/einsum_grad.cc b/mindspore/core/ops/grad/einsum_grad.cc index 8cf1b8fac22..f6710adc006 100644 --- a/mindspore/core/ops/grad/einsum_grad.cc +++ b/mindspore/core/ops/grad/einsum_grad.cc @@ -15,9 +15,25 @@ */ #include "ops/grad/einsum_grad.h" -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/elu_grad.cc b/mindspore/core/ops/grad/elu_grad.cc index fc7ced949fb..36d9aa828a1 100644 --- a/mindspore/core/ops/grad/elu_grad.cc +++ b/mindspore/core/ops/grad/elu_grad.cc @@ -14,15 +14,32 @@ * limitations under the License. */ #include "ops/grad/elu_grad.h" + #include -#include #include #include #include -#include "abstract/param_validator.h" -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/fast_gelu_grad.cc b/mindspore/core/ops/grad/fast_gelu_grad.cc index 54f3f56d5b8..e7c88d7ea05 100644 --- a/mindspore/core/ops/grad/fast_gelu_grad.cc +++ b/mindspore/core/ops/grad/fast_gelu_grad.cc @@ -15,11 +15,23 @@ */ #include "ops/grad/fast_gelu_grad.h" -#include + #include -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/fractional_avg_pool_grad.cc b/mindspore/core/ops/grad/fractional_avg_pool_grad.cc index 8399e15cba3..cceaca3fc31 100644 --- a/mindspore/core/ops/grad/fractional_avg_pool_grad.cc +++ b/mindspore/core/ops/grad/fractional_avg_pool_grad.cc @@ -15,15 +15,35 @@ */ #include "ops/grad/fractional_avg_pool_grad.h" + #include -#include #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/fractional_max_pool3d_grad_with_fixed_ksize.cc b/mindspore/core/ops/grad/fractional_max_pool3d_grad_with_fixed_ksize.cc index 023510c2ece..b1c18d68e02 100644 --- a/mindspore/core/ops/grad/fractional_max_pool3d_grad_with_fixed_ksize.cc +++ b/mindspore/core/ops/grad/fractional_max_pool3d_grad_with_fixed_ksize.cc @@ -15,14 +15,28 @@ */ #include "ops/grad/fractional_max_pool3d_grad_with_fixed_ksize.h" + #include -#include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/fractional_max_pool_grad.cc b/mindspore/core/ops/grad/fractional_max_pool_grad.cc index 03eeaeb1c32..39762b1c3ca 100644 --- a/mindspore/core/ops/grad/fractional_max_pool_grad.cc +++ b/mindspore/core/ops/grad/fractional_max_pool_grad.cc @@ -15,14 +15,30 @@ */ #include "ops/grad/fractional_max_pool_grad.h" + #include -#include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/fractional_max_pool_grad_with_fixed_ksize.cc b/mindspore/core/ops/grad/fractional_max_pool_grad_with_fixed_ksize.cc index b727f435531..0a17d613906 100644 --- a/mindspore/core/ops/grad/fractional_max_pool_grad_with_fixed_ksize.cc +++ b/mindspore/core/ops/grad/fractional_max_pool_grad_with_fixed_ksize.cc @@ -17,13 +17,28 @@ #include "ops/grad/fractional_max_pool_grad_with_fixed_ksize.h" #include -#include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/gather_d_grad.cc b/mindspore/core/ops/grad/gather_d_grad.cc index 729707e83fa..2b729e05099 100644 --- a/mindspore/core/ops/grad/gather_d_grad.cc +++ b/mindspore/core/ops/grad/gather_d_grad.cc @@ -14,11 +14,26 @@ * limitations under the License. */ #include "ops/grad/gather_d_grad.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/gather_d_grad_v2.cc b/mindspore/core/ops/grad/gather_d_grad_v2.cc index 72e35e88692..7b1c1470a8b 100644 --- a/mindspore/core/ops/grad/gather_d_grad_v2.cc +++ b/mindspore/core/ops/grad/gather_d_grad_v2.cc @@ -14,11 +14,25 @@ * limitations under the License. */ #include "ops/grad/gather_d_grad_v2.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/gelu_grad.cc b/mindspore/core/ops/grad/gelu_grad.cc index 0a29fb41b33..448fdf958d1 100644 --- a/mindspore/core/ops/grad/gelu_grad.cc +++ b/mindspore/core/ops/grad/gelu_grad.cc @@ -15,16 +15,23 @@ */ #include "ops/grad/gelu_grad.h" -#include -#include -#include #include #include +#include -#include "abstract/param_validator.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/glu_grad.cc b/mindspore/core/ops/grad/glu_grad.cc index 8193c525662..2bb43954464 100644 --- a/mindspore/core/ops/grad/glu_grad.cc +++ b/mindspore/core/ops/grad/glu_grad.cc @@ -14,15 +14,27 @@ * limitations under the License. */ #include "ops/grad/glu_grad.h" + #include #include #include #include #include "abstract/param_validator.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/grid_sampler_2d_grad.cc b/mindspore/core/ops/grad/grid_sampler_2d_grad.cc index 128b3d98bda..e9d59839cfe 100644 --- a/mindspore/core/ops/grad/grid_sampler_2d_grad.cc +++ b/mindspore/core/ops/grad/grid_sampler_2d_grad.cc @@ -15,9 +15,30 @@ */ #include "ops/grad/grid_sampler_2d_grad.h" + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/grid_sampler_3d_grad.cc b/mindspore/core/ops/grad/grid_sampler_3d_grad.cc index 834413cff36..4a5b488c778 100644 --- a/mindspore/core/ops/grad/grid_sampler_3d_grad.cc +++ b/mindspore/core/ops/grad/grid_sampler_3d_grad.cc @@ -15,9 +15,29 @@ */ #include +#include + #include "ops/grad/grid_sampler_3d_grad.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/group_conv2d_grad_input.cc b/mindspore/core/ops/grad/group_conv2d_grad_input.cc index 0bd3e99a407..130df7049d8 100644 --- a/mindspore/core/ops/grad/group_conv2d_grad_input.cc +++ b/mindspore/core/ops/grad/group_conv2d_grad_input.cc @@ -14,7 +14,6 @@ * limitations under the License. */ -#include #include "ops/grad/group_conv2d_grad_input.h" #include "mindapi/base/shared_ptr.h" #include "mindapi/ir/value.h" diff --git a/mindspore/core/ops/grad/hshrink_grad.cc b/mindspore/core/ops/grad/hshrink_grad.cc index bcf9824dba0..f7c197a4f58 100644 --- a/mindspore/core/ops/grad/hshrink_grad.cc +++ b/mindspore/core/ops/grad/hshrink_grad.cc @@ -15,13 +15,28 @@ */ #include "ops/grad/hshrink_grad.h" + #include -#include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/hsigmoid_grad.cc b/mindspore/core/ops/grad/hsigmoid_grad.cc index 1272127faad..43ca458d00e 100644 --- a/mindspore/core/ops/grad/hsigmoid_grad.cc +++ b/mindspore/core/ops/grad/hsigmoid_grad.cc @@ -16,16 +16,26 @@ #include "ops/grad/hsigmoid_grad.h" -#include #include #include #include #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/hswish_grad.cc b/mindspore/core/ops/grad/hswish_grad.cc index c02d09cc32f..4bed5ceb991 100644 --- a/mindspore/core/ops/grad/hswish_grad.cc +++ b/mindspore/core/ops/grad/hswish_grad.cc @@ -17,12 +17,24 @@ #include "ops/grad/hswish_grad.h" #include -#include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore::ops { diff --git a/mindspore/core/ops/grad/igammagrada.cc b/mindspore/core/ops/grad/igammagrada.cc index fcba34a6471..2f26d91c99d 100644 --- a/mindspore/core/ops/grad/igammagrada.cc +++ b/mindspore/core/ops/grad/igammagrada.cc @@ -15,13 +15,26 @@ */ #include "ops/grad/igammagrada.h" + #include #include #include + #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/instance_norm_v2_grad.cc b/mindspore/core/ops/grad/instance_norm_v2_grad.cc index 2901dc62edb..8de352d66ad 100644 --- a/mindspore/core/ops/grad/instance_norm_v2_grad.cc +++ b/mindspore/core/ops/grad/instance_norm_v2_grad.cc @@ -15,18 +15,32 @@ */ #include "ops/grad/instance_norm_v2_grad.h" -#include + #include #include -#include #include #include #include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "ops/primitive_c.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/inv_grad.cc b/mindspore/core/ops/grad/inv_grad.cc index 95093cc215c..23d46d1b685 100644 --- a/mindspore/core/ops/grad/inv_grad.cc +++ b/mindspore/core/ops/grad/inv_grad.cc @@ -15,14 +15,28 @@ */ #include "ops/grad/inv_grad.h" -#include #include + #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/kl_div_loss_grad.cc b/mindspore/core/ops/grad/kl_div_loss_grad.cc index 69e0be0e52f..54d891636e1 100644 --- a/mindspore/core/ops/grad/kl_div_loss_grad.cc +++ b/mindspore/core/ops/grad/kl_div_loss_grad.cc @@ -15,12 +15,30 @@ */ #include "ops/grad/kl_div_loss_grad.h" + #include #include #include -#include "mindapi/ir/type.h" +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/l2_normalize_grad.cc b/mindspore/core/ops/grad/l2_normalize_grad.cc index 816f1ec5533..92b12a98273 100644 --- a/mindspore/core/ops/grad/l2_normalize_grad.cc +++ b/mindspore/core/ops/grad/l2_normalize_grad.cc @@ -15,14 +15,27 @@ */ #include "mindspore/core/ops/grad/l2_normalize_grad.h" -#include -#include + #include #include -#include "ops/op_utils.h" + #include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/layer_norm_grad.cc b/mindspore/core/ops/grad/layer_norm_grad.cc index 083adba9e61..61cb278c707 100644 --- a/mindspore/core/ops/grad/layer_norm_grad.cc +++ b/mindspore/core/ops/grad/layer_norm_grad.cc @@ -15,8 +15,26 @@ */ #include "ops/grad/layer_norm_grad.h" -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/layer_norm_grad_grad.cc b/mindspore/core/ops/grad/layer_norm_grad_grad.cc index 5b5f65eeb2b..ad01a2bfdc6 100644 --- a/mindspore/core/ops/grad/layer_norm_grad_grad.cc +++ b/mindspore/core/ops/grad/layer_norm_grad_grad.cc @@ -16,9 +16,27 @@ #include #include +#include +#include + #include "ops/grad/layer_norm_grad_grad.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/log_softmax_grad.cc b/mindspore/core/ops/grad/log_softmax_grad.cc index 630e7ff6bb1..04e3bb21691 100644 --- a/mindspore/core/ops/grad/log_softmax_grad.cc +++ b/mindspore/core/ops/grad/log_softmax_grad.cc @@ -15,8 +15,29 @@ */ #include "ops/grad/log_softmax_grad.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/logit_grad.cc b/mindspore/core/ops/grad/logit_grad.cc index 431455fe5da..e40534dcd17 100644 --- a/mindspore/core/ops/grad/logit_grad.cc +++ b/mindspore/core/ops/grad/logit_grad.cc @@ -16,16 +16,27 @@ #include "ops/grad/logit_grad.h" -#include -#include #include -#include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/lrn_grad.cc b/mindspore/core/ops/grad/lrn_grad.cc index f5471473caa..d31b659a60d 100644 --- a/mindspore/core/ops/grad/lrn_grad.cc +++ b/mindspore/core/ops/grad/lrn_grad.cc @@ -15,12 +15,30 @@ */ #include "ops/grad/lrn_grad.h" + #include -#include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/lstm_grad.cc b/mindspore/core/ops/grad/lstm_grad.cc index a43bc92d6c5..ed646dbb783 100644 --- a/mindspore/core/ops/grad/lstm_grad.cc +++ b/mindspore/core/ops/grad/lstm_grad.cc @@ -15,9 +15,28 @@ */ #include "ops/grad/lstm_grad.h" -#include -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/lstm_grad_data.cc b/mindspore/core/ops/grad/lstm_grad_data.cc index 1aa95d71b0b..cf7b525510d 100644 --- a/mindspore/core/ops/grad/lstm_grad_data.cc +++ b/mindspore/core/ops/grad/lstm_grad_data.cc @@ -15,9 +15,29 @@ */ #include "ops/grad/lstm_grad_data.h" -#include -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/lstm_grad_weight.cc b/mindspore/core/ops/grad/lstm_grad_weight.cc index d7e538258c0..9b13d8894ec 100644 --- a/mindspore/core/ops/grad/lstm_grad_weight.cc +++ b/mindspore/core/ops/grad/lstm_grad_weight.cc @@ -15,9 +15,26 @@ */ #include "ops/grad/lstm_grad_weight.h" -#include -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/lu_unpack_grad.cc b/mindspore/core/ops/grad/lu_unpack_grad.cc index 211e7e1f8a3..6ca8418cfa0 100644 --- a/mindspore/core/ops/grad/lu_unpack_grad.cc +++ b/mindspore/core/ops/grad/lu_unpack_grad.cc @@ -15,12 +15,28 @@ */ #include "ops/grad/lu_unpack_grad.h" + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/masked_select_grad.cc b/mindspore/core/ops/grad/masked_select_grad.cc index 034fa8e0771..5a73961d8f4 100644 --- a/mindspore/core/ops/grad/masked_select_grad.cc +++ b/mindspore/core/ops/grad/masked_select_grad.cc @@ -14,15 +14,26 @@ * limitations under the License. */ #include "ops/grad/masked_select_grad.h" + #include -#include -#include -#include #include -#include "abstract/param_validator.h" -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool3d_grad_with_argmax.cc b/mindspore/core/ops/grad/max_pool3d_grad_with_argmax.cc index a38299be753..be4257db7f5 100644 --- a/mindspore/core/ops/grad/max_pool3d_grad_with_argmax.cc +++ b/mindspore/core/ops/grad/max_pool3d_grad_with_argmax.cc @@ -15,9 +15,30 @@ */ #include "ops/grad/max_pool3d_grad_with_argmax.h" + #include #include -#include "ops/op_utils.h" +#include +#include + +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool_3d_grad.cc b/mindspore/core/ops/grad/max_pool_3d_grad.cc index aa4de55f208..87bc48ef9ea 100644 --- a/mindspore/core/ops/grad/max_pool_3d_grad.cc +++ b/mindspore/core/ops/grad/max_pool_3d_grad.cc @@ -15,12 +15,28 @@ */ #include "ops/grad/max_pool_3d_grad.h" + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool_3d_grad_grad.cc b/mindspore/core/ops/grad/max_pool_3d_grad_grad.cc index e7a21031121..d245c649c54 100644 --- a/mindspore/core/ops/grad/max_pool_3d_grad_grad.cc +++ b/mindspore/core/ops/grad/max_pool_3d_grad_grad.cc @@ -15,11 +15,25 @@ */ #include "ops/grad/max_pool_3d_grad_grad.h" + #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool_grad.cc b/mindspore/core/ops/grad/max_pool_grad.cc index 950b20bf434..0e6a92bd130 100644 --- a/mindspore/core/ops/grad/max_pool_grad.cc +++ b/mindspore/core/ops/grad/max_pool_grad.cc @@ -15,8 +15,23 @@ */ #include "ops/grad/max_pool_grad.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool_grad_grad.cc b/mindspore/core/ops/grad/max_pool_grad_grad.cc index 49e088741b9..7b3cdd30a3a 100644 --- a/mindspore/core/ops/grad/max_pool_grad_grad.cc +++ b/mindspore/core/ops/grad/max_pool_grad_grad.cc @@ -15,11 +15,27 @@ */ #include "ops/grad/max_pool_grad_grad.h" + #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool_grad_grad_with_argmax.cc b/mindspore/core/ops/grad/max_pool_grad_grad_with_argmax.cc index 54ee08e1ddc..fc20d24fe46 100644 --- a/mindspore/core/ops/grad/max_pool_grad_grad_with_argmax.cc +++ b/mindspore/core/ops/grad/max_pool_grad_grad_with_argmax.cc @@ -15,11 +15,23 @@ */ #include "ops/grad/max_pool_grad_grad_with_argmax.h" -#include + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool_grad_v1.cc b/mindspore/core/ops/grad/max_pool_grad_v1.cc index f4429bf2bbb..769dbf491d0 100644 --- a/mindspore/core/ops/grad/max_pool_grad_v1.cc +++ b/mindspore/core/ops/grad/max_pool_grad_v1.cc @@ -15,9 +15,23 @@ */ #include "ops/grad/max_pool_grad_v1.h" + #include -#include "ops/op_utils.h" + #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/format.h" +#include "mindapi/base/types.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/max_pool_grad_with_argmax.cc b/mindspore/core/ops/grad/max_pool_grad_with_argmax.cc index dfaec365026..6b2d8644422 100644 --- a/mindspore/core/ops/grad/max_pool_grad_with_argmax.cc +++ b/mindspore/core/ops/grad/max_pool_grad_with_argmax.cc @@ -15,14 +15,30 @@ */ #include "ops/grad/max_pool_grad_with_argmax.h" + #include #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/median_grad.cc b/mindspore/core/ops/grad/median_grad.cc index d6deb9bb515..e92b6a861ba 100644 --- a/mindspore/core/ops/grad/median_grad.cc +++ b/mindspore/core/ops/grad/median_grad.cc @@ -15,14 +15,31 @@ */ #include "ops/grad/median_grad.h" -#include + #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/minimum_grad.cc b/mindspore/core/ops/grad/minimum_grad.cc index 51d149befbe..b97951e00a8 100644 --- a/mindspore/core/ops/grad/minimum_grad.cc +++ b/mindspore/core/ops/grad/minimum_grad.cc @@ -15,11 +15,28 @@ */ #include "ops/grad/minimum_grad.h" + #include -#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/mirror_pad_grad.cc b/mindspore/core/ops/grad/mirror_pad_grad.cc index 5ba6f2e6607..b0dad70a505 100644 --- a/mindspore/core/ops/grad/mirror_pad_grad.cc +++ b/mindspore/core/ops/grad/mirror_pad_grad.cc @@ -14,12 +14,27 @@ * limitations under the License. */ -#include #include +#include + #include "ops/grad/mirror_pad_grad.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/multi_margin_loss_grad.cc b/mindspore/core/ops/grad/multi_margin_loss_grad.cc index b5be547f87a..f70bae3c73c 100644 --- a/mindspore/core/ops/grad/multi_margin_loss_grad.cc +++ b/mindspore/core/ops/grad/multi_margin_loss_grad.cc @@ -15,9 +15,30 @@ */ #include "ops/grad/multi_margin_loss_grad.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/multilabel_margin_loss_grad.cc b/mindspore/core/ops/grad/multilabel_margin_loss_grad.cc index 93ab994ed7e..8c54d7170b1 100644 --- a/mindspore/core/ops/grad/multilabel_margin_loss_grad.cc +++ b/mindspore/core/ops/grad/multilabel_margin_loss_grad.cc @@ -15,9 +15,28 @@ */ #include "ops/grad/multilabel_margin_loss_grad.h" -#include "ops/op_utils.h" + +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/mvlgamma_grad.cc b/mindspore/core/ops/grad/mvlgamma_grad.cc index 88195e6e672..85bf6c36760 100644 --- a/mindspore/core/ops/grad/mvlgamma_grad.cc +++ b/mindspore/core/ops/grad/mvlgamma_grad.cc @@ -13,14 +13,27 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include #include #include +#include + #include "ops/grad/mvlgamma_grad.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/neg_grad.cc b/mindspore/core/ops/grad/neg_grad.cc index 52f4d24af70..c1ea99f2d14 100644 --- a/mindspore/core/ops/grad/neg_grad.cc +++ b/mindspore/core/ops/grad/neg_grad.cc @@ -15,7 +15,9 @@ */ #include "ops/grad/neg_grad.h" -#include "abstract/ops/primitive_infer_map.h" + +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/nllloss_grad.cc b/mindspore/core/ops/grad/nllloss_grad.cc index 7621fbbe2e5..98611b0f0bb 100644 --- a/mindspore/core/ops/grad/nllloss_grad.cc +++ b/mindspore/core/ops/grad/nllloss_grad.cc @@ -17,14 +17,31 @@ #include "ops/grad/nllloss_grad.h" #include -#include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "ops/nllloss.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/p_s_r_o_i_pooling_grad.cc b/mindspore/core/ops/grad/p_s_r_o_i_pooling_grad.cc index 3c24317ed3a..60fcc2c893f 100644 --- a/mindspore/core/ops/grad/p_s_r_o_i_pooling_grad.cc +++ b/mindspore/core/ops/grad/p_s_r_o_i_pooling_grad.cc @@ -14,15 +14,26 @@ * limitations under the License. */ -#include -#include #include -#include #include -#include "ops/op_utils.h" + #include "ops/grad/p_s_r_o_i_pooling_grad.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/pdist_grad.cc b/mindspore/core/ops/grad/pdist_grad.cc index 9e99f062c28..b9e37130de8 100644 --- a/mindspore/core/ops/grad/pdist_grad.cc +++ b/mindspore/core/ops/grad/pdist_grad.cc @@ -16,9 +16,28 @@ #include "ops/grad/pdist_grad.h" -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/pool_grad.cc b/mindspore/core/ops/grad/pool_grad.cc index 7c999004385..a74b97a5490 100644 --- a/mindspore/core/ops/grad/pool_grad.cc +++ b/mindspore/core/ops/grad/pool_grad.cc @@ -15,7 +15,18 @@ */ #include "ops/grad/pool_grad.h" -#include "ops/op_utils.h" + +#include +#include +#include +#include + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/pooling_grad.cc b/mindspore/core/ops/grad/pooling_grad.cc index e18e64b0c0b..3226dff06d9 100644 --- a/mindspore/core/ops/grad/pooling_grad.cc +++ b/mindspore/core/ops/grad/pooling_grad.cc @@ -15,7 +15,12 @@ */ #include "ops/grad/pooling_grad.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/prelu_grad.cc b/mindspore/core/ops/grad/prelu_grad.cc index 37df8ac0a80..c08f872e9e2 100644 --- a/mindspore/core/ops/grad/prelu_grad.cc +++ b/mindspore/core/ops/grad/prelu_grad.cc @@ -14,13 +14,28 @@ * limitations under the License. */ #include "ops/grad/prelu_grad.h" + #include -#include #include -#include "ops/op_utils.h" +#include + #include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/random_gamma_grad.cc b/mindspore/core/ops/grad/random_gamma_grad.cc index 5bacd3c310b..1bd07e6b003 100644 --- a/mindspore/core/ops/grad/random_gamma_grad.cc +++ b/mindspore/core/ops/grad/random_gamma_grad.cc @@ -15,13 +15,28 @@ */ #include "ops/grad/random_gamma_grad.h" -#include + #include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/reciprocal_grad.cc b/mindspore/core/ops/grad/reciprocal_grad.cc index 995427ef198..6a19fc53842 100644 --- a/mindspore/core/ops/grad/reciprocal_grad.cc +++ b/mindspore/core/ops/grad/reciprocal_grad.cc @@ -15,11 +15,24 @@ */ #include "ops/grad/reciprocal_grad.h" -#include + #include -#include "abstract/param_validator.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/relu6_grad.cc b/mindspore/core/ops/grad/relu6_grad.cc index 20ed8ea388b..4eb08526832 100644 --- a/mindspore/core/ops/grad/relu6_grad.cc +++ b/mindspore/core/ops/grad/relu6_grad.cc @@ -14,15 +14,28 @@ * limitations under the License. */ #include "ops/grad/relu6_grad.h" + #include -#include -#include #include #include +#include + #include "abstract/param_validator.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/relu_grad.cc b/mindspore/core/ops/grad/relu_grad.cc index 80aad7866da..7be9934c8e5 100644 --- a/mindspore/core/ops/grad/relu_grad.cc +++ b/mindspore/core/ops/grad/relu_grad.cc @@ -14,12 +14,25 @@ * limitations under the License. */ #include "ops/grad/relu_grad.h" + #include -#include #include +#include + #include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/relu_grad_v2.cc b/mindspore/core/ops/grad/relu_grad_v2.cc index bd07b478687..fbc92f6f60d 100644 --- a/mindspore/core/ops/grad/relu_grad_v2.cc +++ b/mindspore/core/ops/grad/relu_grad_v2.cc @@ -14,15 +14,28 @@ * limitations under the License. */ #include "ops/grad/relu_grad_v2.h" + #include -#include #include -#include #include -#include "ops/op_utils.h" -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/resize_bicubic_grad.cc b/mindspore/core/ops/grad/resize_bicubic_grad.cc index 24587070af0..64519bd21d1 100644 --- a/mindspore/core/ops/grad/resize_bicubic_grad.cc +++ b/mindspore/core/ops/grad/resize_bicubic_grad.cc @@ -14,14 +14,28 @@ * limitations under the License. */ #include "ops/grad/resize_bicubic_grad.h" -#include + #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/resize_bilinear_grad.cc b/mindspore/core/ops/grad/resize_bilinear_grad.cc index ab406c09c6e..0a13a4191a5 100644 --- a/mindspore/core/ops/grad/resize_bilinear_grad.cc +++ b/mindspore/core/ops/grad/resize_bilinear_grad.cc @@ -14,14 +14,33 @@ * limitations under the License. */ #include "ops/grad/resize_bilinear_grad.h" + #include -#include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/resize_linear_1d_grad.cc b/mindspore/core/ops/grad/resize_linear_1d_grad.cc index 366ec476cc7..0adce6effd3 100644 --- a/mindspore/core/ops/grad/resize_linear_1d_grad.cc +++ b/mindspore/core/ops/grad/resize_linear_1d_grad.cc @@ -17,12 +17,25 @@ #include #include #include -#include #include -#include "ops/op_utils.h" + #include "ops/grad/resize_linear_1d_grad.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/resize_nearest_neighbor_grad.cc b/mindspore/core/ops/grad/resize_nearest_neighbor_grad.cc index 9b918153e80..ba3acb09c5f 100644 --- a/mindspore/core/ops/grad/resize_nearest_neighbor_grad.cc +++ b/mindspore/core/ops/grad/resize_nearest_neighbor_grad.cc @@ -14,15 +14,31 @@ * limitations under the License. */ -#include #include #include -#include #include +#include + #include "ops/op_utils.h" #include "ops/grad/resize_nearest_neighbor_grad.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/resize_nearest_neighbor_v2_grad.cc b/mindspore/core/ops/grad/resize_nearest_neighbor_v2_grad.cc index 91005bd9dd8..53465df4ac4 100644 --- a/mindspore/core/ops/grad/resize_nearest_neighbor_v2_grad.cc +++ b/mindspore/core/ops/grad/resize_nearest_neighbor_v2_grad.cc @@ -15,15 +15,34 @@ */ #include "ops/grad/resize_nearest_neighbor_v2_grad.h" + #include -#include #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/format.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/rsqrt_grad.cc b/mindspore/core/ops/grad/rsqrt_grad.cc index 02fcd6a6be7..3374693a56e 100644 --- a/mindspore/core/ops/grad/rsqrt_grad.cc +++ b/mindspore/core/ops/grad/rsqrt_grad.cc @@ -15,13 +15,24 @@ */ #include "ops/grad/rsqrt_grad.h" -#include -#include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/scale_and_translate_grad.cc b/mindspore/core/ops/grad/scale_and_translate_grad.cc index dac9cdfdadf..ba0754b1ce7 100644 --- a/mindspore/core/ops/grad/scale_and_translate_grad.cc +++ b/mindspore/core/ops/grad/scale_and_translate_grad.cc @@ -16,13 +16,27 @@ #include "ops/grad/scale_and_translate_grad.h" -#include #include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sigmoid_cross_entropy_with_logits_grad.cc b/mindspore/core/ops/grad/sigmoid_cross_entropy_with_logits_grad.cc index e7fc471913f..d7cab75d293 100644 --- a/mindspore/core/ops/grad/sigmoid_cross_entropy_with_logits_grad.cc +++ b/mindspore/core/ops/grad/sigmoid_cross_entropy_with_logits_grad.cc @@ -15,14 +15,29 @@ */ #include "ops/grad/sigmoid_cross_entropy_with_logits_grad.h" + #include -#include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sigmoid_grad.cc b/mindspore/core/ops/grad/sigmoid_grad.cc index 96927078f77..726246ad8b2 100644 --- a/mindspore/core/ops/grad/sigmoid_grad.cc +++ b/mindspore/core/ops/grad/sigmoid_grad.cc @@ -14,15 +14,25 @@ * limitations under the License. */ #include "ops/grad/sigmoid_grad.h" -#include -#include -#include + #include #include +#include + #include "abstract/param_validator.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/smooth_l1_loss_grad.cc b/mindspore/core/ops/grad/smooth_l1_loss_grad.cc index 89eda1a3113..6f4d9091c7a 100644 --- a/mindspore/core/ops/grad/smooth_l1_loss_grad.cc +++ b/mindspore/core/ops/grad/smooth_l1_loss_grad.cc @@ -18,9 +18,25 @@ #include #include #include + #include "ops/grad/smooth_l1_loss_grad.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/soft_margin_loss_grad.cc b/mindspore/core/ops/grad/soft_margin_loss_grad.cc index 76deba03996..c996710a4e5 100644 --- a/mindspore/core/ops/grad/soft_margin_loss_grad.cc +++ b/mindspore/core/ops/grad/soft_margin_loss_grad.cc @@ -15,10 +15,27 @@ */ #include "ops/grad/soft_margin_loss_grad.h" -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/soft_shrink_grad.cc b/mindspore/core/ops/grad/soft_shrink_grad.cc index 4d931901b8a..573295695f4 100644 --- a/mindspore/core/ops/grad/soft_shrink_grad.cc +++ b/mindspore/core/ops/grad/soft_shrink_grad.cc @@ -17,14 +17,27 @@ #include "ops/grad/soft_shrink_grad.h" #include -#include #include #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/softmax_grad.cc b/mindspore/core/ops/grad/softmax_grad.cc index 1b9a3257f8a..9dcb4a6bd09 100644 --- a/mindspore/core/ops/grad/softmax_grad.cc +++ b/mindspore/core/ops/grad/softmax_grad.cc @@ -15,8 +15,29 @@ */ #include "ops/grad/softmax_grad.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/softplus_grad.cc b/mindspore/core/ops/grad/softplus_grad.cc index 1d2325ccb1c..4746431a4c9 100644 --- a/mindspore/core/ops/grad/softplus_grad.cc +++ b/mindspore/core/ops/grad/softplus_grad.cc @@ -14,15 +14,26 @@ * limitations under the License. */ #include "ops/grad/softplus_grad.h" + #include -#include -#include #include #include +#include + #include "abstract/param_validator.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sparse_add_grad.cc b/mindspore/core/ops/grad/sparse_add_grad.cc index 7c789a578bb..cb7b96ef44c 100644 --- a/mindspore/core/ops/grad/sparse_add_grad.cc +++ b/mindspore/core/ops/grad/sparse_add_grad.cc @@ -15,14 +15,29 @@ */ #include "ops/grad/sparse_add_grad.h" + #include #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sparse_fill_empty_rows_grad.cc b/mindspore/core/ops/grad/sparse_fill_empty_rows_grad.cc index 0f62b3750fb..61acd3a1158 100644 --- a/mindspore/core/ops/grad/sparse_fill_empty_rows_grad.cc +++ b/mindspore/core/ops/grad/sparse_fill_empty_rows_grad.cc @@ -17,14 +17,27 @@ #include "ops/grad/sparse_fill_empty_rows_grad.h" #include -#include #include #include -#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sparse_segment_mean_grad.cc b/mindspore/core/ops/grad/sparse_segment_mean_grad.cc index 93e9c12ac04..49a1e1a9b75 100644 --- a/mindspore/core/ops/grad/sparse_segment_mean_grad.cc +++ b/mindspore/core/ops/grad/sparse_segment_mean_grad.cc @@ -15,11 +15,28 @@ */ #include "ops/grad/sparse_segment_mean_grad.h" + +#include +#include + #include "abstract/dshape.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sparse_segment_sqrt_n_grad.cc b/mindspore/core/ops/grad/sparse_segment_sqrt_n_grad.cc index 18a8424f37b..9ed6829abbd 100644 --- a/mindspore/core/ops/grad/sparse_segment_sqrt_n_grad.cc +++ b/mindspore/core/ops/grad/sparse_segment_sqrt_n_grad.cc @@ -15,11 +15,29 @@ */ #include "ops/grad/sparse_segment_sqrt_n_grad.h" + +#include +#include + #include "abstract/dshape.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sparse_segment_sum_grad.cc b/mindspore/core/ops/grad/sparse_segment_sum_grad.cc index 0506533323c..15699931c8f 100644 --- a/mindspore/core/ops/grad/sparse_segment_sum_grad.cc +++ b/mindspore/core/ops/grad/sparse_segment_sum_grad.cc @@ -15,11 +15,29 @@ */ #include "ops/grad/sparse_segment_sum_grad.h" + +#include +#include + #include "abstract/dshape.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sparse_slice_grad.cc b/mindspore/core/ops/grad/sparse_slice_grad.cc index db7c90af302..600068106f2 100644 --- a/mindspore/core/ops/grad/sparse_slice_grad.cc +++ b/mindspore/core/ops/grad/sparse_slice_grad.cc @@ -15,14 +15,26 @@ */ #include "ops/grad/sparse_slice_grad.h" -#include -#include -#include +#include +#include -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/sqrt_grad.cc b/mindspore/core/ops/grad/sqrt_grad.cc index fff57e79dc2..c76c5178c16 100644 --- a/mindspore/core/ops/grad/sqrt_grad.cc +++ b/mindspore/core/ops/grad/sqrt_grad.cc @@ -15,13 +15,28 @@ */ #include "ops/grad/sqrt_grad.h" + #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/strided_slice_v2_grad.cc b/mindspore/core/ops/grad/strided_slice_v2_grad.cc index 13f94e3df8b..0aceff1fc68 100644 --- a/mindspore/core/ops/grad/strided_slice_v2_grad.cc +++ b/mindspore/core/ops/grad/strided_slice_v2_grad.cc @@ -15,14 +15,31 @@ */ #include "ops/grad/strided_slice_v2_grad.h" + #include #include #include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/sync_batch_norm_grad.cc b/mindspore/core/ops/grad/sync_batch_norm_grad.cc index a36d5e3ceea..9e363086317 100644 --- a/mindspore/core/ops/grad/sync_batch_norm_grad.cc +++ b/mindspore/core/ops/grad/sync_batch_norm_grad.cc @@ -17,12 +17,24 @@ #include "ops/grad/sync_batch_norm_grad.h" #include -#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/primitive.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/grad/tanh_grad.cc b/mindspore/core/ops/grad/tanh_grad.cc index 0e140a61675..c352a51bac2 100644 --- a/mindspore/core/ops/grad/tanh_grad.cc +++ b/mindspore/core/ops/grad/tanh_grad.cc @@ -17,14 +17,25 @@ #include "ops/grad/tanh_grad.h" #include -#include #include #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/trace_grad.cc b/mindspore/core/ops/grad/trace_grad.cc index 59cc404d720..2bc416f673b 100644 --- a/mindspore/core/ops/grad/trace_grad.cc +++ b/mindspore/core/ops/grad/trace_grad.cc @@ -15,7 +15,7 @@ */ #include "ops/grad/trace_grad.h" -#include + #include #include #include @@ -23,6 +23,18 @@ #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/upsample_nearest_3d_grad.cc b/mindspore/core/ops/grad/upsample_nearest_3d_grad.cc index a4d2c3989cd..d4a23f5c683 100644 --- a/mindspore/core/ops/grad/upsample_nearest_3d_grad.cc +++ b/mindspore/core/ops/grad/upsample_nearest_3d_grad.cc @@ -15,10 +15,27 @@ */ #include "ops/grad/upsample_nearest_3d_grad.h" + #include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grad/upsample_trilinear_3d_grad.cc b/mindspore/core/ops/grad/upsample_trilinear_3d_grad.cc index fa00ef32a80..f7e99b3a4e2 100644 --- a/mindspore/core/ops/grad/upsample_trilinear_3d_grad.cc +++ b/mindspore/core/ops/grad/upsample_trilinear_3d_grad.cc @@ -14,11 +14,28 @@ * limitations under the License. */ -#include #include +#include + #include "ops/grad/upsample_trilinear_3d_grad.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/greater.cc b/mindspore/core/ops/greater.cc index de06b8f0a39..e6c80b2805a 100644 --- a/mindspore/core/ops/greater.cc +++ b/mindspore/core/ops/greater.cc @@ -15,7 +15,6 @@ */ #include #include -#include #include "ops/greater.h" #include "ops/op_utils.h" diff --git a/mindspore/core/ops/grid_sampler_2d.cc b/mindspore/core/ops/grid_sampler_2d.cc index cb054d90633..348b10cc68f 100644 --- a/mindspore/core/ops/grid_sampler_2d.cc +++ b/mindspore/core/ops/grid_sampler_2d.cc @@ -15,9 +15,29 @@ */ #include "ops/grid_sampler_2d.h" + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/grid_sampler_3d.cc b/mindspore/core/ops/grid_sampler_3d.cc index e971e66e210..4cd7bb83534 100644 --- a/mindspore/core/ops/grid_sampler_3d.cc +++ b/mindspore/core/ops/grid_sampler_3d.cc @@ -15,9 +15,27 @@ */ #include +#include + #include "ops/grid_sampler_3d.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/gru_v2.cc b/mindspore/core/ops/gru_v2.cc index 392211feb92..1d0b62363ac 100644 --- a/mindspore/core/ops/gru_v2.cc +++ b/mindspore/core/ops/gru_v2.cc @@ -16,16 +16,25 @@ #include "ops/gru_v2.h" -#include -#include #include #include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/hamming_window.cc b/mindspore/core/ops/hamming_window.cc index 608132f7892..9589225de18 100644 --- a/mindspore/core/ops/hamming_window.cc +++ b/mindspore/core/ops/hamming_window.cc @@ -16,9 +16,31 @@ #include "ops/hamming_window.h" -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/heaviside.cc b/mindspore/core/ops/heaviside.cc index 7a4e237295e..ef7f23883b1 100644 --- a/mindspore/core/ops/heaviside.cc +++ b/mindspore/core/ops/heaviside.cc @@ -16,14 +16,24 @@ #include "ops/heaviside.h" -#include #include -#include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/histogram.cc b/mindspore/core/ops/histogram.cc index 7ef87dcfac3..903d5545200 100644 --- a/mindspore/core/ops/histogram.cc +++ b/mindspore/core/ops/histogram.cc @@ -15,15 +15,28 @@ */ #include "ops/histogram.h" -#include -#include + #include #include -#include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/histogram_fixed_width.cc b/mindspore/core/ops/histogram_fixed_width.cc index 2434b85c103..b8777480031 100644 --- a/mindspore/core/ops/histogram_fixed_width.cc +++ b/mindspore/core/ops/histogram_fixed_width.cc @@ -15,11 +15,31 @@ */ #include "ops/histogram_fixed_width.h" + +#include +#include +#include + #include "mindapi/ir/type.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" + namespace mindspore { namespace ops { namespace { diff --git a/mindspore/core/ops/hshrink.cc b/mindspore/core/ops/hshrink.cc index 9c282b65e37..3bcd3cced14 100644 --- a/mindspore/core/ops/hshrink.cc +++ b/mindspore/core/ops/hshrink.cc @@ -15,14 +15,25 @@ */ #include -#include #include -#include +#include #include "ops/hshrink.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/hsigmoid.cc b/mindspore/core/ops/hsigmoid.cc index e170bf0211e..9298688cf31 100644 --- a/mindspore/core/ops/hsigmoid.cc +++ b/mindspore/core/ops/hsigmoid.cc @@ -14,11 +14,26 @@ * limitations under the License. */ #include "ops/hsigmoid.h" + #include #include #include +#include +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/hsv_to_rgb.cc b/mindspore/core/ops/hsv_to_rgb.cc index d6647180fb0..7f1084a1fca 100644 --- a/mindspore/core/ops/hsv_to_rgb.cc +++ b/mindspore/core/ops/hsv_to_rgb.cc @@ -14,12 +14,28 @@ * limitations under the License. */ #include "ops/hsv_to_rgb.h" + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/hswish.cc b/mindspore/core/ops/hswish.cc index 15b1adb2964..6a74a2b64bf 100644 --- a/mindspore/core/ops/hswish.cc +++ b/mindspore/core/ops/hswish.cc @@ -17,9 +17,23 @@ #include #include -#include +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore::ops { diff --git a/mindspore/core/ops/identity_n.cc b/mindspore/core/ops/identity_n.cc index 7e7ee15edf9..491fc503ca1 100644 --- a/mindspore/core/ops/identity_n.cc +++ b/mindspore/core/ops/identity_n.cc @@ -15,12 +15,26 @@ */ #include "ops/identity_n.h" + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/ifmr.cc b/mindspore/core/ops/ifmr.cc index 6c98d6fbd4b..c1dc3a6c002 100644 --- a/mindspore/core/ops/ifmr.cc +++ b/mindspore/core/ops/ifmr.cc @@ -15,11 +15,31 @@ */ #include "ops/ifmr.h" + #include #include #include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/igamma.cc b/mindspore/core/ops/igamma.cc index 3eb7cbec8aa..06156c0a291 100644 --- a/mindspore/core/ops/igamma.cc +++ b/mindspore/core/ops/igamma.cc @@ -14,13 +14,26 @@ * limitations under the License. */ #include "ops/igamma.h" + #include #include #include + #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/igammac.cc b/mindspore/core/ops/igammac.cc index f1e889f1b9c..b38f8c3f857 100644 --- a/mindspore/core/ops/igammac.cc +++ b/mindspore/core/ops/igammac.cc @@ -15,13 +15,26 @@ */ #include "ops/igammac.h" + #include #include #include + #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/imag.cc b/mindspore/core/ops/imag.cc index c5f98aa92b7..d8fafe1df65 100644 --- a/mindspore/core/ops/imag.cc +++ b/mindspore/core/ops/imag.cc @@ -15,11 +15,30 @@ */ #include "ops/imag.h" + #include #include +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/in_top_k.cc b/mindspore/core/ops/in_top_k.cc index ca8fe5dfb83..d956af8c252 100644 --- a/mindspore/core/ops/in_top_k.cc +++ b/mindspore/core/ops/in_top_k.cc @@ -15,9 +15,28 @@ */ #include +#include + #include "ops/in_top_k.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/index_add.cc b/mindspore/core/ops/index_add.cc index 36cbe233b24..891fae6abf6 100644 --- a/mindspore/core/ops/index_add.cc +++ b/mindspore/core/ops/index_add.cc @@ -15,10 +15,27 @@ */ #include "ops/index_add.h" -#include -#include "ops/op_utils.h" + +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/index_put.cc b/mindspore/core/ops/index_put.cc index 198d17efa15..416b386aac5 100644 --- a/mindspore/core/ops/index_put.cc +++ b/mindspore/core/ops/index_put.cc @@ -19,10 +19,23 @@ #include #include #include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/inplace_index_add.cc b/mindspore/core/ops/inplace_index_add.cc index fc93386d31f..c603065ceba 100644 --- a/mindspore/core/ops/inplace_index_add.cc +++ b/mindspore/core/ops/inplace_index_add.cc @@ -15,10 +15,25 @@ */ #include "ops/inplace_index_add.h" -#include -#include "ops/op_utils.h" + +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/inplace_op_v2.cc b/mindspore/core/ops/inplace_op_v2.cc index d480a810e4f..86be1821ba5 100644 --- a/mindspore/core/ops/inplace_op_v2.cc +++ b/mindspore/core/ops/inplace_op_v2.cc @@ -14,16 +14,33 @@ * limitations under the License. */ -#include "ops/inplace_update_v2.h" #include #include #include #include #include -#include "ops/op_utils.h" +#include + +#include "ops/inplace_update_v2.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/macros.h" +#include "ops/base_operator.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" + namespace mindspore { namespace ops { namespace { diff --git a/mindspore/core/ops/instance_norm.cc b/mindspore/core/ops/instance_norm.cc index b1de6c17cff..ed147908678 100644 --- a/mindspore/core/ops/instance_norm.cc +++ b/mindspore/core/ops/instance_norm.cc @@ -15,15 +15,30 @@ */ #include "ops/instance_norm.h" + #include -#include #include -#include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/instance_norm_grad.cc b/mindspore/core/ops/instance_norm_grad.cc index 2f0f6c8e54d..6c28b2516a9 100644 --- a/mindspore/core/ops/instance_norm_grad.cc +++ b/mindspore/core/ops/instance_norm_grad.cc @@ -15,15 +15,31 @@ */ #include "ops/instance_norm_grad.h" + #include #include #include -#include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/instance_norm_v2.cc b/mindspore/core/ops/instance_norm_v2.cc index 0765cbfeb28..e91bb45298f 100644 --- a/mindspore/core/ops/instance_norm_v2.cc +++ b/mindspore/core/ops/instance_norm_v2.cc @@ -15,17 +15,32 @@ */ #include "ops/instance_norm_v2.h" -#include + #include -#include #include #include #include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "ops/primitive_c.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/inv.cc b/mindspore/core/ops/inv.cc index 5bb11728a15..e6b7dfcb0ed 100644 --- a/mindspore/core/ops/inv.cc +++ b/mindspore/core/ops/inv.cc @@ -15,16 +15,28 @@ */ #include "ops/inv.h" + #include #include #include + #include "ops/primitive_c.h" #include "ops/op_utils.h" #include "ops/core_ops.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/invert.cc b/mindspore/core/ops/invert.cc index 6749a427009..99b62f3f262 100644 --- a/mindspore/core/ops/invert.cc +++ b/mindspore/core/ops/invert.cc @@ -15,14 +15,24 @@ */ #include "ops/invert.h" -#include #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/iou.cc b/mindspore/core/ops/iou.cc index 1ee35b4a2ac..d4aec0cb5c0 100644 --- a/mindspore/core/ops/iou.cc +++ b/mindspore/core/ops/iou.cc @@ -16,11 +16,27 @@ #include "ops/iou.h" -#include #include +#include +#include #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/is_finite.cc b/mindspore/core/ops/is_finite.cc index eea58fec78f..d5df7648c00 100644 --- a/mindspore/core/ops/is_finite.cc +++ b/mindspore/core/ops/is_finite.cc @@ -15,9 +15,25 @@ */ #include "ops/is_finite.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/is_inf.cc b/mindspore/core/ops/is_inf.cc index 5b8912a06ae..538621ebe69 100644 --- a/mindspore/core/ops/is_inf.cc +++ b/mindspore/core/ops/is_inf.cc @@ -14,14 +14,24 @@ * limitations under the License. */ -#include -#include +#include +#include #include "ops/is_inf.h" -#include "ops/op_utils.h" -#include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/is_nan.cc b/mindspore/core/ops/is_nan.cc index 25d1c29d794..2eec6037f32 100644 --- a/mindspore/core/ops/is_nan.cc +++ b/mindspore/core/ops/is_nan.cc @@ -14,13 +14,24 @@ * limitations under the License. */ -#include -#include +#include +#include #include "ops/is_nan.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/kl_div_loss.cc b/mindspore/core/ops/kl_div_loss.cc index 6ee315f54d6..3544b445a77 100644 --- a/mindspore/core/ops/kl_div_loss.cc +++ b/mindspore/core/ops/kl_div_loss.cc @@ -15,11 +15,28 @@ */ #include "ops/kl_div_loss.h" + #include #include -#include "mindapi/ir/type.h" +#include + #include "utils/check_convert_utils.h" #include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/l2_loss.cc b/mindspore/core/ops/l2_loss.cc index d6f43c30c9d..b755d0573d0 100644 --- a/mindspore/core/ops/l2_loss.cc +++ b/mindspore/core/ops/l2_loss.cc @@ -17,8 +17,21 @@ #include "ops/l2_loss.h" #include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/l2_normalize.cc b/mindspore/core/ops/l2_normalize.cc index 42e2b277d04..5038171a0fa 100644 --- a/mindspore/core/ops/l2_normalize.cc +++ b/mindspore/core/ops/l2_normalize.cc @@ -15,12 +15,30 @@ */ #include +#include +#include #include "ops/l2_normalize.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" -#include "utils/ms_context.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/lamb.cc b/mindspore/core/ops/lamb.cc index 57ce76ba24f..756c6ad90c9 100644 --- a/mindspore/core/ops/lamb.cc +++ b/mindspore/core/ops/lamb.cc @@ -15,9 +15,25 @@ */ #include "ops/lamb.h" + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lars_v2_update.cc b/mindspore/core/ops/lars_v2_update.cc index 46f55e40b29..5a242d4d900 100644 --- a/mindspore/core/ops/lars_v2_update.cc +++ b/mindspore/core/ops/lars_v2_update.cc @@ -15,8 +15,25 @@ */ #include "ops/lars_v2_update.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/layer_norm.cc b/mindspore/core/ops/layer_norm.cc index 34dde5418a0..68237303870 100644 --- a/mindspore/core/ops/layer_norm.cc +++ b/mindspore/core/ops/layer_norm.cc @@ -15,9 +15,28 @@ */ #include "ops/layer_norm.h" -#include "ops/op_utils.h" + #include "utils/ms_context.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/layer_norm_beta_gamma_backprop_v2.cc b/mindspore/core/ops/layer_norm_beta_gamma_backprop_v2.cc index a37d05bb738..c21cf930e22 100644 --- a/mindspore/core/ops/layer_norm_beta_gamma_backprop_v2.cc +++ b/mindspore/core/ops/layer_norm_beta_gamma_backprop_v2.cc @@ -15,12 +15,30 @@ */ #include "ops/layer_norm_beta_gamma_backprop_v2.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/layer_norm_x_backprop_v2.cc b/mindspore/core/ops/layer_norm_x_backprop_v2.cc index d24a2e0ebde..d6f302a317e 100644 --- a/mindspore/core/ops/layer_norm_x_backprop_v2.cc +++ b/mindspore/core/ops/layer_norm_x_backprop_v2.cc @@ -15,12 +15,25 @@ */ #include "ops/layer_norm_x_backprop_v2.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lcm.cc b/mindspore/core/ops/lcm.cc index 3c4f7cd9c8e..352cc17be7a 100644 --- a/mindspore/core/ops/lcm.cc +++ b/mindspore/core/ops/lcm.cc @@ -14,14 +14,24 @@ * limitations under the License. */ -#include #include -#include +#include #include "ops/lcm.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/left_shift.cc b/mindspore/core/ops/left_shift.cc index 750eb57c444..d52d185781a 100644 --- a/mindspore/core/ops/left_shift.cc +++ b/mindspore/core/ops/left_shift.cc @@ -14,17 +14,32 @@ * limitations under the License. */ #include "ops/left_shift.h" -#include -#include + #include #include #include #include #include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/less_equal.cc b/mindspore/core/ops/less_equal.cc index 21d365dafbb..68536ba62d3 100644 --- a/mindspore/core/ops/less_equal.cc +++ b/mindspore/core/ops/less_equal.cc @@ -15,12 +15,24 @@ */ #include #include -#include +#include #include "ops/less_equal.h" #include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lgamma.cc b/mindspore/core/ops/lgamma.cc index ede9d85c5d9..bd917ac1210 100644 --- a/mindspore/core/ops/lgamma.cc +++ b/mindspore/core/ops/lgamma.cc @@ -16,16 +16,27 @@ #include "ops/lgamma.h" -#include -#include #include -#include #include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/lin_space.cc b/mindspore/core/ops/lin_space.cc index a2578415979..d35e4ef05e9 100644 --- a/mindspore/core/ops/lin_space.cc +++ b/mindspore/core/ops/lin_space.cc @@ -15,13 +15,33 @@ */ #include "ops/lin_space.h" + #include #include #include +#include +#include + #include "ops/primitive_c.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/linear_sum_assignment.cc b/mindspore/core/ops/linear_sum_assignment.cc index 05ecd5e2ec6..2a71402e555 100644 --- a/mindspore/core/ops/linear_sum_assignment.cc +++ b/mindspore/core/ops/linear_sum_assignment.cc @@ -15,13 +15,29 @@ */ #include "ops/linear_sum_assignment.h" + #include #include -#include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/list_append.cc b/mindspore/core/ops/list_append.cc index d789e859a03..24b8a988a37 100644 --- a/mindspore/core/ops/list_append.cc +++ b/mindspore/core/ops/list_append.cc @@ -17,10 +17,19 @@ #include "ops/list_append.h" #include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/list_diff.cc b/mindspore/core/ops/list_diff.cc index 17bb9c885f5..84982f25d2f 100644 --- a/mindspore/core/ops/list_diff.cc +++ b/mindspore/core/ops/list_diff.cc @@ -15,16 +15,29 @@ */ #include "ops/list_diff.h" -#include -#include + #include #include -#include #include + #include "abstract/abstract_value.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/log_matrix_determinant.cc b/mindspore/core/ops/log_matrix_determinant.cc index 7bad6cd75ec..e9ca4559632 100644 --- a/mindspore/core/ops/log_matrix_determinant.cc +++ b/mindspore/core/ops/log_matrix_determinant.cc @@ -15,12 +15,27 @@ */ #include "ops/log_matrix_determinant.h" + #include -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/log_normal_reverse.cc b/mindspore/core/ops/log_normal_reverse.cc index b57245fee45..d4119c9684e 100644 --- a/mindspore/core/ops/log_normal_reverse.cc +++ b/mindspore/core/ops/log_normal_reverse.cc @@ -15,12 +15,23 @@ */ #include "ops/log_normal_reverse.h" -#include + #include -#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/log_softmax.cc b/mindspore/core/ops/log_softmax.cc index cf90bcd9722..1e88da7bead 100644 --- a/mindspore/core/ops/log_softmax.cc +++ b/mindspore/core/ops/log_softmax.cc @@ -15,14 +15,30 @@ */ #include "ops/log_softmax.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/log_space.cc b/mindspore/core/ops/log_space.cc index c685d3eed1c..8bf274ac5e3 100644 --- a/mindspore/core/ops/log_space.cc +++ b/mindspore/core/ops/log_space.cc @@ -15,12 +15,29 @@ */ #include "ops/log_space.h" + +#include +#include +#include + #include "abstract/dshape.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/log_space.h b/mindspore/core/ops/log_space.h index b2844a6b1e6..6065c36251d 100644 --- a/mindspore/core/ops/log_space.h +++ b/mindspore/core/ops/log_space.h @@ -16,7 +16,6 @@ #ifndef MINDSPORE_CORE_OPS_LOG_SPACE_H_ #define MINDSPORE_CORE_OPS_LOG_SPACE_H_ -#include #include #include #include diff --git a/mindspore/core/ops/log_uniform_candidate_sampler.cc b/mindspore/core/ops/log_uniform_candidate_sampler.cc index e8ac6332382..aa2a133adb8 100644 --- a/mindspore/core/ops/log_uniform_candidate_sampler.cc +++ b/mindspore/core/ops/log_uniform_candidate_sampler.cc @@ -14,12 +14,28 @@ * limitations under the License. */ #include "ops/log_uniform_candidate_sampler.h" -#include + #include #include +#include + #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "mindspore/core/abstract/ops/op_infer.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/logit.cc b/mindspore/core/ops/logit.cc index 17f576d2c08..795c429dc34 100644 --- a/mindspore/core/ops/logit.cc +++ b/mindspore/core/ops/logit.cc @@ -16,16 +16,27 @@ #include "ops/logit.h" -#include -#include #include -#include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/lower_bound.cc b/mindspore/core/ops/lower_bound.cc index 163c36d5126..eb9b80e360d 100644 --- a/mindspore/core/ops/lower_bound.cc +++ b/mindspore/core/ops/lower_bound.cc @@ -15,9 +15,26 @@ */ #include "ops/lower_bound.h" -#include "ops/op_utils.h" + +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lp_norm.cc b/mindspore/core/ops/lp_norm.cc index 10f50acc13e..7235e1c18c2 100644 --- a/mindspore/core/ops/lp_norm.cc +++ b/mindspore/core/ops/lp_norm.cc @@ -18,10 +18,27 @@ #include #include #include + #include "ops/lp_norm.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lrn.cc b/mindspore/core/ops/lrn.cc index e8ebf201dab..74be6a1c8f6 100644 --- a/mindspore/core/ops/lrn.cc +++ b/mindspore/core/ops/lrn.cc @@ -15,13 +15,29 @@ */ #include "ops/lrn.h" + #include -#include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lstm.cc b/mindspore/core/ops/lstm.cc index 2d48e5ed0b3..1f98b348b11 100644 --- a/mindspore/core/ops/lstm.cc +++ b/mindspore/core/ops/lstm.cc @@ -15,9 +15,26 @@ */ #include "ops/lstm.h" + +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lstm_v2.cc b/mindspore/core/ops/lstm_v2.cc index df843e07b37..6ebd16ce66a 100644 --- a/mindspore/core/ops/lstm_v2.cc +++ b/mindspore/core/ops/lstm_v2.cc @@ -16,15 +16,26 @@ #include "ops/lstm_v2.h" -#include #include #include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lstsq.cc b/mindspore/core/ops/lstsq.cc index d959750fa55..3f492b1a2f3 100644 --- a/mindspore/core/ops/lstsq.cc +++ b/mindspore/core/ops/lstsq.cc @@ -17,11 +17,25 @@ #include #include #include +#include #include "ops/lstsq.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lu.cc b/mindspore/core/ops/lu.cc index 22125dbc7c5..2c593b040dc 100644 --- a/mindspore/core/ops/lu.cc +++ b/mindspore/core/ops/lu.cc @@ -15,10 +15,28 @@ */ #include "ops/lu.h" -#include "ops/op_utils.h" -#include "mindapi/ir/type.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/lu_scipy.cc b/mindspore/core/ops/lu_scipy.cc index 71bc7e6f390..1dff4989fbc 100644 --- a/mindspore/core/ops/lu_scipy.cc +++ b/mindspore/core/ops/lu_scipy.cc @@ -15,12 +15,29 @@ */ #include "ops/lu_scipy.h" + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "common/graph_kernel/core/graph_kernel_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/lu_solve_.cc b/mindspore/core/ops/lu_solve_.cc index f58f55bba19..800b10f2246 100644 --- a/mindspore/core/ops/lu_solve_.cc +++ b/mindspore/core/ops/lu_solve_.cc @@ -14,9 +14,27 @@ * limitations under the License. */ #include "ops/lu_solve_.h" -#include "ops/op_utils.h" + +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" #define LuSolve_for(shape) \ diff --git a/mindspore/core/ops/lu_unpack.cc b/mindspore/core/ops/lu_unpack.cc index a7610f35e7e..d26e9f7322a 100644 --- a/mindspore/core/ops/lu_unpack.cc +++ b/mindspore/core/ops/lu_unpack.cc @@ -15,10 +15,27 @@ */ #include "ops/lu_unpack.h" + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/make_cootensor.cc b/mindspore/core/ops/make_cootensor.cc index 79d0fc84eca..9090ba6d27d 100644 --- a/mindspore/core/ops/make_cootensor.cc +++ b/mindspore/core/ops/make_cootensor.cc @@ -15,21 +15,27 @@ */ #include -#include #include #include "ops/make_cootensor.h" - #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "ops/primitive_c.h" #include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" #include "utils/shape_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/make_csrtensor.cc b/mindspore/core/ops/make_csrtensor.cc index 510898f2edc..cbbcf87246e 100644 --- a/mindspore/core/ops/make_csrtensor.cc +++ b/mindspore/core/ops/make_csrtensor.cc @@ -15,21 +15,27 @@ */ #include -#include #include #include "ops/make_csrtensor.h" - #include "abstract/dshape.h" #include "abstract/param_validator.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "ops/primitive_c.h" #include "utils/anf_utils.h" -#include "utils/check_convert_utils.h" #include "utils/shape_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/make_map_parameter.cc b/mindspore/core/ops/make_map_parameter.cc index b39e6c3ea8c..136876dfda9 100644 --- a/mindspore/core/ops/make_map_parameter.cc +++ b/mindspore/core/ops/make_map_parameter.cc @@ -14,12 +14,23 @@ * limitations under the License. */ #include "ops/make_map_parameter.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ir/map_tensor.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "utils/ms_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/make_range.cc b/mindspore/core/ops/make_range.cc index 53a0bdeaf9f..42b694e9c6d 100644 --- a/mindspore/core/ops/make_range.cc +++ b/mindspore/core/ops/make_range.cc @@ -27,7 +27,6 @@ #include "abstract/ops/primitive_infer_map.h" #include "base/base.h" #include "ir/anf.h" -#include "ir/device_sync.h" #include "ir/dtype/number.h" #include "ir/dtype/type.h" #include "ir/primitive.h" diff --git a/mindspore/core/ops/map_cache_idx.cc b/mindspore/core/ops/map_cache_idx.cc index 3520120932d..fab9fb05637 100644 --- a/mindspore/core/ops/map_cache_idx.cc +++ b/mindspore/core/ops/map_cache_idx.cc @@ -15,10 +15,26 @@ */ #include "ops/map_cache_idx.h" -#include -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/map_tensor_erase.cc b/mindspore/core/ops/map_tensor_erase.cc index 766a27ac668..5bda235be92 100644 --- a/mindspore/core/ops/map_tensor_erase.cc +++ b/mindspore/core/ops/map_tensor_erase.cc @@ -14,10 +14,21 @@ * limitations under the License. */ #include "ops/map_tensor_erase.h" -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "utils/ms_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/map_tensor_get.cc b/mindspore/core/ops/map_tensor_get.cc index 275019af667..48ff9caff22 100644 --- a/mindspore/core/ops/map_tensor_get.cc +++ b/mindspore/core/ops/map_tensor_get.cc @@ -14,12 +14,24 @@ * limitations under the License. */ #include "ops/map_tensor_get.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "utils/ms_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/map_tensor_get_data.cc b/mindspore/core/ops/map_tensor_get_data.cc index 460898abe3c..1205bc779ba 100644 --- a/mindspore/core/ops/map_tensor_get_data.cc +++ b/mindspore/core/ops/map_tensor_get_data.cc @@ -14,12 +14,22 @@ * limitations under the License. */ #include "ops/map_tensor_get_data.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "utils/ms_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/map_tensor_get_grad.cc b/mindspore/core/ops/map_tensor_get_grad.cc index 7468847eec8..fd2a315371f 100644 --- a/mindspore/core/ops/map_tensor_get_grad.cc +++ b/mindspore/core/ops/map_tensor_get_grad.cc @@ -14,12 +14,19 @@ * limitations under the License. */ #include "ops/map_tensor_get_grad.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "utils/ms_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/map_tensor_get_keys.cc b/mindspore/core/ops/map_tensor_get_keys.cc index 6124ce9ef6e..5ec56aeb5fa 100644 --- a/mindspore/core/ops/map_tensor_get_keys.cc +++ b/mindspore/core/ops/map_tensor_get_keys.cc @@ -14,12 +14,22 @@ * limitations under the License. */ #include "ops/map_tensor_get_keys.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "utils/ms_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/map_tensor_get_values.cc b/mindspore/core/ops/map_tensor_get_values.cc index 40940a8efe8..bda143b4a3b 100644 --- a/mindspore/core/ops/map_tensor_get_values.cc +++ b/mindspore/core/ops/map_tensor_get_values.cc @@ -14,12 +14,22 @@ * limitations under the License. */ #include "ops/map_tensor_get_values.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "utils/ms_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/map_tensor_put.cc b/mindspore/core/ops/map_tensor_put.cc index 4408805ac34..52d54c6f3ad 100644 --- a/mindspore/core/ops/map_tensor_put.cc +++ b/mindspore/core/ops/map_tensor_put.cc @@ -14,12 +14,24 @@ * limitations under the License. */ #include "ops/map_tensor_put.h" + #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "utils/ms_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/map_uniform.cc b/mindspore/core/ops/map_uniform.cc index 3bf76ec10c4..eb164c24166 100644 --- a/mindspore/core/ops/map_uniform.cc +++ b/mindspore/core/ops/map_uniform.cc @@ -15,10 +15,23 @@ */ #include "ops/map_uniform.h" -#include -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/masked_scatter.cc b/mindspore/core/ops/masked_scatter.cc index d39b79d90b9..79af52c6bfe 100644 --- a/mindspore/core/ops/masked_scatter.cc +++ b/mindspore/core/ops/masked_scatter.cc @@ -17,12 +17,21 @@ #include #include #include + #include "ops/masked_scatter.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "utils/ms_context.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/mat_mul.cc b/mindspore/core/ops/mat_mul.cc index cf22f72a359..60b867dddba 100644 --- a/mindspore/core/ops/mat_mul.cc +++ b/mindspore/core/ops/mat_mul.cc @@ -14,14 +14,31 @@ * limitations under the License. */ -#include -#include #include #include #include + #include "ops/mat_mul.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_determinant.cc b/mindspore/core/ops/matrix_determinant.cc index b467f531aaf..cee222e1521 100644 --- a/mindspore/core/ops/matrix_determinant.cc +++ b/mindspore/core/ops/matrix_determinant.cc @@ -15,12 +15,25 @@ */ #include "ops/matrix_determinant.h" + #include -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_exp.cc b/mindspore/core/ops/matrix_exp.cc index be372b2ff4e..69a90a739f1 100644 --- a/mindspore/core/ops/matrix_exp.cc +++ b/mindspore/core/ops/matrix_exp.cc @@ -16,12 +16,26 @@ #include "ops/matrix_exp.h" #include -#include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_inverse.cc b/mindspore/core/ops/matrix_inverse.cc index 426b9fdf393..a1a874d3075 100644 --- a/mindspore/core/ops/matrix_inverse.cc +++ b/mindspore/core/ops/matrix_inverse.cc @@ -15,12 +15,27 @@ */ #include "ops/matrix_inverse.h" -#include -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_logarithm.cc b/mindspore/core/ops/matrix_logarithm.cc index 783583eaabc..e81dac5b8ec 100644 --- a/mindspore/core/ops/matrix_logarithm.cc +++ b/mindspore/core/ops/matrix_logarithm.cc @@ -15,13 +15,28 @@ */ #include "ops/matrix_logarithm.h" + #include -#include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_power.cc b/mindspore/core/ops/matrix_power.cc index 5ee163efd91..c8d2eee33c7 100644 --- a/mindspore/core/ops/matrix_power.cc +++ b/mindspore/core/ops/matrix_power.cc @@ -15,11 +15,24 @@ */ #include "ops/matrix_power.h" +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/dshape.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_solve.cc b/mindspore/core/ops/matrix_solve.cc index f6f3b8da247..6e31b5763fb 100644 --- a/mindspore/core/ops/matrix_solve.cc +++ b/mindspore/core/ops/matrix_solve.cc @@ -14,9 +14,26 @@ * limitations under the License. */ #include "ops/matrix_solve.h" -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_solve_ls.cc b/mindspore/core/ops/matrix_solve_ls.cc index d3d717bfe0a..49934c2553b 100644 --- a/mindspore/core/ops/matrix_solve_ls.cc +++ b/mindspore/core/ops/matrix_solve_ls.cc @@ -19,9 +19,22 @@ #include #include #include + #include "ops/matrix_solve_ls.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/matrix_triangular_solve.cc b/mindspore/core/ops/matrix_triangular_solve.cc index 6cbf6adb215..49ff1a5e4a9 100644 --- a/mindspore/core/ops/matrix_triangular_solve.cc +++ b/mindspore/core/ops/matrix_triangular_solve.cc @@ -19,10 +19,28 @@ #include #include #include +#include +#include + #include "ops/matrix_triangular_solve.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/max_pool.cc b/mindspore/core/ops/max_pool.cc index 760b05c2ce2..cdbb0a5df16 100644 --- a/mindspore/core/ops/max_pool.cc +++ b/mindspore/core/ops/max_pool.cc @@ -18,14 +18,28 @@ #include #include #include -#include #include -#include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/max_pool3d.cc b/mindspore/core/ops/max_pool3d.cc index baee9529f74..8cfd6c52122 100644 --- a/mindspore/core/ops/max_pool3d.cc +++ b/mindspore/core/ops/max_pool3d.cc @@ -15,16 +15,34 @@ */ #include "ops/max_pool3d.h" + #include #include #include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "utils/ms_context.h" #include "utils/check_convert_utils.h" #include "ops/base_operator.h" -#include "ops/avg_pool_3d.h" #include "ops/op_name.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/max_pool3d_with_argmax.cc b/mindspore/core/ops/max_pool3d_with_argmax.cc index 42f47789ff9..bf1248d081e 100644 --- a/mindspore/core/ops/max_pool3d_with_argmax.cc +++ b/mindspore/core/ops/max_pool3d_with_argmax.cc @@ -15,11 +15,35 @@ */ #include "ops/max_pool3d_with_argmax.h" + #include -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/max_pool_v1.cc b/mindspore/core/ops/max_pool_v1.cc index c5bc3617afd..bccd61b1cb9 100644 --- a/mindspore/core/ops/max_pool_v1.cc +++ b/mindspore/core/ops/max_pool_v1.cc @@ -15,15 +15,28 @@ */ #include "ops/max_pool_v1.h" -#include -#include + #include #include #include -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/format.h" +#include "mindapi/base/types.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/max_pool_with_argmax.cc b/mindspore/core/ops/max_pool_with_argmax.cc index 87ef4eae5ba..f04631fc81a 100644 --- a/mindspore/core/ops/max_pool_with_argmax.cc +++ b/mindspore/core/ops/max_pool_with_argmax.cc @@ -15,16 +15,37 @@ */ #include "ops/max_pool_with_argmax.h" + #include #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/median.cc b/mindspore/core/ops/median.cc index b3bf5ac7fc8..a16660ad253 100644 --- a/mindspore/core/ops/median.cc +++ b/mindspore/core/ops/median.cc @@ -15,14 +15,32 @@ */ #include "ops/median.h" -#include + #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/minimum.cc b/mindspore/core/ops/minimum.cc index 015833fcb2a..de4334f3909 100644 --- a/mindspore/core/ops/minimum.cc +++ b/mindspore/core/ops/minimum.cc @@ -15,13 +15,25 @@ */ #include "ops/minimum.h" + #include #include +#include +#include + #include "abstract/ops/op_infer.h" -#include "abstract/dshape.h" #include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/mirror_pad.cc b/mindspore/core/ops/mirror_pad.cc index b6766484979..6b460fd9a30 100644 --- a/mindspore/core/ops/mirror_pad.cc +++ b/mindspore/core/ops/mirror_pad.cc @@ -14,13 +14,32 @@ * limitations under the License. */ -#include #include #include +#include +#include + #include "ops/mirror_pad.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/mod.cc b/mindspore/core/ops/mod.cc index 061d08dff58..f701585c272 100644 --- a/mindspore/core/ops/mod.cc +++ b/mindspore/core/ops/mod.cc @@ -15,17 +15,28 @@ */ #include -#include #include -#include #include #include + #include "ops/mod.h" #include "ops/op_utils.h" - #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/multi_margin_loss.cc b/mindspore/core/ops/multi_margin_loss.cc index e8dc42d7518..1266848bb2e 100644 --- a/mindspore/core/ops/multi_margin_loss.cc +++ b/mindspore/core/ops/multi_margin_loss.cc @@ -15,9 +15,30 @@ */ #include "ops/multi_margin_loss.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/multilabel_margin_loss.cc b/mindspore/core/ops/multilabel_margin_loss.cc index c5df83d8011..ae96a88b7a6 100644 --- a/mindspore/core/ops/multilabel_margin_loss.cc +++ b/mindspore/core/ops/multilabel_margin_loss.cc @@ -15,9 +15,29 @@ */ #include "ops/multilabel_margin_loss.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/types.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/multinomial.cc b/mindspore/core/ops/multinomial.cc index 59a66aa5135..c3d2448d921 100644 --- a/mindspore/core/ops/multinomial.cc +++ b/mindspore/core/ops/multinomial.cc @@ -14,18 +14,35 @@ * limitations under the License. */ #include "ops/multinomial.h" + #include -#include #include #include #include -#include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "utils/ms_context.h" #include "abstract/ops/primitive_infer_map.h" -#include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/multinomial_with_replacement.cc b/mindspore/core/ops/multinomial_with_replacement.cc index 8cd8eee9a60..2b508b2dd74 100644 --- a/mindspore/core/ops/multinomial_with_replacement.cc +++ b/mindspore/core/ops/multinomial_with_replacement.cc @@ -16,15 +16,24 @@ #include "ops/multinomial_with_replacement.h" -#include #include -#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/ms_context.h" #include "abstract/ops/primitive_infer_map.h" -#include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/mvlgamma.cc b/mindspore/core/ops/mvlgamma.cc index b8cf8bb8667..2b69144d1d3 100644 --- a/mindspore/core/ops/mvlgamma.cc +++ b/mindspore/core/ops/mvlgamma.cc @@ -14,14 +14,25 @@ * limitations under the License. */ -#include #include -#include + #include "ops/mvlgamma.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/nan_to_num.cc b/mindspore/core/ops/nan_to_num.cc index 955595c319f..8fda77b8815 100644 --- a/mindspore/core/ops/nan_to_num.cc +++ b/mindspore/core/ops/nan_to_num.cc @@ -16,12 +16,27 @@ #include "ops/nan_to_num.h" #include -#include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/float16.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/neg.cc b/mindspore/core/ops/neg.cc index 1add07315cf..ee820f33ba1 100644 --- a/mindspore/core/ops/neg.cc +++ b/mindspore/core/ops/neg.cc @@ -15,15 +15,28 @@ */ #include "ops/neg.h" + #include #include -#include #include -#include -#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/nllloss.cc b/mindspore/core/ops/nllloss.cc index 01bf5fc3922..a1d9f2110f3 100644 --- a/mindspore/core/ops/nllloss.cc +++ b/mindspore/core/ops/nllloss.cc @@ -15,15 +15,33 @@ */ #include "ops/nllloss.h" + #include #include #include -#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/nms_with_mask.cc b/mindspore/core/ops/nms_with_mask.cc index e3f8e5dd988..bbb0be85029 100644 --- a/mindspore/core/ops/nms_with_mask.cc +++ b/mindspore/core/ops/nms_with_mask.cc @@ -15,13 +15,28 @@ */ #include "ops/nms_with_mask.h" -#include + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/no_repeat_ngram.cc b/mindspore/core/ops/no_repeat_ngram.cc index 0baea2c9f01..5188ae5de05 100644 --- a/mindspore/core/ops/no_repeat_ngram.cc +++ b/mindspore/core/ops/no_repeat_ngram.cc @@ -15,15 +15,32 @@ */ #include "ops/no_repeat_ngram.h" + #include -#include #include #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/non_deterministic_ints.cc b/mindspore/core/ops/non_deterministic_ints.cc index bcc2b32e13e..c58454ede86 100644 --- a/mindspore/core/ops/non_deterministic_ints.cc +++ b/mindspore/core/ops/non_deterministic_ints.cc @@ -14,15 +14,34 @@ * limitations under the License. */ #include "ops/non_deterministic_ints.h" + #include -#include #include #include #include + #include "ir/dtype/number.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/non_max_suppression_v3.cc b/mindspore/core/ops/non_max_suppression_v3.cc index a38c9dd42ea..b42e9332904 100644 --- a/mindspore/core/ops/non_max_suppression_v3.cc +++ b/mindspore/core/ops/non_max_suppression_v3.cc @@ -15,15 +15,26 @@ */ #include -#include -#include +#include #include "ops/non_max_suppression_v3.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "abstract/dshape.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" -#include "mindapi/ir/value.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/non_zero.cc b/mindspore/core/ops/non_zero.cc index 3a54e5c4416..d2082904d22 100644 --- a/mindspore/core/ops/non_zero.cc +++ b/mindspore/core/ops/non_zero.cc @@ -15,13 +15,27 @@ */ #include "ops/non_zero.h" + #include #include -#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/non_zero_with_value.cc b/mindspore/core/ops/non_zero_with_value.cc index 7108c248c21..f93c47321ae 100644 --- a/mindspore/core/ops/non_zero_with_value.cc +++ b/mindspore/core/ops/non_zero_with_value.cc @@ -16,14 +16,25 @@ #include "ops/non_zero_with_value.h" -#include #include -#include #include +#include +#include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/param_validator.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/non_zero_with_value_shape.cc b/mindspore/core/ops/non_zero_with_value_shape.cc index 502a66114d5..38093ec5db8 100644 --- a/mindspore/core/ops/non_zero_with_value_shape.cc +++ b/mindspore/core/ops/non_zero_with_value_shape.cc @@ -16,14 +16,26 @@ #include "ops/non_zero_with_value_shape.h" -#include #include #include #include +#include +#include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/param_validator.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/npu_clear_float_status.cc b/mindspore/core/ops/npu_clear_float_status.cc index b4b8e522e8a..fce16061160 100644 --- a/mindspore/core/ops/npu_clear_float_status.cc +++ b/mindspore/core/ops/npu_clear_float_status.cc @@ -17,12 +17,26 @@ #include #include #include +#include #include "ops/npu_clear_float_status.h" -#include "ops/op_utils.h" -#include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/npu_get_float_status.cc b/mindspore/core/ops/npu_get_float_status.cc index e3bda8974a4..5cd8276990c 100644 --- a/mindspore/core/ops/npu_get_float_status.cc +++ b/mindspore/core/ops/npu_get_float_status.cc @@ -17,12 +17,26 @@ #include #include #include +#include #include "ops/npu_get_float_status.h" -#include "ops/op_utils.h" -#include "abstract/param_validator.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/nth_element.cc b/mindspore/core/ops/nth_element.cc index 585c2bba752..5d098383070 100644 --- a/mindspore/core/ops/nth_element.cc +++ b/mindspore/core/ops/nth_element.cc @@ -14,14 +14,32 @@ * limitations under the License. */ #include -#include #include #include +#include #include "ops/nth_element.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/nuclear_norm.cc b/mindspore/core/ops/nuclear_norm.cc index 0311974b798..9c7c36d3072 100644 --- a/mindspore/core/ops/nuclear_norm.cc +++ b/mindspore/core/ops/nuclear_norm.cc @@ -15,12 +15,28 @@ */ #include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/nuclear_norm.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/one_hot.cc b/mindspore/core/ops/one_hot.cc index f9214646e66..5bad8df8b87 100644 --- a/mindspore/core/ops/one_hot.cc +++ b/mindspore/core/ops/one_hot.cc @@ -16,9 +16,30 @@ #include #include +#include +#include + #include "ops/one_hot.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/ones.cc b/mindspore/core/ops/ones.cc index eb8d92c1fa0..12b57f16eb3 100644 --- a/mindspore/core/ops/ones.cc +++ b/mindspore/core/ops/ones.cc @@ -15,12 +15,28 @@ */ #include "ops/ones.h" + #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/ones_like.cc b/mindspore/core/ops/ones_like.cc index 3de0d57012d..da2f80bc93f 100644 --- a/mindspore/core/ops/ones_like.cc +++ b/mindspore/core/ops/ones_like.cc @@ -15,7 +15,6 @@ */ #include "ops/ones_like.h" -#include #include #include diff --git a/mindspore/core/ops/op_utils.cc b/mindspore/core/ops/op_utils.cc index b1c9adecc1d..8ee3bb29f65 100644 --- a/mindspore/core/ops/op_utils.cc +++ b/mindspore/core/ops/op_utils.cc @@ -20,11 +20,25 @@ #include #include #include +#include + #include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "utils/shape_utils.h" +#include "abstract/param_validator.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/type_id.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "mindapi/src/helper.h" + namespace mindspore { namespace ops { std::vector CalBroadCastShape(std::vector x_shape, std::vector y_shape, diff --git a/mindspore/core/ops/opaquePredicate.cc b/mindspore/core/ops/opaquePredicate.cc index 1f58acca5f5..816739e928e 100644 --- a/mindspore/core/ops/opaquePredicate.cc +++ b/mindspore/core/ops/opaquePredicate.cc @@ -15,16 +15,24 @@ */ #include "ops/opaquePredicate.h" -#include -#include + #include -#include #include -#include #include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/orgqr.cc b/mindspore/core/ops/orgqr.cc index 3dac37ca702..f57ea314d78 100644 --- a/mindspore/core/ops/orgqr.cc +++ b/mindspore/core/ops/orgqr.cc @@ -21,8 +21,21 @@ #include #include "ops/orgqr.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/ormqr.cc b/mindspore/core/ops/ormqr.cc index 86fff64d3bf..486f0ce7e38 100644 --- a/mindspore/core/ops/ormqr.cc +++ b/mindspore/core/ops/ormqr.cc @@ -21,8 +21,24 @@ #include #include "ops/ormqr.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/pack.cc b/mindspore/core/ops/pack.cc index 09043e58596..a3269e52986 100644 --- a/mindspore/core/ops/pack.cc +++ b/mindspore/core/ops/pack.cc @@ -16,13 +16,20 @@ #include "ops/pack.h" #include "ops/stack_comm.h" -#include "utils/check_convert_utils.h" #include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { namespace ops { +class AGStackInfer; + void Pack::set_axis(const int64_t &axis) { (void)AddAttr(kAxis, api::MakeValue(axis)); } int64_t Pack::get_axis() const { return GetValue(GetAttr(kAxis)); } diff --git a/mindspore/core/ops/pad.cc b/mindspore/core/ops/pad.cc index 29ce979be28..6a424b1f5ce 100644 --- a/mindspore/core/ops/pad.cc +++ b/mindspore/core/ops/pad.cc @@ -14,9 +14,28 @@ * limitations under the License. */ #include "ops/pad.h" + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/pad_v3.cc b/mindspore/core/ops/pad_v3.cc index 512b2cc89fa..395ef1329da 100644 --- a/mindspore/core/ops/pad_v3.cc +++ b/mindspore/core/ops/pad_v3.cc @@ -16,11 +16,34 @@ #include #include +#include +#include + #include "ops/pad_v3.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/padding.cc b/mindspore/core/ops/padding.cc index 94a61facd36..ff87d1c033f 100644 --- a/mindspore/core/ops/padding.cc +++ b/mindspore/core/ops/padding.cc @@ -15,15 +15,27 @@ */ #include "ops/padding.h" + #include -#include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/parameterized_truncated_normal.cc b/mindspore/core/ops/parameterized_truncated_normal.cc index 6c495e37be3..653e1383e82 100644 --- a/mindspore/core/ops/parameterized_truncated_normal.cc +++ b/mindspore/core/ops/parameterized_truncated_normal.cc @@ -14,14 +14,36 @@ * limitations under the License. */ #include "ops/parameterized_truncated_normal.h" + #include -#include #include #include #include -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/pdist.cc b/mindspore/core/ops/pdist.cc index 3823125ab4a..3b1ccc5a951 100644 --- a/mindspore/core/ops/pdist.cc +++ b/mindspore/core/ops/pdist.cc @@ -16,9 +16,28 @@ #include "ops/pdist.h" -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/polar.cc b/mindspore/core/ops/polar.cc index 18da8bc4d3a..ea7476d8760 100644 --- a/mindspore/core/ops/polar.cc +++ b/mindspore/core/ops/polar.cc @@ -15,13 +15,29 @@ */ #include "ops/polar.h" -#include + #include #include #include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/polygamma.cc b/mindspore/core/ops/polygamma.cc index a49f7d060b6..7a620594201 100644 --- a/mindspore/core/ops/polygamma.cc +++ b/mindspore/core/ops/polygamma.cc @@ -15,15 +15,25 @@ */ #include "ops/polygamma.h" -#include #include -#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/population_count.cc b/mindspore/core/ops/population_count.cc index 86c51248d76..deed5c5b1d0 100644 --- a/mindspore/core/ops/population_count.cc +++ b/mindspore/core/ops/population_count.cc @@ -15,16 +15,27 @@ */ #include "ops/population_count.h" + #include -#include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/primitive_c.cc b/mindspore/core/ops/primitive_c.cc index 96f53a235f7..708fceff34d 100644 --- a/mindspore/core/ops/primitive_c.cc +++ b/mindspore/core/ops/primitive_c.cc @@ -15,8 +15,13 @@ */ #include "ops/primitive_c.h" -#include "utils/check_convert_utils.h" + #include "abstract/ops/primitive_infer_map.h" +#include "include/robin_hood.h" +#include "ir/value.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" + namespace mindspore { namespace ops { void PrimitiveC::InitIOName(const std::vector &inputs_name, const std::vector &outputs_name) { diff --git a/mindspore/core/ops/print.cc b/mindspore/core/ops/print.cc index 2d3a183ad32..edf5c2f2e1f 100644 --- a/mindspore/core/ops/print.cc +++ b/mindspore/core/ops/print.cc @@ -16,7 +16,6 @@ #include "ops/print.h" -#include #include #include "abstract/ops/op_infer.h" @@ -24,7 +23,6 @@ #include "abstract/ops/primitive_infer_map.h" #include "base/base.h" #include "ir/anf.h" -#include "ir/device_sync.h" #include "ir/dtype/number.h" #include "ir/dtype/tensor_type.h" #include "mindapi/base/shape_vector.h" diff --git a/mindspore/core/ops/priority_replay_buffer.cc b/mindspore/core/ops/priority_replay_buffer.cc index 65f8c81845d..ea1b8b6025d 100644 --- a/mindspore/core/ops/priority_replay_buffer.cc +++ b/mindspore/core/ops/priority_replay_buffer.cc @@ -20,7 +20,6 @@ #include #include #include -#include #include #include "ir/dtype/type.h" diff --git a/mindspore/core/ops/ps_roi_pooling.cc b/mindspore/core/ops/ps_roi_pooling.cc index cc550e4525c..32edb959a66 100644 --- a/mindspore/core/ops/ps_roi_pooling.cc +++ b/mindspore/core/ops/ps_roi_pooling.cc @@ -14,12 +14,26 @@ * limitations under the License. */ #include "ops/ps_roi_pooling.h" -#include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/qr.cc b/mindspore/core/ops/qr.cc index 9af8ee47b50..807d732a89d 100644 --- a/mindspore/core/ops/qr.cc +++ b/mindspore/core/ops/qr.cc @@ -14,9 +14,31 @@ * limitations under the License. */ #include "ops/qr.h" -#include "ops/op_utils.h" + +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/quant_dtype_cast.cc b/mindspore/core/ops/quant_dtype_cast.cc index c7645cc5748..f633ebcc080 100644 --- a/mindspore/core/ops/quant_dtype_cast.cc +++ b/mindspore/core/ops/quant_dtype_cast.cc @@ -15,9 +15,27 @@ */ #include "ops/quant_dtype_cast.h" + +#include +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/quantile.cc b/mindspore/core/ops/quantile.cc index a4e88278d51..14a21da576d 100644 --- a/mindspore/core/ops/quantile.cc +++ b/mindspore/core/ops/quantile.cc @@ -20,10 +20,27 @@ #include #include #include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/ragged_range.cc b/mindspore/core/ops/ragged_range.cc index 29297115391..390ca854c95 100644 --- a/mindspore/core/ops/ragged_range.cc +++ b/mindspore/core/ops/ragged_range.cc @@ -14,18 +14,37 @@ * limitations under the License. */ #include "ops/ragged_range.h" -#include -#include + #include #include #include #include + #include "ops/primitive_c.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/abstract_value.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/ragged_tensor_to_sparse.cc b/mindspore/core/ops/ragged_tensor_to_sparse.cc index cedc7c9e808..613f199e40e 100644 --- a/mindspore/core/ops/ragged_tensor_to_sparse.cc +++ b/mindspore/core/ops/ragged_tensor_to_sparse.cc @@ -15,17 +15,30 @@ */ #include "ops/ragged_tensor_to_sparse.h" -#include -#include + #include #include #include #include -#include "mindapi/src/helper.h" + #include "utils/check_convert_utils.h" #include "abstract/abstract_value.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/random_categorical.cc b/mindspore/core/ops/random_categorical.cc index 5850648c7c9..8f0784c2b06 100644 --- a/mindspore/core/ops/random_categorical.cc +++ b/mindspore/core/ops/random_categorical.cc @@ -14,11 +14,35 @@ * limitations under the License. */ #include "ops/random_categorical.h" + #include #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/random_choice_with_mask.cc b/mindspore/core/ops/random_choice_with_mask.cc index ba3137528b4..ab7513aace5 100644 --- a/mindspore/core/ops/random_choice_with_mask.cc +++ b/mindspore/core/ops/random_choice_with_mask.cc @@ -14,13 +14,35 @@ * limitations under the License. */ #include "ops/random_choice_with_mask.h" + #include #include #include -#include "ops/op_utils.h" -#include "abstract/param_validator.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/random_gamma.cc b/mindspore/core/ops/random_gamma.cc index 5a7329b5d1a..6cae1453069 100644 --- a/mindspore/core/ops/random_gamma.cc +++ b/mindspore/core/ops/random_gamma.cc @@ -15,13 +15,34 @@ */ #include "ops/random_gamma.h" -#include + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/random_poisson.cc b/mindspore/core/ops/random_poisson.cc index 867617017c1..8acf8a79678 100644 --- a/mindspore/core/ops/random_poisson.cc +++ b/mindspore/core/ops/random_poisson.cc @@ -15,17 +15,34 @@ */ #include "ops/random_poisson.h" + #include -#include #include #include #include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "abstract/param_validator.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" + namespace mindspore { namespace ops { namespace { diff --git a/mindspore/core/ops/random_standard_laplace.cc b/mindspore/core/ops/random_standard_laplace.cc index 2c0270d0089..de08a7c6305 100644 --- a/mindspore/core/ops/random_standard_laplace.cc +++ b/mindspore/core/ops/random_standard_laplace.cc @@ -14,12 +14,31 @@ * limitations under the License. */ #include "ops/random_standard_laplace.h" + #include #include #include -#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/randperm_v2.cc b/mindspore/core/ops/randperm_v2.cc index aa86fe593eb..68245b6d985 100644 --- a/mindspore/core/ops/randperm_v2.cc +++ b/mindspore/core/ops/randperm_v2.cc @@ -14,12 +14,33 @@ * limitations under the License. */ #include "ops/randperm_v2.h" + #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/range.cc b/mindspore/core/ops/range.cc index e208d0cf428..86f2e7e4e59 100644 --- a/mindspore/core/ops/range.cc +++ b/mindspore/core/ops/range.cc @@ -14,12 +14,32 @@ * limitations under the License. */ #include "ops/range.h" -#include + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/range_v2.cc b/mindspore/core/ops/range_v2.cc index 7b541618757..cf29d31c39f 100644 --- a/mindspore/core/ops/range_v2.cc +++ b/mindspore/core/ops/range_v2.cc @@ -14,14 +14,32 @@ * limitations under the License. */ #include "ops/range_v2.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/real.cc b/mindspore/core/ops/real.cc index 2d031fc2cbf..7110b7ea394 100644 --- a/mindspore/core/ops/real.cc +++ b/mindspore/core/ops/real.cc @@ -15,11 +15,30 @@ */ #include "ops/real.h" + #include #include +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/reduce_scatter.cc b/mindspore/core/ops/reduce_scatter.cc index 4594b630a8a..9e8af11ec4e 100644 --- a/mindspore/core/ops/reduce_scatter.cc +++ b/mindspore/core/ops/reduce_scatter.cc @@ -14,11 +14,28 @@ * limitations under the License. */ #include "ops/reduce_scatter.h" + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/ms_context.h" #include "utils/check_convert_utils.h" #include "mindspore/ccsrc/include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/reduce_std.cc b/mindspore/core/ops/reduce_std.cc index 22e4bfa4e71..98dfc3f87ae 100644 --- a/mindspore/core/ops/reduce_std.cc +++ b/mindspore/core/ops/reduce_std.cc @@ -15,12 +15,26 @@ */ #include "ops/reduce_std.h" -#include -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/relu_v2.cc b/mindspore/core/ops/relu_v2.cc index b5ed3f77dbf..ef9972cdc90 100644 --- a/mindspore/core/ops/relu_v2.cc +++ b/mindspore/core/ops/relu_v2.cc @@ -14,15 +14,30 @@ * limitations under the License. */ #include "ops/relu_v2.h" + #include -#include #include -#include #include -#include "ops/op_utils.h" -#include "abstract/param_validator.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/reservoir_replay_buffer.cc b/mindspore/core/ops/reservoir_replay_buffer.cc index ebf6fb95352..84c37f89731 100644 --- a/mindspore/core/ops/reservoir_replay_buffer.cc +++ b/mindspore/core/ops/reservoir_replay_buffer.cc @@ -15,14 +15,28 @@ */ #include "ops/reservoir_replay_buffer.h" + #include #include -#include #include #include -#include "ops/op_utils.h" -#include "utils/check_convert_utils.h" + #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/resize_area.cc b/mindspore/core/ops/resize_area.cc index 17506b7ec91..f03cb018202 100644 --- a/mindspore/core/ops/resize_area.cc +++ b/mindspore/core/ops/resize_area.cc @@ -14,15 +14,32 @@ * limitations under the License. */ #include "ops/resize_area.h" -#include -#include + #include #include -#include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/resize_bicubic.cc b/mindspore/core/ops/resize_bicubic.cc index 30abbabe824..176bc7472b8 100644 --- a/mindspore/core/ops/resize_bicubic.cc +++ b/mindspore/core/ops/resize_bicubic.cc @@ -14,14 +14,31 @@ * limitations under the License. */ #include "ops/resize_bicubic.h" -#include + #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/resize_linear_1d.cc b/mindspore/core/ops/resize_linear_1d.cc index ea56533e86d..d2a25f3c7a7 100644 --- a/mindspore/core/ops/resize_linear_1d.cc +++ b/mindspore/core/ops/resize_linear_1d.cc @@ -14,12 +14,33 @@ * limitations under the License. */ #include "ops/resize_linear_1d.h" -#include + #include #include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/resize_nearest_neighbor_v2.cc b/mindspore/core/ops/resize_nearest_neighbor_v2.cc index b7e6daef7cc..e92155bcf1d 100644 --- a/mindspore/core/ops/resize_nearest_neighbor_v2.cc +++ b/mindspore/core/ops/resize_nearest_neighbor_v2.cc @@ -15,17 +15,35 @@ */ #include "ops/resize_nearest_neighbor_v2.h" + #include -#include #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/format.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" -#include "mindapi/base/types.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/reverse_sequence.cc b/mindspore/core/ops/reverse_sequence.cc index baa7dce55c3..6bb5ab888d9 100644 --- a/mindspore/core/ops/reverse_sequence.cc +++ b/mindspore/core/ops/reverse_sequence.cc @@ -17,9 +17,27 @@ #include #include #include +#include + #include "ops/reverse_sequence.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/rint.cc b/mindspore/core/ops/rint.cc index 65f5b61e96e..ae71760812e 100644 --- a/mindspore/core/ops/rint.cc +++ b/mindspore/core/ops/rint.cc @@ -16,13 +16,22 @@ #include "ops/rint.h" -#include -#include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/roi_align.cc b/mindspore/core/ops/roi_align.cc index 959c07b69b4..0a5526a0f73 100644 --- a/mindspore/core/ops/roi_align.cc +++ b/mindspore/core/ops/roi_align.cc @@ -17,12 +17,28 @@ #include "ops/roi_align.h" #include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/roll.cc b/mindspore/core/ops/roll.cc index 50f526f5f7d..fd0aa32fbb1 100644 --- a/mindspore/core/ops/roll.cc +++ b/mindspore/core/ops/roll.cc @@ -15,11 +15,27 @@ */ #include "ops/roll.h" + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/round.cc b/mindspore/core/ops/round.cc index 24bf99dbd16..f3cd9313b1e 100644 --- a/mindspore/core/ops/round.cc +++ b/mindspore/core/ops/round.cc @@ -17,11 +17,20 @@ #include "ops/round.h" #include -#include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/rpc_send.cc b/mindspore/core/ops/rpc_send.cc index a28713b589d..958105c3405 100644 --- a/mindspore/core/ops/rpc_send.cc +++ b/mindspore/core/ops/rpc_send.cc @@ -16,8 +16,13 @@ #include "ops/rpc_send.h" -#include "ops/op_utils.h" -#include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "ir/anf.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/rsqrt.cc b/mindspore/core/ops/rsqrt.cc index 1d3719f35c8..bea5b53344e 100644 --- a/mindspore/core/ops/rsqrt.cc +++ b/mindspore/core/ops/rsqrt.cc @@ -15,11 +15,23 @@ */ #include "ops/rsqrt.h" -#include -#include -#include "ops/op_utils.h" + +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sample_distorted_bounding_box_v2.cc b/mindspore/core/ops/sample_distorted_bounding_box_v2.cc index 57c8148bd5d..44f235bd52e 100644 --- a/mindspore/core/ops/sample_distorted_bounding_box_v2.cc +++ b/mindspore/core/ops/sample_distorted_bounding_box_v2.cc @@ -15,12 +15,27 @@ */ #include -#include "ops/sample_distorted_bounding_box_v2.h" -#include "ops/op_utils.h" +#include "ops/sample_distorted_bounding_box_v2.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/scalar_bool.cc b/mindspore/core/ops/scalar_bool.cc index 473fc656300..46df5cd0838 100644 --- a/mindspore/core/ops/scalar_bool.cc +++ b/mindspore/core/ops/scalar_bool.cc @@ -18,12 +18,24 @@ #include #include #include -#include "ops/scalar_bool.h" -#include "ops/op_utils.h" +#include "ops/scalar_bool.h" #include "abstract/ops/op_infer.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/scalar_summary.cc b/mindspore/core/ops/scalar_summary.cc index 013dab8d6a8..d11031ff34f 100644 --- a/mindspore/core/ops/scalar_summary.cc +++ b/mindspore/core/ops/scalar_summary.cc @@ -15,10 +15,25 @@ */ #include "ops/scalar_summary.h" + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/scalar_to_tensor.cc b/mindspore/core/ops/scalar_to_tensor.cc index 5e1ec74dc94..6db9e9a3637 100644 --- a/mindspore/core/ops/scalar_to_tensor.cc +++ b/mindspore/core/ops/scalar_to_tensor.cc @@ -21,10 +21,26 @@ #include #include -#include "ops/op_utils.h" #include "abstract/ops/op_infer.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/scale.cc b/mindspore/core/ops/scale.cc index 498f195abed..b583a82baef 100644 --- a/mindspore/core/ops/scale.cc +++ b/mindspore/core/ops/scale.cc @@ -15,7 +15,12 @@ */ #include "ops/scale.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/scale_and_translate.cc b/mindspore/core/ops/scale_and_translate.cc index 29449ec5d01..2d5ebef9d82 100644 --- a/mindspore/core/ops/scale_and_translate.cc +++ b/mindspore/core/ops/scale_and_translate.cc @@ -16,13 +16,32 @@ #include "ops/scale_and_translate.h" -#include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/scatter_elements.cc b/mindspore/core/ops/scatter_elements.cc index 31d8fc753ed..5ef89133b30 100644 --- a/mindspore/core/ops/scatter_elements.cc +++ b/mindspore/core/ops/scatter_elements.cc @@ -15,11 +15,23 @@ */ #include "ops/scatter_elements.h" -#include + #include -#include "ops/op_utils.h" -#include "utils/check_convert_utils.h" +#include + #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace { diff --git a/mindspore/core/ops/search_sorted.cc b/mindspore/core/ops/search_sorted.cc index 01cfec94e3e..93482caa058 100644 --- a/mindspore/core/ops/search_sorted.cc +++ b/mindspore/core/ops/search_sorted.cc @@ -15,15 +15,29 @@ */ #include "ops/search_sorted.h" -#include #include -#include +#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/segment_arithmetic.cc b/mindspore/core/ops/segment_arithmetic.cc index 22073e4f11b..ca0cb67b301 100644 --- a/mindspore/core/ops/segment_arithmetic.cc +++ b/mindspore/core/ops/segment_arithmetic.cc @@ -14,18 +14,37 @@ * limitations under the License. */ #include -#include #include -#include "ops/op_utils.h" +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" -#include "mindapi/src/helper.h" #include "ops/segment_arithmetic.h" #include "ops/segment_mean.h" #include "ops/segment_max.h" #include "ops/segment_min.h" #include "ops/segment_prod.h" #include "ops/segment_sum.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/select.cc b/mindspore/core/ops/select.cc index fb6c3c8d786..3dcf065f4fc 100644 --- a/mindspore/core/ops/select.cc +++ b/mindspore/core/ops/select.cc @@ -15,11 +15,30 @@ */ #include +#include +#include + #include "ops/select.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/selu.cc b/mindspore/core/ops/selu.cc index 4a49566150c..54c899f336b 100644 --- a/mindspore/core/ops/selu.cc +++ b/mindspore/core/ops/selu.cc @@ -14,15 +14,25 @@ * limitations under the License. */ #include "ops/selu.h" -#include -#include -#include + #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_add.cc b/mindspore/core/ops/sequence_add.cc index c71f33ac4d2..3db63ec477d 100644 --- a/mindspore/core/ops/sequence_add.cc +++ b/mindspore/core/ops/sequence_add.cc @@ -18,10 +18,19 @@ #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_add_offset.cc b/mindspore/core/ops/sequence_add_offset.cc index 2f091bc8e30..099c3cc9e8f 100644 --- a/mindspore/core/ops/sequence_add_offset.cc +++ b/mindspore/core/ops/sequence_add_offset.cc @@ -17,12 +17,21 @@ #include "ops/sequence_add_offset.h" #include -#include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_count.cc b/mindspore/core/ops/sequence_count.cc index a7344a4c7bf..cc805bdfc5c 100644 --- a/mindspore/core/ops/sequence_count.cc +++ b/mindspore/core/ops/sequence_count.cc @@ -18,10 +18,21 @@ #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_getitem.cc b/mindspore/core/ops/sequence_getitem.cc index 5ddc42a4252..6069934dea1 100644 --- a/mindspore/core/ops/sequence_getitem.cc +++ b/mindspore/core/ops/sequence_getitem.cc @@ -16,15 +16,27 @@ #include #include +#include +#include #include "ops/tuple_get_item.h" #include "ops/list_getitem.h" #include "ops/real_tuple_getitem.h" -#include "ops/op_utils.h" #include "abstract/param_validator.h" #include "abstract/ops/op_infer.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/scalar.h" +#include "ir/value.h" +#include "ops/base_operator.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_index.cc b/mindspore/core/ops/sequence_index.cc index 70ce770389b..0e1cdf603b4 100644 --- a/mindspore/core/ops/sequence_index.cc +++ b/mindspore/core/ops/sequence_index.cc @@ -18,12 +18,22 @@ #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sequence_len.cc b/mindspore/core/ops/sequence_len.cc index 58101206947..117377c3c65 100644 --- a/mindspore/core/ops/sequence_len.cc +++ b/mindspore/core/ops/sequence_len.cc @@ -20,9 +20,19 @@ #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_mul.cc b/mindspore/core/ops/sequence_mul.cc index 77fcca6d541..eb26d907877 100644 --- a/mindspore/core/ops/sequence_mul.cc +++ b/mindspore/core/ops/sequence_mul.cc @@ -19,12 +19,22 @@ #include #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sequence_slice.cc b/mindspore/core/ops/sequence_slice.cc index a948d1068ef..6838b3fc1ae 100644 --- a/mindspore/core/ops/sequence_slice.cc +++ b/mindspore/core/ops/sequence_slice.cc @@ -21,9 +21,18 @@ #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_slice_grad.cc b/mindspore/core/ops/sequence_slice_grad.cc index dab0c880981..36629a867e4 100644 --- a/mindspore/core/ops/sequence_slice_grad.cc +++ b/mindspore/core/ops/sequence_slice_grad.cc @@ -18,10 +18,19 @@ #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_slice_setitem.cc b/mindspore/core/ops/sequence_slice_setitem.cc index f1734e8d098..10d8256aa46 100644 --- a/mindspore/core/ops/sequence_slice_setitem.cc +++ b/mindspore/core/ops/sequence_slice_setitem.cc @@ -18,10 +18,19 @@ #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_to_tensor.cc b/mindspore/core/ops/sequence_to_tensor.cc index 74ace026c99..478ec0cd206 100644 --- a/mindspore/core/ops/sequence_to_tensor.cc +++ b/mindspore/core/ops/sequence_to_tensor.cc @@ -15,12 +15,28 @@ */ #include #include +#include +#include #include "ops/list_to_tensor.h" #include "ops/tuple_to_tensor.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/base_operator.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sequence_zeros_like.cc b/mindspore/core/ops/sequence_zeros_like.cc index fcdc520fda2..c04d462222e 100644 --- a/mindspore/core/ops/sequence_zeros_like.cc +++ b/mindspore/core/ops/sequence_zeros_like.cc @@ -18,13 +18,20 @@ #include #include -#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "include/common/utils/utils.h" -#include "mindapi/src/helper.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sgd.cc b/mindspore/core/ops/sgd.cc index 08ab469dd26..302d95ccb64 100644 --- a/mindspore/core/ops/sgd.cc +++ b/mindspore/core/ops/sgd.cc @@ -15,8 +15,25 @@ */ #include "ops/sgd.h" + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/shape.cc b/mindspore/core/ops/shape.cc index b60e50825ed..1041263dd21 100644 --- a/mindspore/core/ops/shape.cc +++ b/mindspore/core/ops/shape.cc @@ -15,14 +15,30 @@ */ #include "ops/shape.h" + #include #include #include #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sigmoid.cc b/mindspore/core/ops/sigmoid.cc index acf198cfc11..812d46ec161 100644 --- a/mindspore/core/ops/sigmoid.cc +++ b/mindspore/core/ops/sigmoid.cc @@ -14,11 +14,22 @@ * limitations under the License. */ #include "ops/sigmoid.h" + #include #include -#include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc b/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc index 6dd25c738c9..3a622471e9a 100644 --- a/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc +++ b/mindspore/core/ops/sigmoid_cross_entropy_with_logits.cc @@ -15,9 +15,27 @@ */ #include "ops/sigmoid_cross_entropy_with_logits.h" + #include -#include "ops/op_utils.h" +#include +#include +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sign.cc b/mindspore/core/ops/sign.cc index 34c56933936..64477dae3cd 100644 --- a/mindspore/core/ops/sign.cc +++ b/mindspore/core/ops/sign.cc @@ -15,12 +15,25 @@ */ #include "ops/sign.h" -#include -#include + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/silu.cc b/mindspore/core/ops/silu.cc index 1caa82cbcff..a36a6491673 100644 --- a/mindspore/core/ops/silu.cc +++ b/mindspore/core/ops/silu.cc @@ -14,13 +14,23 @@ * limitations under the License. */ #include "ops/silu.h" -#include -#include -#include + #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sin.cc b/mindspore/core/ops/sin.cc index bc2e82be59f..e6ad2e748e3 100644 --- a/mindspore/core/ops/sin.cc +++ b/mindspore/core/ops/sin.cc @@ -16,12 +16,21 @@ #include "ops/sin.h" #include -#include -#include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sinc.cc b/mindspore/core/ops/sinc.cc index 8d27283c25a..c37d70277c1 100644 --- a/mindspore/core/ops/sinc.cc +++ b/mindspore/core/ops/sinc.cc @@ -16,12 +16,25 @@ #include "ops/sinc.h" #include -#include -#include #include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sinh.cc b/mindspore/core/ops/sinh.cc index 68b06935fe9..4f5fb38fd3f 100644 --- a/mindspore/core/ops/sinh.cc +++ b/mindspore/core/ops/sinh.cc @@ -16,12 +16,23 @@ #include "ops/sinh.h" #include -#include -#include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/size.cc b/mindspore/core/ops/size.cc index 589de7ba112..7836b91e6af 100644 --- a/mindspore/core/ops/size.cc +++ b/mindspore/core/ops/size.cc @@ -14,9 +14,9 @@ * limitations under the License. */ -#include #include "ops/size.h" #include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/slice.cc b/mindspore/core/ops/slice.cc index ad105e325ca..fee90718ec4 100644 --- a/mindspore/core/ops/slice.cc +++ b/mindspore/core/ops/slice.cc @@ -15,14 +15,34 @@ */ #include "ops/slice.h" -#include -#include + #include #include #include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/smooth_l1_loss.cc b/mindspore/core/ops/smooth_l1_loss.cc index 694219c71c9..fa21c4a46de 100644 --- a/mindspore/core/ops/smooth_l1_loss.cc +++ b/mindspore/core/ops/smooth_l1_loss.cc @@ -18,10 +18,27 @@ #include #include #include + #include "ops/smooth_l1_loss.h" -#include "utils/ms_context.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/soft_margin_loss.cc b/mindspore/core/ops/soft_margin_loss.cc index e7cd65fb7db..59c3c954e46 100644 --- a/mindspore/core/ops/soft_margin_loss.cc +++ b/mindspore/core/ops/soft_margin_loss.cc @@ -14,11 +14,29 @@ * limitations under the License. */ #include +#include +#include +#include + #include "ops/soft_margin_loss.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/types.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/soft_shrink.cc b/mindspore/core/ops/soft_shrink.cc index eccee522dfb..191525fc243 100644 --- a/mindspore/core/ops/soft_shrink.cc +++ b/mindspore/core/ops/soft_shrink.cc @@ -18,12 +18,24 @@ #include #include #include -#include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/softmax.cc b/mindspore/core/ops/softmax.cc index e4226ac9bfe..0e57e2f7b45 100644 --- a/mindspore/core/ops/softmax.cc +++ b/mindspore/core/ops/softmax.cc @@ -15,14 +15,32 @@ */ #include "ops/softmax.h" -#include + #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/softmax_cross_entropy_with_logits.cc b/mindspore/core/ops/softmax_cross_entropy_with_logits.cc index e92a3cf0948..62348662caa 100644 --- a/mindspore/core/ops/softmax_cross_entropy_with_logits.cc +++ b/mindspore/core/ops/softmax_cross_entropy_with_logits.cc @@ -15,12 +15,30 @@ */ #include "ops/softmax_cross_entropy_with_logits.h" -#include + #include #include -#include "ops/op_utils.h" +#include +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/softplus.cc b/mindspore/core/ops/softplus.cc index c892065cf82..e8dbb9d16d9 100644 --- a/mindspore/core/ops/softplus.cc +++ b/mindspore/core/ops/softplus.cc @@ -15,12 +15,23 @@ */ #include "ops/softplus.h" + #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/softsign.cc b/mindspore/core/ops/softsign.cc index 5f6fc6fb9f9..c5d2969ac9f 100644 --- a/mindspore/core/ops/softsign.cc +++ b/mindspore/core/ops/softsign.cc @@ -14,17 +14,28 @@ * limitations under the License. */ #include "ops/softsign.h" + #include -#include -#include #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "utils/ms_context.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/solve_triangular.cc b/mindspore/core/ops/solve_triangular.cc index 2800b37f905..eb6c303f426 100644 --- a/mindspore/core/ops/solve_triangular.cc +++ b/mindspore/core/ops/solve_triangular.cc @@ -14,11 +14,27 @@ * limitations under the License. */ #include "ops/solve_triangular.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "common/graph_kernel/core/graph_kernel_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sort.cc b/mindspore/core/ops/sort.cc index b34357fc68e..d15388e5db9 100644 --- a/mindspore/core/ops/sort.cc +++ b/mindspore/core/ops/sort.cc @@ -14,14 +14,30 @@ * limitations under the License. */ #include "ops/sort.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/space_to_batch.cc b/mindspore/core/ops/space_to_batch.cc index fc187dd58c1..4b5eb2b05c0 100644 --- a/mindspore/core/ops/space_to_batch.cc +++ b/mindspore/core/ops/space_to_batch.cc @@ -14,14 +14,30 @@ * limitations under the License. */ #include "ops/space_to_batch.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/space_to_batch_nd.cc b/mindspore/core/ops/space_to_batch_nd.cc index b70bc863dd2..47eb2f2a6a2 100644 --- a/mindspore/core/ops/space_to_batch_nd.cc +++ b/mindspore/core/ops/space_to_batch_nd.cc @@ -14,14 +14,32 @@ * limitations under the License. */ #include "ops/space_to_batch_nd.h" + #include -#include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/space_to_depth.cc b/mindspore/core/ops/space_to_depth.cc index a0fa8825083..db550505b6b 100644 --- a/mindspore/core/ops/space_to_depth.cc +++ b/mindspore/core/ops/space_to_depth.cc @@ -15,8 +15,29 @@ */ #include "ops/space_to_depth.h" -#include "ops/op_utils.h" + +#include +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_add.cc b/mindspore/core/ops/sparse_add.cc index b796e27e713..4366dbe5524 100644 --- a/mindspore/core/ops/sparse_add.cc +++ b/mindspore/core/ops/sparse_add.cc @@ -15,14 +15,27 @@ */ #include "ops/sparse_add.h" + #include -#include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_addmm.cc b/mindspore/core/ops/sparse_addmm.cc index 9717df89c7a..94063bb178e 100644 --- a/mindspore/core/ops/sparse_addmm.cc +++ b/mindspore/core/ops/sparse_addmm.cc @@ -18,10 +18,26 @@ #include #include #include +#include + #include "ops/sparse_addmm.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_adadelta.cc b/mindspore/core/ops/sparse_apply_adadelta.cc index 227a0dc7b34..8af3a600e24 100644 --- a/mindspore/core/ops/sparse_apply_adadelta.cc +++ b/mindspore/core/ops/sparse_apply_adadelta.cc @@ -16,13 +16,28 @@ #include "ops/sparse_apply_adadelta.h" -#include #include +#include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_adagrad.cc b/mindspore/core/ops/sparse_apply_adagrad.cc index b4cf0e269a5..b617ef4d5df 100644 --- a/mindspore/core/ops/sparse_apply_adagrad.cc +++ b/mindspore/core/ops/sparse_apply_adagrad.cc @@ -15,13 +15,29 @@ */ #include "ops/sparse_apply_adagrad.h" -#include #include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "include/common/utils/utils.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_adagrad_v2.cc b/mindspore/core/ops/sparse_apply_adagrad_v2.cc index f653c610118..77ead811182 100644 --- a/mindspore/core/ops/sparse_apply_adagrad_v2.cc +++ b/mindspore/core/ops/sparse_apply_adagrad_v2.cc @@ -15,13 +15,29 @@ */ #include "ops/sparse_apply_adagrad_v2.h" -#include #include +#include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "include/common/utils/utils.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_centered_rms_prop.cc b/mindspore/core/ops/sparse_apply_centered_rms_prop.cc index 5e0a09f7c37..d86ac021f98 100644 --- a/mindspore/core/ops/sparse_apply_centered_rms_prop.cc +++ b/mindspore/core/ops/sparse_apply_centered_rms_prop.cc @@ -18,11 +18,27 @@ #include #include +#include +#include +#include #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_ftrl.cc b/mindspore/core/ops/sparse_apply_ftrl.cc index f8fb1bbd73b..b051c797b81 100644 --- a/mindspore/core/ops/sparse_apply_ftrl.cc +++ b/mindspore/core/ops/sparse_apply_ftrl.cc @@ -14,12 +14,32 @@ * limitations under the License. */ #include "ops/sparse_apply_ftrl.h" + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/overload.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_momentum.cc b/mindspore/core/ops/sparse_apply_momentum.cc index 578cebf05cc..8973b6da601 100644 --- a/mindspore/core/ops/sparse_apply_momentum.cc +++ b/mindspore/core/ops/sparse_apply_momentum.cc @@ -16,11 +16,28 @@ #include "ops/sparse_apply_momentum.h" -#include #include +#include +#include +#include #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_proximal_adagrad.cc b/mindspore/core/ops/sparse_apply_proximal_adagrad.cc index a67b64be4ca..3a3bc6ab3af 100644 --- a/mindspore/core/ops/sparse_apply_proximal_adagrad.cc +++ b/mindspore/core/ops/sparse_apply_proximal_adagrad.cc @@ -16,9 +16,26 @@ #include #include +#include + #include "ops/sparse_apply_proximal_adagrad.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_apply_r_m_s_prop.cc b/mindspore/core/ops/sparse_apply_r_m_s_prop.cc index d1b79e8cced..6cbc1c7733d 100644 --- a/mindspore/core/ops/sparse_apply_r_m_s_prop.cc +++ b/mindspore/core/ops/sparse_apply_r_m_s_prop.cc @@ -15,13 +15,32 @@ */ #include "ops/sparse_apply_r_m_s_prop.h" -#include + #include #include +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_count_sparse_output.cc b/mindspore/core/ops/sparse_count_sparse_output.cc index 957c1e66648..3f6e4911217 100644 --- a/mindspore/core/ops/sparse_count_sparse_output.cc +++ b/mindspore/core/ops/sparse_count_sparse_output.cc @@ -14,17 +14,29 @@ * limitations under the License. */ -#include -#include #include -#include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/sparse_count_sparse_output.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "include/common/utils/utils.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_cross.cc b/mindspore/core/ops/sparse_cross.cc index 4ce841f25ef..23493037a95 100644 --- a/mindspore/core/ops/sparse_cross.cc +++ b/mindspore/core/ops/sparse_cross.cc @@ -15,11 +15,24 @@ */ #include "ops/sparse_cross.h" -#include -#include -#include "ops/op_utils.h" + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_dense_cwise_arithmetic.cc b/mindspore/core/ops/sparse_dense_cwise_arithmetic.cc index f5b0316b726..1bd1f2351db 100644 --- a/mindspore/core/ops/sparse_dense_cwise_arithmetic.cc +++ b/mindspore/core/ops/sparse_dense_cwise_arithmetic.cc @@ -18,15 +18,27 @@ #include #include #include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "utils/tensor_construct_utils.h" -#include "mindapi/src/helper.h" #include "ops/sparse_dense_cwise_arithmetic.h" #include "ops/sparse_dense_cwise_add.h" #include "ops/sparse_dense_cwise_mul.h" #include "ops/sparse_dense_cwise_div.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_fill_empty_rows.cc b/mindspore/core/ops/sparse_fill_empty_rows.cc index d0ed2d13aa0..9950dea114d 100644 --- a/mindspore/core/ops/sparse_fill_empty_rows.cc +++ b/mindspore/core/ops/sparse_fill_empty_rows.cc @@ -20,11 +20,28 @@ #include #include #include -#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_matrix_add.cc b/mindspore/core/ops/sparse_matrix_add.cc index da4dabfd55a..738111f65b1 100644 --- a/mindspore/core/ops/sparse_matrix_add.cc +++ b/mindspore/core/ops/sparse_matrix_add.cc @@ -15,14 +15,34 @@ */ #include "ops/sparse_matrix_add.h" + #include #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_matrix_mat_mul.cc b/mindspore/core/ops/sparse_matrix_mat_mul.cc index 634ad372075..0f16c9ceae6 100644 --- a/mindspore/core/ops/sparse_matrix_mat_mul.cc +++ b/mindspore/core/ops/sparse_matrix_mat_mul.cc @@ -15,15 +15,33 @@ */ #include "ops/sparse_matrix_mat_mul.h" + #include #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" -#include "include/common/utils/convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_matrix_mul.cc b/mindspore/core/ops/sparse_matrix_mul.cc index f53f9ca2435..a41fe09408d 100644 --- a/mindspore/core/ops/sparse_matrix_mul.cc +++ b/mindspore/core/ops/sparse_matrix_mul.cc @@ -14,16 +14,22 @@ * limitations under the License. */ -#include #include -#include #include #include + #include "ops/sparse_matrix_mul.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "ops/op_utils.h" -#include "utils/check_convert_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_matrix_nnz.cc b/mindspore/core/ops/sparse_matrix_nnz.cc index e74213d6710..cc86c408b30 100644 --- a/mindspore/core/ops/sparse_matrix_nnz.cc +++ b/mindspore/core/ops/sparse_matrix_nnz.cc @@ -22,10 +22,22 @@ #include #include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_matrix_ordering_amd.cc b/mindspore/core/ops/sparse_matrix_ordering_amd.cc index 12b353b36a9..04826c510eb 100644 --- a/mindspore/core/ops/sparse_matrix_ordering_amd.cc +++ b/mindspore/core/ops/sparse_matrix_ordering_amd.cc @@ -15,8 +15,24 @@ */ #include "ops/sparse_matrix_ordering_amd.h" + +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_matrix_softmax.cc b/mindspore/core/ops/sparse_matrix_softmax.cc index 1b45cdb6d05..ce0cfae4bec 100644 --- a/mindspore/core/ops/sparse_matrix_softmax.cc +++ b/mindspore/core/ops/sparse_matrix_softmax.cc @@ -18,13 +18,19 @@ #include #include -#include #include -#include -#include "ops/op_utils.h" -#include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_matrix_sparse_mat_mul.cc b/mindspore/core/ops/sparse_matrix_sparse_mat_mul.cc index dcf6aad09a6..cd3f6cfb581 100644 --- a/mindspore/core/ops/sparse_matrix_sparse_mat_mul.cc +++ b/mindspore/core/ops/sparse_matrix_sparse_mat_mul.cc @@ -15,13 +15,31 @@ */ #include "ops/sparse_matrix_sparse_mat_mul.h" + #include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_matrix_transpose.cc b/mindspore/core/ops/sparse_matrix_transpose.cc index 2849429634a..a204a074413 100644 --- a/mindspore/core/ops/sparse_matrix_transpose.cc +++ b/mindspore/core/ops/sparse_matrix_transpose.cc @@ -19,9 +19,26 @@ #include #include "ops/sparse_matrix_transpose.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_reorder.cc b/mindspore/core/ops/sparse_reorder.cc index c69f0b02f77..6201ee3f3e7 100644 --- a/mindspore/core/ops/sparse_reorder.cc +++ b/mindspore/core/ops/sparse_reorder.cc @@ -15,12 +15,30 @@ */ #include "ops/sparse_reorder.h" + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" -#include "utils/tensor_construct_utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_reshape.cc b/mindspore/core/ops/sparse_reshape.cc index b484164d214..fe0418b66db 100644 --- a/mindspore/core/ops/sparse_reshape.cc +++ b/mindspore/core/ops/sparse_reshape.cc @@ -15,15 +15,25 @@ */ #include "ops/sparse_reshape.h" -#include #include #include #include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_segment_mean.cc b/mindspore/core/ops/sparse_segment_mean.cc index 0082ce329b4..1fed13bb505 100644 --- a/mindspore/core/ops/sparse_segment_mean.cc +++ b/mindspore/core/ops/sparse_segment_mean.cc @@ -15,8 +15,27 @@ */ #include "ops/sparse_segment_mean.h" + +#include +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_segment_mean_with_num_segments.cc b/mindspore/core/ops/sparse_segment_mean_with_num_segments.cc index 38958c0ab8f..cef02fdde22 100644 --- a/mindspore/core/ops/sparse_segment_mean_with_num_segments.cc +++ b/mindspore/core/ops/sparse_segment_mean_with_num_segments.cc @@ -14,12 +14,24 @@ * limitations under the License. */ -#include +#include +#include #include "ops/sparse_segment_mean_with_num_segments.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_segment_sqrt_n.cc b/mindspore/core/ops/sparse_segment_sqrt_n.cc index 1b7e383f56d..a2b195b6e6c 100644 --- a/mindspore/core/ops/sparse_segment_sqrt_n.cc +++ b/mindspore/core/ops/sparse_segment_sqrt_n.cc @@ -19,15 +19,27 @@ #include #include #include -#include -#include #include "ops/sparse_segment_sqrt_n.h" #include "abstract/dshape.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_segment_sqrt_n_with_num_segments.cc b/mindspore/core/ops/sparse_segment_sqrt_n_with_num_segments.cc index c0712fa9ccf..a1054692f99 100644 --- a/mindspore/core/ops/sparse_segment_sqrt_n_with_num_segments.cc +++ b/mindspore/core/ops/sparse_segment_sqrt_n_with_num_segments.cc @@ -19,14 +19,26 @@ #include #include #include -#include #include "ops/sparse_segment_sqrt_n_with_num_segments.h" #include "abstract/dshape.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_segment_sum.cc b/mindspore/core/ops/sparse_segment_sum.cc index 8788615b96b..913f272543e 100644 --- a/mindspore/core/ops/sparse_segment_sum.cc +++ b/mindspore/core/ops/sparse_segment_sum.cc @@ -15,8 +15,28 @@ */ #include "ops/sparse_segment_sum.h" + +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_segment_sum_with_num_segments.cc b/mindspore/core/ops/sparse_segment_sum_with_num_segments.cc index 149deb73a5e..b8ed1272c3f 100644 --- a/mindspore/core/ops/sparse_segment_sum_with_num_segments.cc +++ b/mindspore/core/ops/sparse_segment_sum_with_num_segments.cc @@ -14,11 +14,26 @@ * limitations under the License. */ -#include +#include +#include #include "ops/sparse_segment_sum_with_num_segments.h" #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/check_convert_utils.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_slice.cc b/mindspore/core/ops/sparse_slice.cc index 267b9c96304..385a4f5e02a 100644 --- a/mindspore/core/ops/sparse_slice.cc +++ b/mindspore/core/ops/sparse_slice.cc @@ -15,14 +15,28 @@ */ #include "ops/sparse_slice.h" -#include -#include -#include +#include +#include -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_softmax.cc b/mindspore/core/ops/sparse_softmax.cc index 3b8181ea4ab..1188224ae54 100644 --- a/mindspore/core/ops/sparse_softmax.cc +++ b/mindspore/core/ops/sparse_softmax.cc @@ -15,14 +15,30 @@ */ #include "ops/sparse_softmax.h" + #include #include #include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits.cc b/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits.cc index 14063f5fdbd..03fc1ea7b00 100644 --- a/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits.cc +++ b/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits.cc @@ -17,10 +17,28 @@ #include #include #include +#include +#include #include "ops/sparse_softmax_cross_entropy_with_logits.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits_v2.cc b/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits_v2.cc index d064a0c51d2..58ed57499ae 100644 --- a/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits_v2.cc +++ b/mindspore/core/ops/sparse_softmax_cross_entropy_with_logits_v2.cc @@ -19,11 +19,25 @@ #include #include #include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_sparse_arithmetic.cc b/mindspore/core/ops/sparse_sparse_arithmetic.cc index 947491404cb..562fbd8cd38 100644 --- a/mindspore/core/ops/sparse_sparse_arithmetic.cc +++ b/mindspore/core/ops/sparse_sparse_arithmetic.cc @@ -14,21 +14,33 @@ * limitations under the License. */ #include -#include #include #include +#include #include "abstract/ops/primitive_infer_map.h" #include "utils/shape_utils.h" -#include "mindapi/ir/common.h" #include "abstract/abstract_value.h" -#include "mindapi/src/helper.h" #include "ops/op_utils.h" #include "ops/sparse_sparse_arithmetic.h" #include "ops/sparsesparsemaximum.h" #include "ops/sparse_sparse_minimum.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sparse_split.cc b/mindspore/core/ops/sparse_split.cc index c574f02f385..08cf4eed056 100644 --- a/mindspore/core/ops/sparse_split.cc +++ b/mindspore/core/ops/sparse_split.cc @@ -15,10 +15,25 @@ */ #include "ops/sparse_split.h" -#include + +#include #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_tensor_dense_add.cc b/mindspore/core/ops/sparse_tensor_dense_add.cc index d54c40c39d9..770335b938c 100644 --- a/mindspore/core/ops/sparse_tensor_dense_add.cc +++ b/mindspore/core/ops/sparse_tensor_dense_add.cc @@ -17,11 +17,22 @@ #include #include #include + #include "ops/sparse_tensor_dense_add.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_tensor_dense_mat_mul.cc b/mindspore/core/ops/sparse_tensor_dense_mat_mul.cc index 4f68d495235..48199b958b9 100644 --- a/mindspore/core/ops/sparse_tensor_dense_mat_mul.cc +++ b/mindspore/core/ops/sparse_tensor_dense_mat_mul.cc @@ -14,15 +14,42 @@ * limitations under the License. */ #include "ops/sparse_tensor_dense_mat_mul.h" + #include #include #include #include #include #include +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sparse_tensor_to_csr_sparse_matrix.cc b/mindspore/core/ops/sparse_tensor_to_csr_sparse_matrix.cc index f34ea864e69..e705a3fad70 100644 --- a/mindspore/core/ops/sparse_tensor_to_csr_sparse_matrix.cc +++ b/mindspore/core/ops/sparse_tensor_to_csr_sparse_matrix.cc @@ -15,18 +15,31 @@ */ #include -#include -#include #include #include +#include #include "ops/sparse_tensor_to_csr_sparse_matrix.h" #include "abstract/dshape.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/splice.cc b/mindspore/core/ops/splice.cc index a65730cee7d..c734d60430e 100644 --- a/mindspore/core/ops/splice.cc +++ b/mindspore/core/ops/splice.cc @@ -15,8 +15,14 @@ */ #include "ops/splice.h" + #include -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/split.cc b/mindspore/core/ops/split.cc index ac9385e8f40..ca9a577722d 100644 --- a/mindspore/core/ops/split.cc +++ b/mindspore/core/ops/split.cc @@ -16,10 +16,28 @@ #include #include + #include "ops/split.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/split_v.cc b/mindspore/core/ops/split_v.cc index 3c00976f1ea..fc66a96debb 100644 --- a/mindspore/core/ops/split_v.cc +++ b/mindspore/core/ops/split_v.cc @@ -15,12 +15,28 @@ */ #include "ops/split_v.h" -#include -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" +#include +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/split_with_overlap.cc b/mindspore/core/ops/split_with_overlap.cc index a8e87a7b7b0..f3ac5310512 100644 --- a/mindspore/core/ops/split_with_overlap.cc +++ b/mindspore/core/ops/split_with_overlap.cc @@ -15,7 +15,12 @@ */ #include "ops/split_with_overlap.h" -#include "ops/op_utils.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/square.cc b/mindspore/core/ops/square.cc index f29f635b9ab..1fe608ec4e1 100644 --- a/mindspore/core/ops/square.cc +++ b/mindspore/core/ops/square.cc @@ -15,10 +15,29 @@ */ #include "ops/square.h" + #include +#include +#include + #include "abstract/ops/primitive_infer_map.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/square_sum_all.cc b/mindspore/core/ops/square_sum_all.cc index e371b07092d..95672893bbd 100644 --- a/mindspore/core/ops/square_sum_all.cc +++ b/mindspore/core/ops/square_sum_all.cc @@ -15,11 +15,31 @@ */ #include "ops/square_sum_all.h" + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/square_sum_v1.cc b/mindspore/core/ops/square_sum_v1.cc index e65792d042c..394e375a81a 100644 --- a/mindspore/core/ops/square_sum_v1.cc +++ b/mindspore/core/ops/square_sum_v1.cc @@ -15,12 +15,23 @@ */ #include "ops/square_sum_v1.h" -#include -#include + #include -#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/squeeze.cc b/mindspore/core/ops/squeeze.cc index 366616c27f3..4f6c9cea7c5 100644 --- a/mindspore/core/ops/squeeze.cc +++ b/mindspore/core/ops/squeeze.cc @@ -15,9 +15,29 @@ */ #include "ops/squeeze.h" + +#include +#include +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sspaddmm.cc b/mindspore/core/ops/sspaddmm.cc index 3cccc604a0c..307323d1e2d 100644 --- a/mindspore/core/ops/sspaddmm.cc +++ b/mindspore/core/ops/sspaddmm.cc @@ -21,10 +21,32 @@ #include #include #include +#include + #include "ops/sspaddmm.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "base/float16.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/stack.cc b/mindspore/core/ops/stack.cc index be6fe70383c..67854c9ab23 100644 --- a/mindspore/core/ops/stack.cc +++ b/mindspore/core/ops/stack.cc @@ -15,11 +15,29 @@ */ #include "ops/stack.h" + +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" #include "ops/stack_comm.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/stft.cc b/mindspore/core/ops/stft.cc index 349c6523072..49e1744636d 100644 --- a/mindspore/core/ops/stft.cc +++ b/mindspore/core/ops/stft.cc @@ -15,12 +15,31 @@ */ #include "ops/stft.h" -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/strided_slice.cc b/mindspore/core/ops/strided_slice.cc index f33092fa171..4f6152e03a1 100644 --- a/mindspore/core/ops/strided_slice.cc +++ b/mindspore/core/ops/strided_slice.cc @@ -15,18 +15,38 @@ */ #include "ops/strided_slice.h" + #include #include #include -#include #include #include +#include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" -#include "mindapi/src/helper.h" #include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/strided_slice_v2.cc b/mindspore/core/ops/strided_slice_v2.cc index 6389e62feba..4d660ec0d24 100644 --- a/mindspore/core/ops/strided_slice_v2.cc +++ b/mindspore/core/ops/strided_slice_v2.cc @@ -15,18 +15,36 @@ */ #include "ops/strided_slice_v2.h" + #include #include #include -#include #include #include +#include +#include + #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" -#include "include/common/utils/utils.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/sub_and_filer.cc b/mindspore/core/ops/sub_and_filer.cc index aa46981f458..edcfceefdba 100644 --- a/mindspore/core/ops/sub_and_filer.cc +++ b/mindspore/core/ops/sub_and_filer.cc @@ -14,17 +14,30 @@ * limitations under the License. */ -#include "ops/sub_and_filter.h" -#include -#include #include #include -#include #include + +#include "ops/sub_and_filter.h" #include "abstract/abstract_value.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/macros.h" +#include "mindapi/base/shape_vector.h" +#include "ops/base_operator.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/svd.cc b/mindspore/core/ops/svd.cc index fe9721c06f3..945000e1659 100644 --- a/mindspore/core/ops/svd.cc +++ b/mindspore/core/ops/svd.cc @@ -19,11 +19,29 @@ #include #include #include +#include -#include "mindapi/ir/type.h" #include "utils/check_convert_utils.h" #include "utils/anf_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/sync_batch_norm.cc b/mindspore/core/ops/sync_batch_norm.cc index 662077d47dc..d0a7d3d14ba 100644 --- a/mindspore/core/ops/sync_batch_norm.cc +++ b/mindspore/core/ops/sync_batch_norm.cc @@ -20,10 +20,28 @@ #include #include #include +#include +#include -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/tan.cc b/mindspore/core/ops/tan.cc index e546856c040..3a4495c32ea 100644 --- a/mindspore/core/ops/tan.cc +++ b/mindspore/core/ops/tan.cc @@ -14,14 +14,25 @@ * limitations under the License. */ #include "ops/tan.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tanh.cc b/mindspore/core/ops/tanh.cc index 0f1b3a41342..2da2ca56ba1 100644 --- a/mindspore/core/ops/tanh.cc +++ b/mindspore/core/ops/tanh.cc @@ -14,14 +14,25 @@ * limitations under the License. */ #include "ops/tanh.h" -#include -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tensor_array.cc b/mindspore/core/ops/tensor_array.cc index 4606e15a97d..0022ee1c36b 100644 --- a/mindspore/core/ops/tensor_array.cc +++ b/mindspore/core/ops/tensor_array.cc @@ -15,8 +15,13 @@ */ #include "ops/tensor_array.h" + #include -#include "abstract/ops/primitive_infer_map.h" + +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tensor_copy_slices.cc b/mindspore/core/ops/tensor_copy_slices.cc index 4d1f47a8d70..a51a3d56d82 100644 --- a/mindspore/core/ops/tensor_copy_slices.cc +++ b/mindspore/core/ops/tensor_copy_slices.cc @@ -15,15 +15,22 @@ */ #include "ops/tensor_copy_slices.h" -#include -#include -#include + #include #include + #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tensor_shape.cc b/mindspore/core/ops/tensor_shape.cc index 7cc2b38188d..578741dfe37 100644 --- a/mindspore/core/ops/tensor_shape.cc +++ b/mindspore/core/ops/tensor_shape.cc @@ -14,11 +14,29 @@ * limitations under the License. */ #include "ops/tensor_shape.h" + #include #include + #include "ops/dynamic_shape.h" #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tensor_summary.cc b/mindspore/core/ops/tensor_summary.cc index abefc58c397..9e817b0b384 100644 --- a/mindspore/core/ops/tensor_summary.cc +++ b/mindspore/core/ops/tensor_summary.cc @@ -15,10 +15,26 @@ */ #include "ops/tensor_summary.h" + #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tensor_to_scalar.cc b/mindspore/core/ops/tensor_to_scalar.cc index cdf90c32db4..78535a65b59 100644 --- a/mindspore/core/ops/tensor_to_scalar.cc +++ b/mindspore/core/ops/tensor_to_scalar.cc @@ -18,11 +18,24 @@ #include #include +#include -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/op_infer.h" -#include "include/common/utils/utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/primitive_infer_map.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/trace.cc b/mindspore/core/ops/trace.cc index a389b8ada39..5e5b2a5707a 100644 --- a/mindspore/core/ops/trace.cc +++ b/mindspore/core/ops/trace.cc @@ -15,12 +15,28 @@ */ #include "ops/trace.h" + #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tridiagonal_matmul.cc b/mindspore/core/ops/tridiagonal_matmul.cc index 1809adb712f..e12eb058ef9 100644 --- a/mindspore/core/ops/tridiagonal_matmul.cc +++ b/mindspore/core/ops/tridiagonal_matmul.cc @@ -14,13 +14,24 @@ * limitations under the License. */ #include "ops/tridiagonal_matmul.h" + #include #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tridiagonal_solve.cc b/mindspore/core/ops/tridiagonal_solve.cc index b67ba5a5303..ee0d75ec7d9 100644 --- a/mindspore/core/ops/tridiagonal_solve.cc +++ b/mindspore/core/ops/tridiagonal_solve.cc @@ -15,14 +15,31 @@ */ #include "ops/tridiagonal_solve.h" + #include #include #include -#include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/tril_indices.cc b/mindspore/core/ops/tril_indices.cc index b41831e767c..145a00092db 100644 --- a/mindspore/core/ops/tril_indices.cc +++ b/mindspore/core/ops/tril_indices.cc @@ -17,13 +17,26 @@ #include "ops/tril_indices.h" #include -#include -#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/triplet_margin_loss.cc b/mindspore/core/ops/triplet_margin_loss.cc index 211d2c74955..88b820351c9 100644 --- a/mindspore/core/ops/triplet_margin_loss.cc +++ b/mindspore/core/ops/triplet_margin_loss.cc @@ -14,10 +14,33 @@ * limitations under the License. */ #include "ops/triplet_margin_loss.h" + #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/types.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/triu.cc b/mindspore/core/ops/triu.cc index 6acf9002bf9..cff0cc95807 100644 --- a/mindspore/core/ops/triu.cc +++ b/mindspore/core/ops/triu.cc @@ -14,16 +14,31 @@ * limitations under the License. */ #include "ops/triu.h" -#include -#include + #include #include #include +#include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/triu_indices.cc b/mindspore/core/ops/triu_indices.cc index f0edc86a66c..997316ef957 100644 --- a/mindspore/core/ops/triu_indices.cc +++ b/mindspore/core/ops/triu_indices.cc @@ -17,13 +17,26 @@ #include "ops/triu_indices.h" #include -#include -#include +#include #include "abstract/ops/primitive_infer_map.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/trunc.cc b/mindspore/core/ops/trunc.cc index e81aad3d6b1..c349a2cb783 100644 --- a/mindspore/core/ops/trunc.cc +++ b/mindspore/core/ops/trunc.cc @@ -15,13 +15,25 @@ */ #include "ops/trunc.h" -#include + #include #include #include -#include "ops/op_utils.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/truncate_div.cc b/mindspore/core/ops/truncate_div.cc index 25029e2fe83..87767f3e27c 100644 --- a/mindspore/core/ops/truncate_div.cc +++ b/mindspore/core/ops/truncate_div.cc @@ -14,16 +14,31 @@ * limitations under the License. */ #include "ops/truncate_div.h" -#include -#include + #include #include #include #include + #include "abstract/abstract_value.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/truncate_mod.cc b/mindspore/core/ops/truncate_mod.cc index 7393fcec540..f02a4a5d88c 100644 --- a/mindspore/core/ops/truncate_mod.cc +++ b/mindspore/core/ops/truncate_mod.cc @@ -14,17 +14,30 @@ * limitations under the License. */ #include "ops/truncate_mod.h" -#include -#include + #include #include #include #include + #include "abstract/abstract_value.h" #include "ops/op_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/truncated_normal.cc b/mindspore/core/ops/truncated_normal.cc index 73c2bff876b..2979b6ad5f5 100644 --- a/mindspore/core/ops/truncated_normal.cc +++ b/mindspore/core/ops/truncated_normal.cc @@ -14,14 +14,36 @@ * limitations under the License. */ #include "ops/truncated_normal.h" + #include -#include #include #include #include -#include "ops/op_utils.h" +#include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/named.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "ir/value.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/base/type_id.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/uniform.cc b/mindspore/core/ops/uniform.cc index a4448b80cc6..7556735523d 100644 --- a/mindspore/core/ops/uniform.cc +++ b/mindspore/core/ops/uniform.cc @@ -15,9 +15,27 @@ */ #include "ops/uniform.h" -#include "mindapi/src/helper.h" -#include "ops/op_utils.h" + +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/uniform_candidate_sampler.cc b/mindspore/core/ops/uniform_candidate_sampler.cc index 55a1ba6efbc..c313b0502e9 100644 --- a/mindspore/core/ops/uniform_candidate_sampler.cc +++ b/mindspore/core/ops/uniform_candidate_sampler.cc @@ -14,13 +14,35 @@ * limitations under the License. */ #include "ops/uniform_candidate_sampler.h" + #include -#include #include #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/ops/primitive_infer_map.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/unique_with_pad.cc b/mindspore/core/ops/unique_with_pad.cc index df293c7fe0e..5318da6ede3 100644 --- a/mindspore/core/ops/unique_with_pad.cc +++ b/mindspore/core/ops/unique_with_pad.cc @@ -15,18 +15,33 @@ */ #include "ops/unique_with_pad.h" + #include #include -#include #include #include #include #include +#include + #include "abstract/abstract_value.h" -#include "ops/op_utils.h" #include "ops/op_name.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/dtype/container.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/unravel_index.cc b/mindspore/core/ops/unravel_index.cc index 5130c7d9454..9cd453258db 100644 --- a/mindspore/core/ops/unravel_index.cc +++ b/mindspore/core/ops/unravel_index.cc @@ -15,16 +15,29 @@ */ #include "ops/unravel_index.h" + #include -#include #include -#include #include #include -#include "ops/op_utils.h" -#include "mindapi/src/helper.h" + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/unsorted_segment_arithmetic.cc b/mindspore/core/ops/unsorted_segment_arithmetic.cc index a172f7b2728..bc67d977a6f 100644 --- a/mindspore/core/ops/unsorted_segment_arithmetic.cc +++ b/mindspore/core/ops/unsorted_segment_arithmetic.cc @@ -15,16 +15,37 @@ */ #include "ops/unsorted_segment_arithmetic.h" + #include #include #include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" -#include "mindapi/src/helper.h" #include "ops/unsorted_segment_max.h" #include "ops/unsorted_segment_min.h" #include "ops/unsorted_segment_prod.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/tensor.h" +#include "mindapi/base/type_id.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" +#include "mindapi/src/helper.h" namespace mindspore { namespace ops { diff --git a/mindspore/core/ops/upper_bound.cc b/mindspore/core/ops/upper_bound.cc index 0dc88dad142..f132e57cf11 100644 --- a/mindspore/core/ops/upper_bound.cc +++ b/mindspore/core/ops/upper_bound.cc @@ -15,9 +15,26 @@ */ #include "ops/upper_bound.h" -#include "ops/op_utils.h" + +#include +#include + #include "abstract/ops/primitive_infer_map.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/upsample_interpolating_3d.cc b/mindspore/core/ops/upsample_interpolating_3d.cc index d19ef94a5b2..a945dc56c52 100644 --- a/mindspore/core/ops/upsample_interpolating_3d.cc +++ b/mindspore/core/ops/upsample_interpolating_3d.cc @@ -16,13 +16,32 @@ #include #include -#include #include #include + #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "ops/upsample_interpolating_3d.h" #include "utils/check_convert_utils.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "mindapi/base/shape_vector.h" +#include "mindapi/base/shared_ptr.h" +#include "mindapi/ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "ops/upsample_nearest_3d.h" +#include "ops/upsample_trilinear_3d.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/vmap_assign.cc b/mindspore/core/ops/vmap_assign.cc index 1ada46a039d..48c7b811f61 100644 --- a/mindspore/core/ops/vmap_assign.cc +++ b/mindspore/core/ops/vmap_assign.cc @@ -15,9 +15,29 @@ */ #include "ops/vmap_assign.h" + +#include +#include +#include +#include +#include + #include "utils/check_convert_utils.h" -#include "ops/op_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/xdivy.cc b/mindspore/core/ops/xdivy.cc index 1711445eeef..1c1c74b52b6 100644 --- a/mindspore/core/ops/xdivy.cc +++ b/mindspore/core/ops/xdivy.cc @@ -15,17 +15,28 @@ */ #include "ops/xdivy.h" -#include -#include + #include #include #include #include + #include "ops/primitive_c.h" #include "utils/check_convert_utils.h" #include "abstract/abstract_value.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/tensor_type.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "utils/convert_utils_base.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/xlogy.cc b/mindspore/core/ops/xlogy.cc index ada28fdf20b..9508f507f64 100644 --- a/mindspore/core/ops/xlogy.cc +++ b/mindspore/core/ops/xlogy.cc @@ -14,17 +14,26 @@ * limitations under the License. */ #include "ops/xlogy.h" -#include -#include + #include -#include #include #include + #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" #include "ops/op_utils.h" #include "abstract/abstract_value.h" #include "ops/primitive_c.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/param_validator.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/zeros.cc b/mindspore/core/ops/zeros.cc index 6fe3da33193..29656459b38 100644 --- a/mindspore/core/ops/zeros.cc +++ b/mindspore/core/ops/zeros.cc @@ -15,12 +15,28 @@ */ #include "ops/zeros.h" + #include #include -#include "ops/op_utils.h" +#include +#include + #include "utils/check_convert_utils.h" #include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/dtype/type.h" +#include "ir/primitive.h" +#include "ir/value.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/zeros_like.cc b/mindspore/core/ops/zeros_like.cc index c043ae54b0e..7f5e16ff646 100644 --- a/mindspore/core/ops/zeros_like.cc +++ b/mindspore/core/ops/zeros_like.cc @@ -16,13 +16,23 @@ #include "ops/zeros_like.h" #include -#include #include +#include #include "ops/op_utils.h" #include "utils/check_convert_utils.h" -#include "utils/tensor_construct_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/primitive.h" +#include "ops/core_ops.h" +#include "ops/op_name.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore { diff --git a/mindspore/core/ops/zeta.cc b/mindspore/core/ops/zeta.cc index e69dc996df9..5aaca4fc262 100644 --- a/mindspore/core/ops/zeta.cc +++ b/mindspore/core/ops/zeta.cc @@ -18,12 +18,26 @@ #include #include #include +#include +#include +#include #include "ops/zeta.h" -#include "ops/op_utils.h" -#include "utils/tensor_construct_utils.h" #include "utils/check_convert_utils.h" #include "abstract/ops/primitive_infer_map.h" +#include "abstract/abstract_value.h" +#include "abstract/dshape.h" +#include "abstract/ops/op_infer.h" +#include "abstract/utils.h" +#include "base/base.h" +#include "ir/anf.h" +#include "ir/dtype/number.h" +#include "ir/primitive.h" +#include "mindapi/base/shape_vector.h" +#include "ops/core_ops.h" +#include "ops/primitive_c.h" +#include "utils/log_adapter.h" +#include "utils/shape_utils.h" #include "mindapi/src/helper.h" namespace mindspore {