metadef/error_manager/stub/gen_stubapi.py:1: [C0114(missing-module-docstring), ] Missing module docstring metadef/proto/stub/gen_stubapi.py:1: [C0114(missing-module-docstring), ] Missing module docstring metadef/tests/stub/gen_stubapi.py:1: [C0114(missing-module-docstring), ] Missing module docstring mindspore/python/mindspore/mint/nn/layer/_functions.py:33: [C0115(missing-class-docstring), AllGather] Missing class docstring mindspore/python/mindspore/mint/nn/layer/_functions.py:63: [C0115(missing-class-docstring), AllReduce] Missing class docstring metadef/error_manager/stub/gen_stubapi.py:176: [C0115(missing-class-docstring), H2CC] Missing class docstring metadef/proto/stub/gen_stubapi.py:152: [C0115(missing-class-docstring), H2CC] Missing class docstring metadef/tests/stub/gen_stubapi.py:479: [C0115(missing-class-docstring), H2CC] Missing class docstring mindspore/python/mindspore/mint/nn/layer/_functions.py:85: [C0115(missing-class-docstring), SyncBatchNormInner] Missing class docstring mindspore/python/mindspore/mint/nn/layer/_functions.py:192: [C0115(missing-class-docstring), _SyncBatchNorm] Missing class docstring metadef/error_manager/stub/gen_stubapi.py:513: [C0116(missing-function-docstring), H2CC.gen_comment] Missing function or method docstring metadef/proto/stub/gen_stubapi.py:472: [C0116(missing-function-docstring), H2CC.gen_comment] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:907: [C0116(missing-function-docstring), H2CC.gen_comment] Missing function or method docstring metadef/error_manager/stub/gen_stubapi.py:535: [C0116(missing-function-docstring), H2CC.get_return_statements] Missing function or method docstring metadef/proto/stub/gen_stubapi.py:494: [C0116(missing-function-docstring), H2CC.get_return_statements] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:931: [C0116(missing-function-docstring), H2CC.get_return_statements] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:582: [C0116(missing-function-docstring), H2CC.h2cc] Missing function or method docstring metadef/error_manager/stub/gen_stubapi.py:459: [C0116(missing-function-docstring), H2CC.handle_class_member_func] Missing function or method docstring metadef/proto/stub/gen_stubapi.py:419: [C0116(missing-function-docstring), H2CC.handle_class_member_func] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:838: [C0116(missing-function-docstring), H2CC.handle_class_member_func] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:773: [C0116(missing-function-docstring), H2CC.handle_declaration_class] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:558: [C0116(missing-function-docstring), H2CC.handle_extern_variable] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:656: [C0116(missing-function-docstring), H2CC.handle_func] Missing function or method docstring metadef/error_manager/stub/gen_stubapi.py:438: [C0116(missing-function-docstring), H2CC.handle_normal_func] Missing function or method docstring metadef/proto/stub/gen_stubapi.py:401: [C0116(missing-function-docstring), H2CC.handle_normal_func] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:817: [C0116(missing-function-docstring), H2CC.handle_normal_func] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:715: [C0116(missing-function-docstring), H2CC.handle_stack] Missing function or method docstring metadef/error_manager/stub/gen_stubapi.py:415: [C0116(missing-function-docstring), H2CC.handle_template] Missing function or method docstring metadef/proto/stub/gen_stubapi.py:378: [C0116(missing-function-docstring), H2CC.handle_template] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:794: [C0116(missing-function-docstring), H2CC.handle_template] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:960: [C0116(missing-function-docstring), H2CC.handle_template_func_def] Missing function or method docstring metadef/error_manager/stub/gen_stubapi.py:556: [C0116(missing-function-docstring), H2CC.implement_function] Missing function or method docstring metadef/proto/stub/gen_stubapi.py:515: [C0116(missing-function-docstring), H2CC.implement_function] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:996: [C0116(missing-function-docstring), H2CC.implement_function] Missing function or method docstring metadef/error_manager/stub/gen_stubapi.py:206: [C0116(missing-function-docstring), H2CC.just_skip] Missing function or method docstring metadef/proto/stub/gen_stubapi.py:182: [C0116(missing-function-docstring), H2CC.just_skip] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:512: [C0116(missing-function-docstring), H2CC.just_skip] Missing function or method docstring mindspore/python/mindspore/mint/nn/layer/_functions.py:133: [C0116(missing-function-docstring), SyncBatchNormInner.bprop] Missing function or method docstring mindspore/python/mindspore/mint/nn/layer/conv.py:74: [C0116(missing-function-docstring), _Conv._calc_reversed_padding] Missing function or method docstring mindspore/python/mindspore/mint/nn/layer/conv.py:93: [C0116(missing-function-docstring), _Conv._create_bias] Missing function or method docstring metadef/tests/stub/gen_stubapi.py:1047: [C0116(missing-function-docstring), collect_header_files] Missing function or method docstring mindspore/python/mindspore/experimental/optim/lr_scheduler.py:618: [C0200(consider-using-enumerate), MultiStepLR.get_lr] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/experimental/optim/lr_scheduler.py:741: [C0200(consider-using-enumerate), SequentialLR.__init__] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/nn/optim/thor.py:996: [C0200(consider-using-enumerate), ThorAscend._get_ainv_ginv_amax_gmax_list] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/nn/optim/thor.py:845: [C0200(consider-using-enumerate), ThorAscend._process_matrix_init_and_weight_idx_map] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/nn/optim/thor.py:465: [C0200(consider-using-enumerate), ThorGpu._process_matrix_init_and_weight_idx_map] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/nn/probability/bnn_layers/bnn_cell_wrapper.py:91: [C0200(consider-using-enumerate), WithBNNLossCell.construct] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/mint/nn/layer/conv.py:767: [C0200(consider-using-enumerate), _ConvTranspose._check_output_size] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/nn/layer/padding.py:122: [C0200(consider-using-enumerate), _get_new_padding] Consider using enumerate instead of iterating with range and len mindspore/python/mindspore/boost/boost.py:217: [C0201(consider-iterating-dictionary), AutoBoost.__init__] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/nn/probability/bijector/bijector.py:214: [C0201(consider-iterating-dictionary), Bijector._check_is_scalar_batch] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/nn/layer/container.py:587: [C0201(consider-iterating-dictionary), CellDict.__init__] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/nn/layer/container.py:368: [C0201(consider-iterating-dictionary), CellList.__init__] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/nn/probability/distribution/distribution.py:84: [C0201(consider-iterating-dictionary), Distribution.__init__] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/rewrite/common/namer.py:100: [C0201(consider-iterating-dictionary), Namer.get_name] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/rewrite/node/node.py:1182: [C0201(consider-iterating-dictionary), Node._get_normalized_args] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/rewrite/node/node.py:1114: [C0201(consider-iterating-dictionary), Node.append_target_users] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/rewrite/node/node.py:1101: [C0201(consider-iterating-dictionary), Node.get_target_users] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/rewrite/node/node.py:954: [C0201(consider-iterating-dictionary), Node.set_kwarg] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/rewrite/node/node.py:935: [C0201(consider-iterating-dictionary), Node.set_kwargs] Consider iterating the dictionary directly instead of calling .keys() mindspore/python/mindspore/mindrecord/tools/imagenet_to_mr.py:176: [C0206(consider-using-dict-items), ImageNetToMR._get_imagenet_as_dict] Consider iterating with .items() mindspore/python/mindspore/mindrecord/tools/imagenet_to_mr.py:187: [C0206(consider-using-dict-items), ImageNetToMR._get_imagenet_as_dict] Consider iterating with .items() mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/custom.py:263: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/custom.py:264: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/dataset/engine/offload.py:181: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/dataset/engine/offload.py:215: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/dataset/engine/offload.py:242: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/dataset/engine/offload.py:307: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/dataset/engine/offload.py:342: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/dataset/engine/offload.py:413: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/mint/nn/layer/conv.py:740: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/nn/probability/bijector/bijector.py:207: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/nn/probability/distribution/distribution.py:252: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword mindspore/python/mindspore/nn/wrap/cell_wrapper.py:195: [C0325(superfluous-parens), ] Unnecessary parens after '=' keyword metadef/error_manager/stub/gen_stubapi.py:468: [C0325(superfluous-parens), ] Unnecessary parens after 'not' keyword metadef/error_manager/stub/gen_stubapi.py:470: [C0325(superfluous-parens), ] Unnecessary parens after 'not' keyword metadef/proto/stub/gen_stubapi.py:428: [C0325(superfluous-parens), ] Unnecessary parens after 'not' keyword metadef/proto/stub/gen_stubapi.py:430: [C0325(superfluous-parens), ] Unnecessary parens after 'not' keyword metadef/tests/stub/gen_stubapi.py:848: [C0325(superfluous-parens), ] Unnecessary parens after 'not' keyword metadef/tests/stub/gen_stubapi.py:850: [C0325(superfluous-parens), ] Unnecessary parens after 'not' keyword docs/api/api_python/datasets_example.py:23: [C0411(wrong-import-order), ] third party import "PIL.Image" should be placed before first party imports "mindspore", "mindspore.dataset", "mindspore.dataset.vision", "mindspore.dataset.transforms" docs/api/api_python_en/datasets_example.py:23: [C0411(wrong-import-order), ] third party import "PIL.Image" should be placed before first party imports "mindspore", "mindspore.dataset", "mindspore.dataset.vision", "mindspore.dataset.transforms" mindspore/python/mindspore/nn/optim/optimizer.py:250: [C3001(unnecessary-lambda-assignment), Optimizer._init_opt_attrs.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/optim/optimizer.py:251: [C3001(unnecessary-lambda-assignment), Optimizer._init_opt_attrs.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/optim/optimizer.py:261: [C3001(unnecessary-lambda-assignment), Optimizer._init_opt_attrs.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/ops/function/clip_func.py:60: [C3001(unnecessary-lambda-assignment), _cal_total_norm.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/dynamic_lr.py:208: [C3001(unnecessary-lambda-assignment), natural_exp_decay_lr.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/dynamic_lr.py:210: [C3001(unnecessary-lambda-assignment), natural_exp_decay_lr.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/dynamic_lr.py:423: [C3001(unnecessary-lambda-assignment), polynomial_decay_lr.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/dynamic_lr.py:425: [C3001(unnecessary-lambda-assignment), polynomial_decay_lr.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/dynamic_lr.py:486: [C3001(unnecessary-lambda-assignment), warmup_lr.] Lambda expression assigned to a variable. Define a function using the "def" keyword instead. mindspore/python/mindspore/nn/optim/ftrl.py:271: [C3002(unnecessary-direct-lambda-call), FTRL.__init__] Lambda expression called directly. Execute the expression inline instead. mindspore/python/mindspore/dataset/core/py_util_helpers.py:40: [E0306(invalid-repr-returned), KeyErrorParse.__repr__] __repr__ does not return str mindspore/python/mindspore/mindrecord/tools/cifar10.py:169: [E0601(used-before-assignment), Cifar10.load_data] Using variable 'test_images' before assignment mindspore/python/mindspore/mindrecord/tools/cifar10.py:170: [E0601(used-before-assignment), Cifar10.load_data] Using variable 'test_labels' before assignment mindspore/python/mindspore/mindrecord/tools/cifar100.py:128: [E0601(used-before-assignment), Cifar100.load_data] Using variable 'test_coarse_labels' before assignment mindspore/python/mindspore/mindrecord/tools/cifar100.py:127: [E0601(used-before-assignment), Cifar100.load_data] Using variable 'test_fine_labels' before assignment mindspore/python/mindspore/mindrecord/tools/cifar100.py:126: [E0601(used-before-assignment), Cifar100.load_data] Using variable 'test_images' before assignment mindspore/python/mindspore/ops/_vmap/vmap_nn_ops.py:949: [E0601(used-before-assignment), get_kl_div_loss_vmap_rule.vmap_rule] Using variable 'factor_op' before assignment mindspore/python/mindspore/train/metrics/accuracy.py:117: [E0606(possibly-used-before-assignment), Accuracy.update] Possibly using variable 'result' before assignment mindspore/python/mindspore/mindrecord/tools/cifar100.py:123: [E0606(possibly-used-before-assignment), Cifar100.load_data] Possibly using variable 'images' before assignment mindspore/python/mindspore/train/metrics/hausdorff_distance.py:229: [E0606(possibly-used-before-assignment), HausdorffDistance._get_surface_distance] Possibly using variable 'dis' before assignment mindspore/python/mindspore/train/metrics/mean_surface_distance.py:113: [E0606(possibly-used-before-assignment), MeanSurfaceDistance._get_surface_distance] Possibly using variable 'dis' before assignment mindspore/python/mindspore/ops/operations/_thor_ops.py:593: [E0606(possibly-used-before-assignment), NewIm2Col.infer_shape] Possibly using variable 'pad_bottom' before assignment mindspore/python/mindspore/ops/operations/_thor_ops.py:593: [E0606(possibly-used-before-assignment), NewIm2Col.infer_shape] Possibly using variable 'pad_right' before assignment mindspore/python/mindspore/train/metrics/root_mean_square_surface_distance.py:107: [E0606(possibly-used-before-assignment), RootMeanSquareDistance._get_surface_distance] Possibly using variable 'dis' before assignment mindspore/python/mindspore/train/callback/_summary_collector.py:623: [E0606(possibly-used-before-assignment), SummaryCollector._save_metadata] Possibly using variable 'fcntl' before assignment mindspore/python/mindspore/ops/operations/_thor_ops.py:519: [E0606(possibly-used-before-assignment), ThorIm2Col.infer_shape] Possibly using variable 'pad_bottom' before assignment mindspore/python/mindspore/ops/operations/_thor_ops.py:519: [E0606(possibly-used-before-assignment), ThorIm2Col.infer_shape] Possibly using variable 'pad_right' before assignment mindspore/python/mindspore/common/dtype.py:327: [E0606(possibly-used-before-assignment), _dtype_to_nptype] Possibly using variable 'np_bfloat16' before assignment mindspore/python/mindspore/numpy/array_creations.py:409: [E0606(possibly-used-before-assignment), _generate_shapes] Possibly using variable 'size' before assignment mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py:193: [E0606(possibly-used-before-assignment), _get_format] Possibly using variable 'block_reduce' before assignment mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py:145: [E0606(possibly-used-before-assignment), _get_shape_a_b] Possibly using variable 'shape_a' before assignment mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_impl.py:146: [E0606(possibly-used-before-assignment), _get_shape_a_b] Possibly using variable 'shape_b' before assignment mindspore/python/mindspore/train/summary/summary_record.py:91: [E0606(possibly-used-before-assignment), _record_summary_tensor_data] Possibly using variable 'summary_op_name' before assignment mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_fracz_left_cast_impl.py:167: [E0606(possibly-used-before-assignment), cus_matmul_cube_fraczleftcast] Possibly using variable 'block_reduce' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:475: [E0606(possibly-used-before-assignment), get_bprop_micro_step_all_gather.bprop] Possibly using variable 'scale' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:809: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'all_gather' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:797: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'cast' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:794: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'ln_print' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:807: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'mul' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:789: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'reduce_sum' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:792: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'sqrt' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:789: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'square' before assignment mindspore/python/mindspore/ops/_grad_experimental/grad_comm_ops.py:792: [E0606(possibly-used-before-assignment), get_bprop_mirror_operator.bprop] Possibly using variable 'tensor_dump' before assignment mindspore/python/mindspore/ops/_vmap/vmap_grad_nn_ops.py:698: [E0606(possibly-used-before-assignment), get_grid_sampler_grad_vmap_rule.vmap_rule] Possibly using variable 'non_batch_dim_index' before assignment mindspore/python/mindspore/ops/_vmap/vmap_nn_ops.py:1955: [E0606(possibly-used-before-assignment), get_grid_sampler_vmap_rule.vmap_rule] Possibly using variable 'non_batch_dim_index' before assignment mindspore/python/mindspore/ops/_vmap/vmap_nn_ops.py:942: [E0606(possibly-used-before-assignment), get_kl_div_loss_vmap_rule.vmap_rule] Possibly using variable 'kl_div_loss_op' before assignment mindspore/python/mindspore/ops/_vmap/vmap_nn_ops.py:944: [E0606(possibly-used-before-assignment), get_kl_div_loss_vmap_rule.vmap_rule] Possibly using variable 'reduce_op' before assignment mindspore/python/mindspore/ops/_op_impl/_custom_op/matmul_cube_dense_left_impl.py:135: [E0606(possibly-used-before-assignment), shape_gen2] Possibly using variable 'block_reduce' before assignment mindspore/python/mindspore/common/seed.py:36: [E4702(modified-iterating-dict), _reset_op_seed] Iterated dict '_KERNEL_SEED' is being modified inside for loop body, iterate through a copy of it instead. docs/api/api_python/datasets_example.py:94: [I1101(c-extension-no-member), ] Module 'mindspore' has no 'int32' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. docs/api/api_python_en/datasets_example.py:93: [I1101(c-extension-no-member), ] Module 'mindspore' has no 'int32' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. metadef/error_manager/stub/gen_stubapi.py:176: [R0205(useless-object-inheritance), H2CC] Class 'H2CC' inherits from object, can be safely removed from bases in python3 metadef/proto/stub/gen_stubapi.py:152: [R0205(useless-object-inheritance), H2CC] Class 'H2CC' inherits from object, can be safely removed from bases in python3 metadef/tests/stub/gen_stubapi.py:479: [R0205(useless-object-inheritance), H2CC] Class 'H2CC' inherits from object, can be safely removed from bases in python3 mindspore/python/mindspore/ops_generate/aclnn/gen_aclnn_implement.py:23: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/api/cpp_create_prim_instance_helper_generator.py:22: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/api/functional_overload_py_generator.py:25: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/op_def/lite_ops_cpp_generator.py:22: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/op_def/ops_name_h_generator.py:23: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/op_def/ops_primitive_h_generator.py:23: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/op_def_py/custom_op_prim_py_generator.py:18: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/op_def_py/op_def_py_generator.py:22: [R0402(consider-using-from-import), ] Use 'from common import gen_utils' instead mindspore/python/mindspore/ops_generate/aclnn/gen_aclnn_implement.py:24: [R0402(consider-using-from-import), ] Use 'from common import template' instead mindspore/python/mindspore/ops_generate/api/cpp_create_prim_instance_helper_generator.py:23: [R0402(consider-using-from-import), ] Use 'from common import template' instead mindspore/python/mindspore/ops_generate/api/functional_overload_py_generator.py:26: [R0402(consider-using-from-import), ] Use 'from common import template' instead mindspore/python/mindspore/ops_generate/op_def/lite_ops_cpp_generator.py:23: [R0402(consider-using-from-import), ] Use 'from common import template' instead mindspore/python/mindspore/ops_generate/op_def/ops_name_h_generator.py:24: [R0402(consider-using-from-import), ] Use 'from common import template' instead mindspore/python/mindspore/ops_generate/op_def/ops_primitive_h_generator.py:24: [R0402(consider-using-from-import), ] Use 'from common import template' instead mindspore/python/mindspore/hypercomplex/hypercomplex/hc_bn.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import context' instead mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:18: [R0402(consider-using-from-import), ] Use 'from mindspore import context' instead mindspore/python/mindspore/nn/layer/rnns.py:23: [R0402(consider-using-from-import), ] Use 'from mindspore import context' instead mindspore/python/mindspore/numpy/utils_const.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import context' instead mindspore/python/mindspore/tools/data_dump.py:19: [R0402(consider-using-from-import), ] Use 'from mindspore import context' instead mindspore/python/mindspore/train/callback/_checkpoint.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import context' instead mindspore/python/mindspore/boost/base.py:25: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/dataset/engine/offload.py:23: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/hypercomplex/hypercomplex/_hc_bn_impl.py:19: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/hypercomplex/hypercomplex/hc_bn.py:23: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/hypercomplex/hypercomplex/hc_dense.py:20: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:19: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/nn/layer/rnns.py:21: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/nn/optim/adasum.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/nn/optim/thor.py:26: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:25: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/nn/probability/distribution/beta.py:20: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/nn/probability/distribution/gamma.py:20: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/nn/probability/distribution/transformed_distribution.py:21: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/onnx/onnx_export.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/parallel/distributed/distributed_data_parallel.py:23: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/train/callback/_flops_collector.py:34: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/train/train_thor/convert_utils.py:18: [R0402(consider-using-from-import), ] Use 'from mindspore import nn' instead mindspore/python/mindspore/dataset/engine/offload.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/hypercomplex/complex/_complex_bn_impl.py:18: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/hypercomplex/double/_double_bn_impl.py:18: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/hypercomplex/dual/_dual_bn_impl.py:18: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/layer/rnn_cells.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/layer/rnns.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/layer/thor_layer.py:20: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/layer/transformer.py:28: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/optim/thor.py:25: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/probability/bijector/bijector.py:18: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/probability/bijector/gumbel_cdf.py:16: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/probability/bijector/power_transform.py:16: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/probability/bijector/scalar_affine.py:16: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/probability/bijector/softplus.py:17: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:24: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/numpy/math_ops.py:25: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/ops/composite/math_ops.py:16: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/ops/function/linalg_func.py:19: [R0402(consider-using-from-import), ] Use 'from mindspore import ops' instead mindspore/python/mindspore/parallel/distributed/flatten_grad_buffer.py:25: [R0402(consider-using-from-import), ] Use 'from mindspore.communication import comm_func' instead mindspore/python/mindspore/dataset/text/validators.py:25: [R0402(consider-using-from-import), ] Use 'from mindspore.dataset import text' instead docs/api/api_python/datasets_example.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore.dataset import transforms' instead docs/api/api_python_en/datasets_example.py:22: [R0402(consider-using-from-import), ] Use 'from mindspore.dataset import transforms' instead docs/api/api_python/datasets_example.py:21: [R0402(consider-using-from-import), ] Use 'from mindspore.dataset import vision' instead docs/api/api_python_en/datasets_example.py:21: [R0402(consider-using-from-import), ] Use 'from mindspore.dataset import vision' instead mindspore/python/mindspore/graph/_parse/standard_method.py:25: [R0402(consider-using-from-import), ] Use 'from mindspore.graph._utils import monad' instead mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/build_tbe_kernel.py:27: [R0402(consider-using-from-import), ] Use 'from tbe.common.context import op_context' instead mindspore/python/mindspore/tools/data_dump.py:99: [R0402(consider-using-from-import), set_dump] Use 'from mindspore import nn' instead metadef/tests/stub/gen_stubapi.py:514: [R1705(no-else-return), H2CC.just_skip] Unnecessary "elif" after "return", remove the leading "el" from "elif" metadef/error_manager/stub/gen_stubapi.py:90: [R1705(no-else-return), file_endswith_white_list_suffix] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it metadef/proto/stub/gen_stubapi.py:69: [R1705(no-else-return), file_endswith_white_list_suffix] Unnecessary "else" after "return", remove the "else" and de-indent the code inside it mindspore/python/mindspore/dataset/engine/queue.py:86: [R1720(no-else-raise), _SharedQueue.__init__] Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it mindspore/python/mindspore/experimental/optim/lr_scheduler.py:91: [R1721(unnecessary-comprehension), LRScheduler.__init__] Unnecessary use of a comprehension, use list(optimizer.lrs) instead. mindspore/python/mindspore/dataset/vision/transforms.py:3895: [R1721(unnecessary-comprehension), RandomAffine.__init__] Unnecessary use of a comprehension, use list(shear) instead. mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:192: [R1721(unnecessary-comprehension), ReshapeElimChecker.__init__._get_remap_axis] Unnecessary use of a comprehension, use list(range(out_idx, out_ext, -1)) instead. mindspore/python/mindspore/mindrecord/core/shardwriter.py:223: [R1721(unnecessary-comprehension), ShardWriter._merge_blob] Unnecessary use of a comprehension, use list(blob_data.values()) instead. mindspore/python/mindspore/nn/wrap/cell_wrapper.py:863: [R1721(unnecessary-comprehension), _BroadCastCell.__init__] Unnecessary use of a comprehension, use list(range(0, get_group_size())) instead. mindspore/python/mindspore/nn/layer/padding.py:99: [R1721(unnecessary-comprehension), _check] Unnecessary use of a comprehension, use list(padding) instead. mindspore/python/mindspore/ops/_op_impl/_custom_op/_basic.py:79: [R1721(unnecessary-comprehension), _check_bias] Unnecessary use of a comprehension, use list(shape_bias[-2:]) instead. mindspore/python/mindspore/nn/layer/padding.py:49: [R1721(unnecessary-comprehension), _check_padding_dimension] Unnecessary use of a comprehension, use list(padding) instead. mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/tbe_topi.py:499: [R1721(unnecessary-comprehension), _reduce_max] Unnecessary use of a comprehension, use list(range(len(x.shape))) instead. mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/tbe_topi.py:514: [R1721(unnecessary-comprehension), _reduce_min] Unnecessary use of a comprehension, use list(range(len(x.shape))) instead. mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/tbe_topi.py:484: [R1721(unnecessary-comprehension), _reduce_sum] Unnecessary use of a comprehension, use list(range(len(x.shape))) instead. mindspore/python/mindspore/ops/_grad_experimental/grad_math_ops.py:67: [R1721(unnecessary-comprehension), renew_dim] Unnecessary use of a comprehension, use list(range(len(shape))) instead. mindspore/python/mindspore/_extends/remote/kernel_build_server_akg.py:46: [R1722(consider-using-sys-exit), AkgMessager.exit] Consider using 'sys.exit' instead mindspore/python/mindspore/_extends/remote/kernel_build_server_akg_v2.py:46: [R1722(consider-using-sys-exit), AkgV2Messager.exit] Consider using 'sys.exit' instead mindspore/python/mindspore/train/train_thor/convert_utils.py:136: [R1724(no-else-continue), ConvertNetUtils._convert_to_thor_net] Unnecessary "elif" after "continue", remove the leading "el" from "elif" mindspore/python/mindspore/train/amp.py:568: [R1724(no-else-continue), _do_keep_batchnorm_fp32] Unnecessary "elif" after "continue", remove the leading "el" from "elif" mindspore/python/mindspore/nn/optim/thor.py:201: [R1724(no-else-continue), find_net_layertype_recur] Unnecessary "elif" after "continue", remove the leading "el" from "elif" mindspore/python/mindspore/experimental/optim/asgd.py:108: [R1725(super-with-arguments), ASGD.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/accuracy.py:59: [R1725(super-with-arguments), Accuracy.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/adafactor.py:312: [R1725(super-with-arguments), AdaFactor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/adamax.py:197: [R1725(super-with-arguments), AdaMax.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/adasum.py:160: [R1725(super-with-arguments), AdaSum.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/adasum.py:531: [R1725(super-with-arguments), AdaSumByDeltaWeightWrapCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/adasum.py:458: [R1725(super-with-arguments), AdaSumByGradWrapCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/adadelta.py:121: [R1725(super-with-arguments), Adadelta.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/adadelta.py:189: [R1725(super-with-arguments), Adadelta.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/adagrad.py:122: [R1725(super-with-arguments), Adagrad.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/ada_grad.py:206: [R1725(super-with-arguments), Adagrad.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/adam.py:149: [R1725(super-with-arguments), Adam.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/adamw.py:194: [R1725(super-with-arguments), AdamW.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/adamax.py:124: [R1725(super-with-arguments), Adamax.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:661: [R1725(super-with-arguments), AdaptiveAvgPool1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:749: [R1725(super-with-arguments), AdaptiveAvgPool2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:824: [R1725(super-with-arguments), AdaptiveAvgPool3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:886: [R1725(super-with-arguments), AdaptiveMaxPool1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:989: [R1725(super-with-arguments), AdaptiveMaxPool2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:486: [R1725(super-with-arguments), AiCPURegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:445: [R1725(super-with-arguments), AkgAscendRegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:452: [R1725(super-with-arguments), AkgCpuRegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:438: [R1725(super-with-arguments), AkgGpuRegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/akg_process.py:210: [R1725(super-with-arguments), AkgProcess.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:379: [R1725(super-with-arguments), AkgRegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/akg_process.py:247: [R1725(super-with-arguments), AkgV2Process.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/scipy/optimize/_lbfgs.py:84: [R1725(super-with-arguments), AlgorithmLbfgs.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/_extends/graph_kernel/model/model.py:532: [R1725(super-with-arguments), AlignShape.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/_functions.py:36: [R1725(super-with-arguments), AllGather.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_flops_collector.py:42: [R1725(super-with-arguments), AllReduceNet.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:700: [R1725(super-with-arguments), AllreduceGraph.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:128: [R1725(super-with-arguments), ApplyPreTransform.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/ast_helpers/ast_finder.py:50: [R1725(super-with-arguments), AstFinder.generic_visit] Consider using Python 3 style super() without arguments mindspore/python/mindspore/scipy/optimize/_lagrange.py:46: [R1725(super-with-arguments), AugmentLagrangeMethod.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:504: [R1725(super-with-arguments), AvgPool1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:409: [R1725(super-with-arguments), AvgPool2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_backup_and_restore.py:66: [R1725(super-with-arguments), BackupAndRestore.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:780: [R1725(super-with-arguments), BatchNorm1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:824: [R1725(super-with-arguments), BatchNorm1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:836: [R1725(super-with-arguments), BatchNorm1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/dual_operators.py:657: [R1725(super-with-arguments), BatchNorm1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_bn.py:365: [R1725(super-with-arguments), BatchNorm1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:891: [R1725(super-with-arguments), BatchNorm2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:973: [R1725(super-with-arguments), BatchNorm2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:986: [R1725(super-with-arguments), BatchNorm2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/dual_operators.py:763: [R1725(super-with-arguments), BatchNorm2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:998: [R1725(super-with-arguments), BatchNorm3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:1123: [R1725(super-with-arguments), BatchNorm3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:1136: [R1725(super-with-arguments), BatchNorm3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/dual_operators.py:869: [R1725(super-with-arguments), BatchNorm3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_bn.py:575: [R1725(super-with-arguments), BatchNorm3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/bernoulli.py:142: [R1725(super-with-arguments), Bernoulli.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/beta.py:172: [R1725(super-with-arguments), Beta.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/bijector.py:316: [R1725(super-with-arguments), Bijector.__call__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/bijector.py:71: [R1725(super-with-arguments), Bijector.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/cauchy.py:162: [R1725(super-with-arguments), Cauchy.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/channel_shuffle.py:77: [R1725(super-with-arguments), ChannelShuffle.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/ast_helpers/ast_finder.py:196: [R1725(super-with-arguments), CheckPropertyIsUsed.generic_visit] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/ast_helpers/ast_finder.py:188: [R1725(super-with-arguments), CheckPropertyIsUsed.visit_Attribute] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:312: [R1725(super-with-arguments), CheckTensor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:284: [R1725(super-with-arguments), CheckTuple.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/common/namer.py:223: [R1725(super-with-arguments), ClassNamer.add_name] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/common/namer.py:213: [R1725(super-with-arguments), ClassNamer.get_name] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_cluster_monitor.py:113: [R1725(super-with-arguments), ClusterMonitor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/less_batch_normalization.py:64: [R1725(super-with-arguments), CommonHeadLastFN.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/confusion_matrix.py:62: [R1725(super-with-arguments), ConfusionMatrix.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/confusion_matrix.py:199: [R1725(super-with-arguments), ConfusionMatrixMetric.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:476: [R1725(super-with-arguments), Constant.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:678: [R1725(super-with-arguments), ConstantLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:112: [R1725(super-with-arguments), ConstantPad1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:288: [R1725(super-with-arguments), ConstantPad1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:164: [R1725(super-with-arguments), ConstantPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:349: [R1725(super-with-arguments), ConstantPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:220: [R1725(super-with-arguments), ConstantPad3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:416: [R1725(super-with-arguments), ConstantPad3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:28: [R1725(super-with-arguments), ConstantPadNd_.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:428: [R1725(super-with-arguments), Conv1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:442: [R1725(super-with-arguments), Conv1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:439: [R1725(super-with-arguments), Conv1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:453: [R1725(super-with-arguments), Conv1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/dual_operators.py:360: [R1725(super-with-arguments), Conv1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_conv.py:626: [R1725(super-with-arguments), Conv1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/conv.py:330: [R1725(super-with-arguments), Conv1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:237: [R1725(super-with-arguments), Conv2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:252: [R1725(super-with-arguments), Conv2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:244: [R1725(super-with-arguments), Conv2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:259: [R1725(super-with-arguments), Conv2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/dual_operators.py:209: [R1725(super-with-arguments), Conv2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_conv.py:466: [R1725(super-with-arguments), Conv2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/conv.py:526: [R1725(super-with-arguments), Conv2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/combined.py:122: [R1725(super-with-arguments), Conv2dBnAct.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/thor_layer.py:388: [R1725(super-with-arguments), Conv2dThor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:656: [R1725(super-with-arguments), Conv3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:671: [R1725(super-with-arguments), Conv3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:673: [R1725(super-with-arguments), Conv3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:688: [R1725(super-with-arguments), Conv3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/dual_operators.py:552: [R1725(super-with-arguments), Conv3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_conv.py:829: [R1725(super-with-arguments), Conv3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/conv.py:719: [R1725(super-with-arguments), Conv3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/conv_variational.py:247: [R1725(super-with-arguments), ConvReparam.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/conv.py:934: [R1725(super-with-arguments), ConvTranspose2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:1358: [R1725(super-with-arguments), CosineAnnealingLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:1244: [R1725(super-with-arguments), CosineAnnealingWarmRestarts.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/learning_rate_schedule.py:334: [R1725(super-with-arguments), CosineDecayLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:320: [R1725(super-with-arguments), CpuRegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:809: [R1725(super-with-arguments), CustomRegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:903: [R1725(super-with-arguments), CustomRegOp.dtype_format] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:1104: [R1725(super-with-arguments), CyclicLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:185: [R1725(super-with-arguments), DbConnectionError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:1104: [R1725(super-with-arguments), Dense.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_operators.py:1112: [R1725(super-with-arguments), Dense.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:1247: [R1725(super-with-arguments), Dense.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:1255: [R1725(super-with-arguments), Dense.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/dual_operators.py:952: [R1725(super-with-arguments), Dense.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_dense.py:99: [R1725(super-with-arguments), Dense.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/combined.py:224: [R1725(super-with-arguments), DenseBnAct.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/dense_variational.py:283: [R1725(super-with-arguments), DenseLocalReparam.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/dense_variational.py:189: [R1725(super-with-arguments), DenseReparam.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/thor_layer.py:101: [R1725(super-with-arguments), DenseThor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:321: [R1725(super-with-arguments), DiGamma.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/dice.py:58: [R1725(super-with-arguments), Dice.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/dim_reduce.py:148: [R1725(super-with-arguments), DimReduce.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:567: [R1725(super-with-arguments), Dirac.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/parallel/distributed/distributed_data_parallel.py:137: [R1725(super-with-arguments), DistributedDataParallel.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/distribution.py:65: [R1725(super-with-arguments), Distribution.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/activation.py:216: [R1725(super-with-arguments), ELU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_early_stop.py:102: [R1725(super-with-arguments), EarlyStopping.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/thor_layer.py:733: [R1725(super-with-arguments), EmbeddingLookupThor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/thor_layer.py:586: [R1725(super-with-arguments), EmbeddingThor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/metric.py:241: [R1725(super-with-arguments), EvaluationBase.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/exp.py:57: [R1725(super-with-arguments), Exp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/exponential.py:149: [R1725(super-with-arguments), Exponential.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/learning_rate_schedule.py:119: [R1725(super-with-arguments), ExponentialDecayLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:348: [R1725(super-with-arguments), ExponentialLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/fbeta.py:167: [R1725(super-with-arguments), F1.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/ftrl.py:258: [R1725(super-with-arguments), FTRL.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/fbeta.py:56: [R1725(super-with-arguments), Fbeta.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/symbol_tree/symbol_tree.py:100: [R1725(super-with-arguments), FieldFinder.visit_Attribute] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/symbol_tree/symbol_tree.py:103: [R1725(super-with-arguments), FieldFinder.visit_Attribute] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/symbol_tree/symbol_tree.py:98: [R1725(super-with-arguments), FieldFinder.visit_Attribute] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/basic.py:66: [R1725(super-with-arguments), Flatten.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/parallel/distributed/flatten_grad_buffer.py:158: [R1725(super-with-arguments), FlattenGradBuffer.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_flops_collector.py:92: [R1725(super-with-arguments), FlopsUtilizationCollector.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:281: [R1725(super-with-arguments), ForwardValueAndGrad.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/grad_freeze.py:54: [R1725(super-with-arguments), FreezeOpt.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/common/namer.py:272: [R1725(super-with-arguments), FunctionNamer.add_name] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/common/namer.py:262: [R1725(super-with-arguments), FunctionNamer.get_name] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/rnns.py:757: [R1725(super-with-arguments), GRU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/gamma.py:172: [R1725(super-with-arguments), Gamma.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:230: [R1725(super-with-arguments), GenerateRandBatch.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/geometric.py:149: [R1725(super-with-arguments), Geometric.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:536: [R1725(super-with-arguments), GetModelFromJson2Col.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:494: [R1725(super-with-arguments), GetNextSingleOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:579: [R1725(super-with-arguments), GetOffloadModel.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/ast_helpers/ast_finder.py:225: [R1725(super-with-arguments), GetPropertyOfObj.visit_Assign] Consider using Python 3 style super() without arguments mindspore/python/mindspore/parallel/nn/parallel_cell_wrapper.py:268: [R1725(super-with-arguments), GradAccumulation.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:609: [R1725(super-with-arguments), GradAccumulationCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/grad_accumulation.py:59: [R1725(super-with-arguments), GradientAccumulation.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/_extends/graph_kernel/model/model.py:552: [R1725(super-with-arguments), GraphKernelUnsupportedException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/group_loss_scale_manager.py:102: [R1725(super-with-arguments), GroupLossScaleManager.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/normalization.py:408: [R1725(super-with-arguments), GroupNorm.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/gumbel.py:89: [R1725(super-with-arguments), Gumbel.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/gumbel_cdf.py:83: [R1725(super-with-arguments), GumbelCDF.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/half_normal.py:104: [R1725(super-with-arguments), HalfNormal.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/hausdorff_distance.py:120: [R1725(super-with-arguments), HausdorffDistance.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:445: [R1725(super-with-arguments), HeNormal.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:396: [R1725(super-with-arguments), HeUniform.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_history.py:58: [R1725(super-with-arguments), History.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:454: [R1725(super-with-arguments), HwcToChw.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:584: [R1725(super-with-arguments), IGamma.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:149: [R1725(super-with-arguments), IdentityCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/learning_rate_schedule.py:270: [R1725(super-with-arguments), InverseDecayLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/invert.py:62: [R1725(super-with-arguments), Invert.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_relu.py:66: [R1725(super-with-arguments), J1J2ReLU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:271: [R1725(super-with-arguments), JobIdMismatchException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/grad/cell_grad.py:76: [R1725(super-with-arguments), Jvp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/lars.py:123: [R1725(super-with-arguments), LARS.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:673: [R1725(super-with-arguments), LBeta.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:203: [R1725(super-with-arguments), LGamma.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/rnns.py:862: [R1725(super-with-arguments), LSTM.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/lamb.py:255: [R1725(super-with-arguments), Lamb.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_lambda_callback.py:67: [R1725(super-with-arguments), LambdaCallback.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:490: [R1725(super-with-arguments), LambdaLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/laplace.py:100: [R1725(super-with-arguments), Laplace.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/learning_rate_schedule.py:31: [R1725(super-with-arguments), LearningRateSchedule.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_lr_scheduler_callback.py:60: [R1725(super-with-arguments), LearningRateScheduler.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/less_batch_normalization.py:126: [R1725(super-with-arguments), LessBN.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:283: [R1725(super-with-arguments), LinearLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/log_normal.py:88: [R1725(super-with-arguments), LogNormal.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/activation.py:158: [R1725(super-with-arguments), LogSigmoid.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/logistic.py:146: [R1725(super-with-arguments), Logistic.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/scipy/optimize/_lagrange.py:142: [R1725(super-with-arguments), Loss.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/loss.py:47: [R1725(super-with-arguments), Loss.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_loss_monitor.py:59: [R1725(super-with-arguments), LossMonitor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/numpy/array_creations.py:1631: [R1725(super-with-arguments), MGridClass.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:299: [R1725(super-with-arguments), MRMDefineBlobError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:311: [R1725(super-with-arguments), MRMDefineCategoryError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:293: [R1725(super-with-arguments), MRMDefineIndexError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:281: [R1725(super-with-arguments), MRMInvalidSchemaError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:194: [R1725(super-with-arguments), MRMOpenError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:203: [R1725(super-with-arguments), MRMOpenForAppendError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:305: [R1725(super-with-arguments), MRMUnsupportedSchemaError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:287: [R1725(super-with-arguments), MRMValidateDataError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:1056: [R1725(super-with-arguments), MatDet.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:1014: [R1725(super-with-arguments), MatInverse.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:832: [R1725(super-with-arguments), MatMul.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:297: [R1725(super-with-arguments), MaxPool1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:215: [R1725(super-with-arguments), MaxPool2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/mean_surface_distance.py:78: [R1725(super-with-arguments), MeanSurfaceDistance.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:1035: [R1725(super-with-arguments), MicroBatchInterleaved.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/parallel/nn/parallel_cell_wrapper.py:218: [R1725(super-with-arguments), MicroBatchInterleaved.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:82: [R1725(super-with-arguments), MindRecordException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/scipy/optimize/_bfgs.py:69: [R1725(super-with-arguments), MinimizeBfgs.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_checkpoint.py:487: [R1725(super-with-arguments), ModelCheckpoint.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/train_thor/model_thor.py:117: [R1725(super-with-arguments), ModelThor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:949: [R1725(super-with-arguments), Moments.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/momentum.py:178: [R1725(super-with-arguments), Momentum.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:612: [R1725(super-with-arguments), MultiStepLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:542: [R1725(super-with-arguments), MultiplicativeLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/nadam.py:108: [R1725(super-with-arguments), NAdam.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/learning_rate_schedule.py:193: [R1725(super-with-arguments), NaturalExpDecayLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/common/namer.py:174: [R1725(super-with-arguments), NodeNamer.get_name] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:773: [R1725(super-with-arguments), Normal.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/normal.py:161: [R1725(super-with-arguments), Normal.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/layer_distribution.py:81: [R1725(super-with-arguments), NormalPosterior.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/layer_distribution.py:44: [R1725(super-with-arguments), NormalPrior.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:473: [R1725(super-with-arguments), Normalize.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/numpy/array_creations.py:1674: [R1725(super-with-arguments), OGridClass.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_on_request_exit.py:84: [R1725(super-with-arguments), OnRequestExit.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/tft_wrapper.py:71: [R1725(super-with-arguments), OptTFTWrapper.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/optimizer.py:83: [R1725(super-with-arguments), Optimizer.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/optimizer.py:198: [R1725(super-with-arguments), Optimizer.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:619: [R1725(super-with-arguments), Orthogonal.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:167: [R1725(super-with-arguments), ParamMissError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:156: [R1725(super-with-arguments), ParamTypeError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:146: [R1725(super-with-arguments), ParamValueError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:838: [R1725(super-with-arguments), ParameterUpdate.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mindrecord/common/exceptions.py:176: [R1725(super-with-arguments), PathNotExistsError.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/perplexity.py:59: [R1725(super-with-arguments), Perplexity.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:905: [R1725(super-with-arguments), PipelineCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/parallel/nn/parallel_cell_wrapper.py:55: [R1725(super-with-arguments), PipelineCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/poisson.py:140: [R1725(super-with-arguments), Poisson.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/learning_rate_schedule.py:424: [R1725(super-with-arguments), PolynomialDecayLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:427: [R1725(super-with-arguments), PolynomialLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/power_transform.py:74: [R1725(super-with-arguments), PowerTransform.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/precision.py:58: [R1725(super-with-arguments), Precision.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:183: [R1725(super-with-arguments), ProfilerAnalyserNotExistException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:172: [R1725(super-with-arguments), ProfilerColumnNotExistException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:249: [R1725(super-with-arguments), ProfilerColumnNotSupportSortException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:194: [R1725(super-with-arguments), ProfilerDeviceIdException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:150: [R1725(super-with-arguments), ProfilerDeviceIdMismatchException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:117: [R1725(super-with-arguments), ProfilerDirNotFoundException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:44: [R1725(super-with-arguments), ProfilerException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:128: [R1725(super-with-arguments), ProfilerFileNotFoundException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:227: [R1725(super-with-arguments), ProfilerFilterConditionException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:238: [R1725(super-with-arguments), ProfilerGroupConditionException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:139: [R1725(super-with-arguments), ProfilerIOException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:205: [R1725(super-with-arguments), ProfilerOpTypeException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:106: [R1725(super-with-arguments), ProfilerParamTypeErrorException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:84: [R1725(super-with-arguments), ProfilerParamValueErrorException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:95: [R1725(super-with-arguments), ProfilerPathErrorException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:282: [R1725(super-with-arguments), ProfilerPipelineOpNotExistException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:161: [R1725(super-with-arguments), ProfilerRawFileException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:216: [R1725(super-with-arguments), ProfilerSortConditionException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/proximal_ada_grad.py:198: [R1725(super-with-arguments), ProximalAdagrad.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/radam.py:146: [R1725(super-with-arguments), RAdam.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/rmsprop.py:221: [R1725(super-with-arguments), RMSProp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/rmsprop.py:111: [R1725(super-with-arguments), RMSprop.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/rnns.py:664: [R1725(super-with-arguments), RNN.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:253: [R1725(super-with-arguments), RandomColorAdjust.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:162: [R1725(super-with-arguments), RandomHorizontalFlip.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:377: [R1725(super-with-arguments), RandomSharpness.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:196: [R1725(super-with-arguments), RandomVerticalFlip.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:132: [R1725(super-with-arguments), Range.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/_complex_relu.py:51: [R1725(super-with-arguments), ReLU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/complex_relu.py:51: [R1725(super-with-arguments), ReLU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/double/double_operators.py:1324: [R1725(super-with-arguments), ReLU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/recall.py:60: [R1725(super-with-arguments), Recall.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_reduce_lr_on_plateau.py:105: [R1725(super-with-arguments), ReduceLROnPlateau.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/math.py:107: [R1725(super-with-arguments), ReduceLogSumExp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:442: [R1725(super-with-arguments), ReflectionPad1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:500: [R1725(super-with-arguments), ReflectionPad1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:490: [R1725(super-with-arguments), ReflectionPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:557: [R1725(super-with-arguments), ReflectionPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:545: [R1725(super-with-arguments), ReflectionPad3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:626: [R1725(super-with-arguments), ReflectionPad3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:384: [R1725(super-with-arguments), ReflectionPadNd_.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:618: [R1725(super-with-arguments), ReplicationPad1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:776: [R1725(super-with-arguments), ReplicationPad1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:677: [R1725(super-with-arguments), ReplicationPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:845: [R1725(super-with-arguments), ReplicationPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:735: [R1725(super-with-arguments), ReplicationPad3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:914: [R1725(super-with-arguments), ReplicationPad3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:553: [R1725(super-with-arguments), ReplicationPadNd_.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:431: [R1725(super-with-arguments), Rescale.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/root_mean_square_surface_distance.py:79: [R1725(super-with-arguments), RootMeanSquareDistance.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/rprop.py:118: [R1725(super-with-arguments), Rprop.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/sgd.py:113: [R1725(super-with-arguments), SGD.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/optim/sgd.py:150: [R1725(super-with-arguments), SGD.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/sgd.py:170: [R1725(super-with-arguments), SGD.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/scalar_affine.py:79: [R1725(super-with-arguments), ScalarAffine.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/scipy/optimize/_lbfgs.py:27: [R1725(super-with-arguments), SearchVector.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/container.py:176: [R1725(super-with-arguments), SequentialCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/activation.py:72: [R1725(super-with-arguments), SiLU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/activation.py:115: [R1725(super-with-arguments), Sigmoid.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bijector/softplus.py:79: [R1725(super-with-arguments), Softplus.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:527: [R1725(super-with-arguments), Sparse.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/adamw.py:256: [R1725(super-with-arguments), SpeedAdamW.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/lr_scheduler.py:195: [R1725(super-with-arguments), StepLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/profiler/common/exceptions/exceptions.py:260: [R1725(super-with-arguments), StepNumNotSupportedException.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/ast_helpers/ast_finder.py:95: [R1725(super-with-arguments), StrChecker.visit_Attribute] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/ast_helpers/ast_finder.py:101: [R1725(super-with-arguments), StrChecker.visit_Name] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/student_t.py:110: [R1725(super-with-arguments), StudentT.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_summary_collector.py:243: [R1725(super-with-arguments), SummaryCollector.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/normalization.py:531: [R1725(super-with-arguments), SyncBatchNorm.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/_functions.py:87: [R1725(super-with-arguments), SyncBatchNormInner.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/op_info_register.py:530: [R1725(super-with-arguments), TBERegOp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/activation.py:314: [R1725(super-with-arguments), Tanh.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/common/namer.py:129: [R1725(super-with-arguments), TargetNamer.get_unique_name] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/thor.py:667: [R1725(super-with-arguments), ThorAscend.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/thor.py:378: [R1725(super-with-arguments), ThorGpu.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/activation.py:358: [R1725(super-with-arguments), Threshold.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_time_monitor.py:60: [R1725(super-with-arguments), TimeMonitor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/topk.py:139: [R1725(super-with-arguments), Top1CategoricalAccuracy.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/topk.py:167: [R1725(super-with-arguments), Top5CategoricalAccuracy.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/metrics/topk.py:54: [R1725(super-with-arguments), TopKCategoricalAccuracy.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:380: [R1725(super-with-arguments), TrainOneStepCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/transformed_distribution.py:106: [R1725(super-with-arguments), TransformedDistribution.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/transformer.py:826: [R1725(super-with-arguments), Transformer.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/transformer.py:714: [R1725(super-with-arguments), TransformerDecoder.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/transformer.py:639: [R1725(super-with-arguments), TransformerEncoder.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:805: [R1725(super-with-arguments), TruncatedNormal.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/dataset/engine/offload.py:498: [R1725(super-with-arguments), TypeCast.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:740: [R1725(super-with-arguments), Uniform.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/distribution/uniform.py:162: [R1725(super-with-arguments), Uniform.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/numpy/array_ops.py:961: [R1725(super-with-arguments), UniqueNet.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_early_stop.py:235: [R1725(super-with-arguments), ValueReduce.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/callback/_reduce_lr_on_plateau.py:227: [R1725(super-with-arguments), ValueReduce.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/rewrite/api/pattern_engine.py:191: [R1725(super-with-arguments), VarNode.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:683: [R1725(super-with-arguments), VarianceScaling.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:740: [R1725(super-with-arguments), VirtualDatasetCellTriple.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/grad/cell_grad.py:180: [R1725(super-with-arguments), Vjp.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/learning_rate_schedule.py:512: [R1725(super-with-arguments), WarmUpLR.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/bnn_cell_wrapper.py:69: [R1725(super-with-arguments), WithBNNLossCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:784: [R1725(super-with-arguments), WithEvalCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:191: [R1725(super-with-arguments), WithGradCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:116: [R1725(super-with-arguments), WithLossCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/common/initializer.py:349: [R1725(super-with-arguments), XavierUniform.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:286: [R1725(super-with-arguments), ZeroPad1d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:331: [R1725(super-with-arguments), ZeroPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:685: [R1725(super-with-arguments), ZeroPad2d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:376: [R1725(super-with-arguments), ZeroPad3d.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/padding.py:228: [R1725(super-with-arguments), ZeroPadNd_.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/adasum.py:181: [R1725(super-with-arguments), _AdaSum.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:575: [R1725(super-with-arguments), _AdaptivePoolNd.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/_hc_bn_impl.py:220: [R1725(super-with-arguments), _BaseBatchNormImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/_hc_conv_impl.py:119: [R1725(super-with-arguments), _BaseConvImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/_hc_dense_impl.py:105: [R1725(super-with-arguments), _BaseDenseImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_bn.py:128: [R1725(super-with-arguments), _BatchNorm.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/normalization.py:110: [R1725(super-with-arguments), _BatchNorm.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/_hc_bn_impl.py:48: [R1725(super-with-arguments), _BatchNormImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:857: [R1725(super-with-arguments), _BroadCastCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/function/clip_func.py:387: [R1725(super-with-arguments), _ClipByGlobalNorm.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:173: [R1725(super-with-arguments), _ConstantPadNd.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/conv.py:118: [R1725(super-with-arguments), _Conv.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/_hc_conv_impl.py:69: [R1725(super-with-arguments), _ConvImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_conv.py:169: [R1725(super-with-arguments), _ConvNd.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/thor_layer.py:214: [R1725(super-with-arguments), _ConvThor.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/conv.py:760: [R1725(super-with-arguments), _ConvTranspose.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/conv_variational.py:47: [R1725(super-with-arguments), _ConvVariational.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/optimizer.py:947: [R1725(super-with-arguments), _ConvertToCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/log.py:106: [R1725(super-with-arguments), _DataFormatter.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/_hc_dense_impl.py:65: [R1725(super-with-arguments), _DenseImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/probability/bnn_layers/dense_variational.py:42: [R1725(super-with-arguments), _DenseVariational.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/grad/cell_grad.py:30: [R1725(super-with-arguments), _FirstGrad.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/grad/cell_grad.py:49: [R1725(super-with-arguments), _FirstGradSingleValue.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hal/_ascend.py:27: [R1725(super-with-arguments), _HalAscend.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hal/_cpu.py:26: [R1725(super-with-arguments), _HalCPU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hal/_gpu.py:27: [R1725(super-with-arguments), _HalGPU.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/optimizer.py:961: [R1725(super-with-arguments), _IteratorLearningRate.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/grad/cell_grad.py:40: [R1725(super-with-arguments), _JvpFirstGrad.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/grad/cell_grad.py:59: [R1725(super-with-arguments), _JvpFirstGradSingleValue.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/grad/cell_grad.py:118: [R1725(super-with-arguments), _JvpInner.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:562: [R1725(super-with-arguments), _MicroBatch.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/normalization.py:39: [R1725(super-with-arguments), _NormBase.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/amp.py:162: [R1725(super-with-arguments), _OutputTo16.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/amp.py:174: [R1725(super-with-arguments), _OutputTo32.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/hc_pool.py:90: [R1725(super-with-arguments), _PoolNd.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/dual/_dual_conv_impl.py:130: [R1725(super-with-arguments), _ReDuConvImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/complex/_complex_conv_impl.py:201: [R1725(super-with-arguments), _ReImConvImpl.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:426: [R1725(super-with-arguments), _ReflectionPadNd.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/layer/padding.py:695: [R1725(super-with-arguments), _ReplicationPadNd.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/mint/nn/layer/_functions.py:194: [R1725(super-with-arguments), _SyncBatchNorm.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/boost/grad_freeze.py:169: [R1725(super-with-arguments), _TrainFreezeCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:648: [R1725(super-with-arguments), _TrainGradAccuStepCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/ops/composite/multitype_ops/getitem_impl.py:53: [R1725(super-with-arguments), _TupleSlice.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/hypercomplex/hypercomplex/uniform_operator.py:45: [R1725(super-with-arguments), _UniformOperator.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/wrap/cell_wrapper.py:521: [R1725(super-with-arguments), _VirtualDatasetCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/nn/optim/optimizer.py:981: [R1725(super-with-arguments), _WrappedWeightDecay.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/train/amp.py:641: [R1725(super-with-arguments), _add_loss_network.WithLossCell.__init__] Consider using Python 3 style super() without arguments mindspore/python/mindspore/experimental/optim/asgd.py:123: [R1728(consider-using-generator), ASGD.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/experimental/optim/adadelta.py:132: [R1728(consider-using-generator), Adadelta.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/experimental/optim/adagrad.py:137: [R1728(consider-using-generator), Adagrad.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/experimental/optim/adam.py:169: [R1728(consider-using-generator), Adam.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/experimental/optim/adamw.py:224: [R1728(consider-using-generator), AdamW.construct] Consider using a generator instead 'tuple(grad if not group.get('maximize') else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/experimental/optim/adamax.py:139: [R1728(consider-using-generator), Adamax.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/profiler/common/file_manager.py:112: [R1728(consider-using-generator), FileManager.read_csv_file_as_numpy] Consider using a generator instead 'tuple(row.get(field) for field in headers)' mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:886: [R1728(consider-using-generator), GraphSplitByPattern.recompute_fuse._get_cheap_region] Consider using a generator instead 'sum(t.get_size() for t in inputs)' mindspore/python/mindspore/experimental/optim/rmsprop.py:124: [R1728(consider-using-generator), RMSprop.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/experimental/optim/rprop.py:133: [R1728(consider-using-generator), Rprop.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/mint/optim/sgd.py:163: [R1728(consider-using-generator), SGD.construct] Consider using a generator instead 'tuple(grad if not group.get('maximize') else -grad for grad in gradients[start_id:end_id])' mindspore/python/mindspore/experimental/optim/sgd.py:131: [R1728(consider-using-generator), SGD.implementation] Consider using a generator instead 'tuple(grad if not maximize else ops.neg(grad) for grad in gradients[start_id:end_id])' mindspore/python/mindspore/_extends/graph_kernel/model/graph_parallel.py:225: [R1728(consider-using-generator), ScheduleAnalyzer.pipeline_fusion_analyze] Consider using a generator instead 'sum(simple_indicators[idx] for idx in cls)' mindspore/python/mindspore/numpy/utils_const.py:158: [R1728(consider-using-generator), _can_broadcast] Consider using a generator instead 'max(len(it) for it in shapes)' mindspore/python/mindspore/numpy/utils_const.py:386: [R1728(consider-using-generator), _canonicalize_axis] Consider using a generator instead 'tuple(canonicalizer(axis) for axis in axis)' mindspore/python/mindspore/numpy/utils_const.py:422: [R1728(consider-using-generator), _expanded_shape] Consider using a generator instead 'tuple(axis_size if i == axis else 1 for i in range(ndim))' mindspore/python/mindspore/nn/layer/padding.py:138: [R1728(consider-using-generator), _get_begin_size] Consider using a generator instead 'tuple(int(-i) for i in begin)' mindspore/python/mindspore/nn/layer/padding.py:137: [R1728(consider-using-generator), _get_begin_size] Consider using a generator instead 'tuple(shape[i] + begin[i] + end[i] for i in range(len(shape)))' mindspore/python/mindspore/numpy/array_ops.py:1639: [R1728(consider-using-generator), _get_flip_end] Consider using a generator instead 'tuple(-shape[i] - 1 if i in axes else shape[i] + 1 for i in range(ndim))' mindspore/python/mindspore/numpy/array_ops.py:1634: [R1728(consider-using-generator), _get_flip_start] Consider using a generator instead 'tuple(shape[i] - 1 if i in axes else 0 for i in range(ndim))' mindspore/python/mindspore/numpy/array_ops.py:1644: [R1728(consider-using-generator), _get_flip_strides] Consider using a generator instead 'tuple(-1 if i in axes else 1 for i in range(ndim))' mindspore/python/mindspore/numpy/array_ops.py:1150: [R1728(consider-using-generator), _get_moved_shape] Consider using a generator instead 'tuple(shape[i] for i in perm)' mindspore/python/mindspore/numpy/utils_const.py:143: [R1728(consider-using-generator), _infer_out_shape] Consider using a generator instead 'max(len(it) for it in shapes)' mindspore/python/mindspore/numpy/array_ops.py:1473: [R1728(consider-using-generator), convert_neg_indices] Consider using a generator instead 'tuple(canonicalizer(axis) for axis in indices)' mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py:826: [R1728(consider-using-generator), infer_out_shape] Consider using a generator instead 'max(len(it) for it in shapes)' mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py:415: [R1728(consider-using-generator), slice2indices] Consider using a generator instead 'tuple(grid.size if j == t else 1 for t in range(ndim))' mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:1292: [R1729(use-a-generator), GraphSplitGpu.pattern_fuse._link_csr] Use a generator instead 'any(op.output in fuse_tensor for op in a.ops)' mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:280: [R1729(use-a-generator), ReshapeElimChecker.check] Use a generator instead 'all(op not in self.exc_bwd for op in ops)' mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:276: [R1729(use-a-generator), ReshapeElimChecker.check] Use a generator instead 'all(op not in self.exc_fwd for op in ops)' mindspore/python/mindspore/train/amp.py:314: [R1729(use-a-generator), _need_removed_cast_pair] Use a generator instead 'any(n.get_node_type() == ms.rewrite.NodeType.ControlFlow for n in middle_nodes)' mindspore/python/mindspore/_extends/graph_kernel/model/model.py:542: [R1731(consider-using-max-builtin), AlignShape.visit] Consider using 'align_dim = max(align_dim, len(t.shape))' instead of unnecessary if block mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:472: [R1731(consider-using-max-builtin), GraphSplitByPattern.Area.fuse._update_pattern] Consider using 'self.pattern = max(self.pattern, area.pattern)' instead of unnecessary if block mindspore/python/mindspore/_extends/graph_kernel/model/graph_parallel.py:114: [R1731(consider-using-max-builtin), ScheduleAnalyzer.default_analyze._cal_default_space] Consider using 'space = max(space, size)' instead of unnecessary if block mindspore/python/mindspore/_extends/graph_kernel/model/graph_parallel.py:279: [R1731(consider-using-max-builtin), block_parallel_estimate] Consider using 'max_weight = max(max_weight, s.block_weight)' instead of unnecessary if block metadef/error_manager/stub/gen_stubapi.py:187: [R1732(consider-using-with), H2CC.__init__] Consider using 'with' for resource-allocating operations metadef/error_manager/stub/gen_stubapi.py:189: [R1732(consider-using-with), H2CC.__init__] Consider using 'with' for resource-allocating operations metadef/proto/stub/gen_stubapi.py:163: [R1732(consider-using-with), H2CC.__init__] Consider using 'with' for resource-allocating operations metadef/proto/stub/gen_stubapi.py:165: [R1732(consider-using-with), H2CC.__init__] Consider using 'with' for resource-allocating operations metadef/tests/stub/gen_stubapi.py:493: [R1732(consider-using-with), H2CC.__init__] Consider using 'with' for resource-allocating operations metadef/tests/stub/gen_stubapi.py:495: [R1732(consider-using-with), H2CC.__init__] Consider using 'with' for resource-allocating operations mindspore/python/mindspore/mindrecord/tools/imagenet_to_mr.py:199: [R1732(consider-using-with), ImageNetToMR._get_imagenet_as_dict] Consider using 'with' for resource-allocating operations mindspore/python/mindspore/dataset/utils/line_reader.py:105: [R1732(consider-using-with), LineReader.readline] Consider using 'with' for resource-allocating operations mindspore/python/mindspore/parallel/_cost_model_context.py:38: [R1732(consider-using-with), _CostModelContext.__new__] Consider using 'with' for resource-allocating operations mindspore/python/mindspore/log.py:590: [R1732(consider-using-with), _setup_logger] Consider using 'with' for resource-allocating operations mindspore/python/mindspore/train/metrics/hausdorff_distance.py:179: [R1734(use-list-literal), HausdorffDistance._create_space_bounding_box] Consider using [] instead of list() mindspore/python/mindspore/train/metrics/hausdorff_distance.py:180: [R1734(use-list-literal), HausdorffDistance._create_space_bounding_box] Consider using [] instead of list() mindspore/python/mindspore/train/callback/_landscape.py:672: [R1734(use-list-literal), SummaryLandscape._calc_coefs] Consider using [] instead of list() mindspore/python/mindspore/train/callback/_landscape.py:674: [R1734(use-list-literal), SummaryLandscape._calc_coefs] Consider using [] instead of list() mindspore/python/mindspore/train/callback/_landscape.py:696: [R1734(use-list-literal), SummaryLandscape._cont_loss] Consider using [] instead of list() mindspore/python/mindspore/train/callback/_landscape.py:530: [R1734(use-list-literal), SummaryLandscape._cont_loss_wrapper] Consider using [] instead of list() mindspore/python/mindspore/train/callback/_landscape.py:626: [R1734(use-list-literal), SummaryLandscape._reshape_random_vector] Consider using [] instead of list() mindspore/python/mindspore/train/callback/_landscape.py:610: [R1734(use-list-literal), SummaryLandscape._reshape_vector] Consider using [] instead of list() mindspore/python/mindspore/numpy/utils_const.py:142: [R1734(use-list-literal), _infer_out_shape] Consider using [] instead of list() mindspore/python/mindspore/train/summary/summary_record.py:79: [R1734(use-list-literal), _record_summary_tensor_data] Consider using [] instead of list() mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py:754: [R1734(use-list-literal), filter_expanded_dims] Consider using [] instead of list() mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py:825: [R1734(use-list-literal), infer_out_shape] Consider using [] instead of list() mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py:403: [R1734(use-list-literal), slice2indices] Consider using [] instead of list() mindspore/python/mindspore/ops/composite/multitype_ops/_constexpr_utils.py:419: [R1734(use-list-literal), slice2indices] Consider using [] instead of list() mindspore/python/mindspore/experimental/optim/asgd.py:100: [R1735(use-dict-literal), ASGD.__init__] Consider using '{"lr": lr, "lambd": lambd, "alpha": alpha, "t0": t0, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/adadelta.py:114: [R1735(use-dict-literal), Adadelta.__init__] Consider using '{"lr": lr, "rho": rho, "eps": eps, "weight_decay": weight_decay, "maximize": maximize, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/adagrad.py:114: [R1735(use-dict-literal), Adagrad.__init__] Consider using '{"lr": lr, "lr_decay": lr_decay, "eps": eps, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/adam.py:146: [R1735(use-dict-literal), Adam.__init__] Consider using '{"lr": lr, "betas": betas, "eps": eps, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/adamw.py:191: [R1735(use-dict-literal), AdamW.__init__] Consider using '{"lr": lr, "betas": betas, "eps": eps, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/adamax.py:117: [R1735(use-dict-literal), Adamax.__init__] Consider using '{"lr": lr, "betas": betas, "eps": eps, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/_extends/graph_kernel/model/model_builder.py:133: [R1735(use-dict-literal), CompositeGraph.load._attr_of] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:380: [R1735(use-dict-literal), GraphSplitByPattern.Area.__init__] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/_extends/graph_kernel/model/graph_split.py:381: [R1735(use-dict-literal), GraphSplitByPattern.Area.__init__] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/nadam.py:106: [R1735(use-dict-literal), NAdam.__init__] Consider using '{"lr": lr, "betas": betas, "eps": eps, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/rewrite/node/node.py:1172: [R1735(use-dict-literal), Node._get_normalized_args] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:204: [R1735(use-dict-literal), OpAnalyser.combine_performance_data] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/radam.py:140: [R1735(use-dict-literal), RAdam.__init__] Consider using '{"lr": lr, "betas": betas, "eps": eps, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/rmsprop.py:102: [R1735(use-dict-literal), RMSprop.__init__] Consider using '{"lr": lr, "momentum": momentum, "alpha": alpha, "eps": eps, "centered": centered, ... }' instead of a call to 'dict'. mindspore/python/mindspore/profiler/common/registry.py:25: [R1735(use-dict-literal), Register.__init__] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/rprop.py:112: [R1735(use-dict-literal), Rprop.__init__] Consider using '{"lr": lr, "etas": etas, "step_sizes": step_sizes, "maximize": maximize, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/sgd.py:110: [R1735(use-dict-literal), SGD.__init__] Consider using '{"lr": lr, "momentum": momentum, "dampening": dampening, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/mint/optim/sgd.py:145: [R1735(use-dict-literal), SGD.__init__] Consider using '{"lr": lr, "momentum": momentum, "weight_decay": weight_decay, "dampening": dampening, ... }' instead of a call to 'dict'. mindspore/python/mindspore/experimental/optim/adamw.py:252: [R1735(use-dict-literal), SpeedAdamW.__init__] Consider using '{"lr": lr, "betas": betas, "eps": eps, "weight_decay": weight_decay, ... }' instead of a call to 'dict'. mindspore/python/mindspore/profiler/common/struct_type.py:50: [R1735(use-dict-literal), StructType.sizeof] Consider using '{"CHAR": 1, "UINT8": 1, "UINT16": 2, "UINT32": 4, "UINT64": 8}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_summary_collector.py:1187: [R1735(use-dict-literal), SummaryCollector._collect_eval_lineage] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_summary_collector.py:979: [R1735(use-dict-literal), SummaryCollector._collect_train_lineage] Consider using '{"ckpt": ckpt_file_path}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_summary_collector.py:440: [R1735(use-dict-literal), SummaryCollector._process_specified_data] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_summary_collector.py:644: [R1735(use-dict-literal), SummaryCollector._save_model_params] Consider using '{"name": param.name, "data": param_data}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_landscape.py:702: [R1735(use-dict-literal), SummaryLandscape._cont_loss] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_landscape.py:458: [R1735(use-dict-literal), SummaryLandscape._create_landscape_by_pca] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_landscape.py:561: [R1735(use-dict-literal), SummaryLandscape._create_landscape_by_random] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_landscape.py:764: [R1735(use-dict-literal), SummaryLandscape._get_metrics] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/train/callback/_landscape.py:356: [R1735(use-dict-literal), SummaryLandscape._list_landscapes] Consider using '{"proz": 0.2, "landscape_size": data['landscape_size'], "device_ids": device_ids, ... }' instead of a call to 'dict'. mindspore/python/mindspore/train/summary/summary_record.py:483: [R1735(use-dict-literal), SummaryRecord._initialize] Consider using '{"summary": self.file_info.get('file_name'), "lineage": get_event_file_name(self.file_prefix, '_lineage', time_second), ... }' instead of a call to 'dict'. mindspore/python/mindspore/train/summary/summary_record.py:329: [R1735(use-dict-literal), SummaryRecord.add_value] Consider using '{"tag": name, "value": np_value}' instead of a call to 'dict'. mindspore/python/mindspore/train/summary/summary_record.py:342: [R1735(use-dict-literal), SummaryRecord.add_value] Consider using '{"tag": name, "value": value.SerializeToString()}' instead of a call to 'dict'. mindspore/python/mindspore/train/summary/summary_record.py:337: [R1735(use-dict-literal), SummaryRecord.add_value] Consider using '{"value": value.SerializeToString()}' instead of a call to 'dict'. mindspore/python/mindspore/train/summary/summary_record.py:340: [R1735(use-dict-literal), SummaryRecord.add_value] Consider using '{"value": value}' instead of a call to 'dict'. mindspore/python/mindspore/mindrecord/common/exceptions.py:30: [R1735(use-dict-literal), ] Consider using '{"UnknownError": [0, 'Unknown Error.'], "ParamTypeError": [1, 'Param type is error.'], ... }' instead of a call to 'dict'. mindspore/python/mindspore/common/initializer.py:29: [R1735(use-dict-literal), ] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/log.py:661: [R1735(use-dict-literal), _LogActionOnce] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/ops_generate/gen_custom_ops.py:45: [R1735(use-dict-literal), generate_custom_op_def] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/ops_generate/common/gen_utils.py:139: [R1735(use-dict-literal), safe_load_yaml_from_dir] Consider using '{}' instead of a call to 'dict'. mindspore/python/mindspore/_extends/graph_kernel/model/model.py:134: [R1736(unnecessary-list-index-lookup), PrimLib.Prim.default_elemwise_broadcast_relation] Unnecessary list index lookup, use '_' instead mindspore/python/mindspore/train/callback/_landscape.py:536: [R1736(unnecessary-list-index-lookup), SummaryLandscape._cont_loss_wrapper] Unnecessary list index lookup, use '_' instead mindspore/python/mindspore/dataset/vision/utils.py:1141: [R1736(unnecessary-list-index-lookup), VideoDecoder.get_frames_at] Unnecessary list index lookup, use 'frame_index' instead mindspore/python/mindspore/numpy/array_creations.py:2578: [R1736(unnecessary-list-index-lookup), _make_stat_length] Unnecessary list index lookup, use '_' instead mindspore/python/mindspore/numpy/array_creations.py:2578: [R1736(unnecessary-list-index-lookup), _make_stat_length] Unnecessary list index lookup, use '_' instead metadef/error_manager/stub/gen_stubapi.py:100: [W0105(pointless-string-statement), ] String statement has no effect metadef/error_manager/stub/gen_stubapi.py:18: [W0105(pointless-string-statement), ] String statement has no effect metadef/proto/stub/gen_stubapi.py:18: [W0105(pointless-string-statement), ] String statement has no effect metadef/proto/stub/gen_stubapi.py:79: [W0105(pointless-string-statement), ] String statement has no effect metadef/tests/stub/gen_stubapi.py:18: [W0105(pointless-string-statement), ] String statement has no effect metadef/tests/stub/gen_stubapi.py:399: [W0105(pointless-string-statement), ] String statement has no effect mindspore/python/mindspore/dataset/vision/py_transforms_util.py:819: [W0127(self-assigning-variable), five_crop] Assigning the same variable 'size' to itself mindspore/python/mindspore/dataset/vision/py_transforms_util.py:460: [W0127(self-assigning-variable), random_crop] Assigning the same variable 'size' to itself mindspore/python/mindspore/dataset/vision/py_transforms_util.py:374: [W0127(self-assigning-variable), random_resize_crop] Assigning the same variable 'size' to itself mindspore/python/mindspore/dataset/vision/py_transforms_util.py:862: [W0127(self-assigning-variable), ten_crop] Assigning the same variable 'size' to itself mindspore/python/mindspore/train/summary/summary_record.py:369: [W0602(global-variable-not-assigned), SummaryRecord._sync_summary_data] Using global for 'SUMMARY_TENSOR_CACHE' but no assignment is done mindspore/python/mindspore/ops/_primitive_cache.py:72: [W0602(global-variable-not-assigned), _get_cache_prim._get_cache_prim_for_pynative] Using global for '_PRIM_CACHE' but no assignment is done mindspore/python/mindspore/common/hook_handle.py:33: [W0602(global-variable-not-assigned), _hook_version] Using global for '_HOOK_VERSION' but no assignment is done mindspore/python/mindspore/dataset/vision/utils.py:839: [W0602(global-variable-not-assigned), _read_from_stream_ffmpeg] Using global for '_GC_COLLECTION_INTERVAL' but no assignment is done mindspore/python/mindspore/common/seed.py:198: [W0602(global-variable-not-assigned), _update_seeds] Using global for '_KERNEL_SEED' but no assignment is done mindspore/python/mindspore/ops_generate/common/gen_utils.py:180: [W0602(global-variable-not-assigned), save_file] Using global for 'gen_file_lists' but no assignment is done mindspore/python/mindspore/common/file_system.py:85: [W0602(global-variable-not-assigned), set_mindio_server_info] Using global for 'mindio_server_info' but no assignment is done mindspore/python/mindspore/log.py:267: [W0602(global-variable-not-assigned), vlog_print] Using global for 'VLOG_INDEX' but no assignment is done mindspore/python/mindspore/log.py:267: [W0602(global-variable-not-assigned), vlog_print] Using global for 'VLOG_VALID' but no assignment is done metadef/tests/stub/gen_stubapi.py:618: [W0612(unused-variable), H2CC.h2cc] Unused variable 'start_i' mindspore/python/mindspore/graph/_parse/namespace.py:137: [W0707(raise-missing-from), ClassMemberNamespace.__getitem__] Consider explicitly re-raising using 'except KeyError as exc' and 'raise AttributeError(name) from exc' mindspore/python/mindspore/graph/_parse/namespace.py:126: [W0707(raise-missing-from), ClassMemberNamespace.__getitem__] Consider explicitly re-raising using 'except ValueError as exc' and 'raise UnboundLocalError(name) from exc' mindspore/python/mindspore/graph/_parse/namespace.py:99: [W0707(raise-missing-from), ClosureNamespace.__getitem__] Consider explicitly re-raising using 'except ValueError as exc' and 'raise UnboundLocalError(name) from exc' mindspore/python/mindspore/train/callback/_flops_collector.py:179: [W0707(raise-missing-from), FlopsUtilizationCollector._check_run_mode_valid] Consider explicitly re-raising using 'raise ValueError('FlopsUtilizationCollector is not supported because {}.'.format(e)) from e' mindspore/python/mindspore/mindrecord/tools/tfrecord_to_mr.py:279: [W0707(raise-missing-from), TFRecordToMR.tfrecord_iterator] Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError('TFRecord feature_dict parameter error.') from exc' mindspore/python/mindspore/mindrecord/tools/tfrecord_to_mr.py:247: [W0707(raise-missing-from), TFRecordToMR.tfrecord_iterator_oldversion] Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError('TFRecord feature_dict parameter error.') from exc' mindspore/python/mindspore/dataset/engine/queue.py:90: [W0707(raise-missing-from), _SharedQueue.__init__] Consider explicitly re-raising using 'raise RuntimeError('Failed to allocate shared memory for {0} elements of {1}MB: {2}'.format(self.num_seg, self.seg_size / 1024 / 1024, e)) from e' mindspore/python/mindspore/dataset/vision/utils.py:678: [W0707(raise-missing-from), _get_frame_by_cv] Consider explicitly re-raising using 'except ModuleNotFoundError as exc' and 'raise ImportError('Importing cv2 failed, try to install it by running `pip install opencv-python`.') from exc' mindspore/python/mindspore/parallel/_dp_allreduce_fusion.py:29: [W0707(raise-missing-from), _load_lib] Consider explicitly re-raising using 'except Exception as exc' and 'raise RuntimeError('Get hccl lib error') from exc' mindspore/python/mindspore/log.py:356: [W0707(raise-missing-from), _make_directory] Consider explicitly re-raising using 'except PermissionError as exc' and 'raise TypeError('No write permission on the directory `{path}`.') from exc' mindspore/python/mindspore/nn/probability/bnn_layers/_util.py:40: [W0707(raise-missing-from), check_posterior] Consider explicitly re-raising using 'except TypeError as exc' and 'raise TypeError(f'The type of `{arg_name}` must be `NormalPosterior`') from exc' mindspore/python/mindspore/dataset/vision/py_transforms_util.py:111: [W0707(raise-missing-from), decode] Consider explicitly re-raising using 'raise ValueError('{0}\n: Failed to decode given image.'.format(e)) from e' mindspore/python/mindspore/dataset/vision/py_transforms_util.py:113: [W0707(raise-missing-from), decode] Consider explicitly re-raising using 'raise ValueError('{0}\n: Failed to decode, Image might already be decoded.'.format(e)) from e' mindspore/python/mindspore/dataset/utils/browse_dataset.py:110: [W0707(raise-missing-from), imshow_det_bbox] Consider explicitly re-raising using 'except ModuleNotFoundError as exc' and 'raise ImportError('Importing cv2 failed, try to install it by running `pip install opencv-python`.') from exc' mindspore/python/mindspore/mindrecord/core/shardutils.py:179: [W0707(raise-missing-from), populate_data._render_raw] Consider explicitly re-raising using 'except ValueError as exc' and 'raise MRMUnsupportedSchemaError('Shape in schema is illegal.') from exc' mindspore/python/mindspore/mindrecord/tools/cifar10.py:113: [W0707(raise-missing-from), restricted_loads] Consider explicitly re-raising using 'except Exception as exc' and 'raise RuntimeError('Not a valid Cifar10 Dataset.') from exc' mindspore/python/mindspore/mindrecord/tools/cifar100.py:65: [W0707(raise-missing-from), restricted_loads] Consider explicitly re-raising using 'except Exception as exc' and 'raise RuntimeError('Not a valid Cifar100 Dataset.') from exc' mindspore/python/mindspore/mindrecord/tools/cifar10.py:117: [W0707(raise-missing-from), restricted_loads] Consider explicitly re-raising using 'except Exception as exc' and 'raise RuntimeError('Unexpected error while Unpickling Cifar10 Dataset.') from exc' mindspore/python/mindspore/mindrecord/tools/cifar100.py:69: [W0707(raise-missing-from), restricted_loads] Consider explicitly re-raising using 'except Exception as exc' and 'raise RuntimeError('Unexpected error while Unpickling Cifar100 Dataset.') from exc' mindspore/python/mindspore/mindrecord/tools/cifar10.py:115: [W0707(raise-missing-from), restricted_loads] Consider explicitly re-raising using 'except UnicodeDecodeError as exc' and 'raise RuntimeError('Not a valid Cifar10 Dataset.') from exc' mindspore/python/mindspore/mindrecord/tools/cifar100.py:67: [W0707(raise-missing-from), restricted_loads] Consider explicitly re-raising using 'except UnicodeDecodeError as exc' and 'raise RuntimeError('Not a valid Cifar100 Dataset.') from exc' mindspore/python/mindspore/dataset/vision/py_transforms_util.py:611: [W0707(raise-missing-from), to_type] Consider explicitly re-raising using 'except Exception as exc' and 'raise RuntimeError('output_type: ' + str(output_type) + ' is not a valid datatype.') from exc' mindspore/python/mindspore/train/callback/_flops_collector.py:177: [W0718(broad-exception-caught), FlopsUtilizationCollector._check_run_mode_valid] Catching too general exception Exception mindspore/python/mindspore/dataset/transforms/py_transforms_util.py:203: [W0718(broad-exception-caught), FuncWrapper.__call__] Catching too general exception Exception mindspore/python/mindspore/dataset/transforms/py_transforms_util.py:259: [W0718(broad-exception-caught), FuncWrapper.to_json] Catching too general exception Exception mindspore/python/mindspore/dataset/engine/datasets.py:3470: [W0718(broad-exception-caught), _worker_loop] Catching too general exception Exception mindspore/python/mindspore/dataset/engine/datasets.py:3479: [W0718(broad-exception-caught), _worker_loop] Catching too general exception Exception mindspore/python/mindspore/dataset/transforms/py_transforms_util.py:66: [W0718(broad-exception-caught), compose] Catching too general exception Exception mindspore/python/mindspore/graph/_parse/parser.py:242: [W0718(broad-exception-caught), resolve_symbol] Catching too general exception Exception metadef/error_manager/stub/gen_stubapi.py:303: [W1201(logging-not-lazy), H2CC.h2cc] Use lazy % formatting in logging functions metadef/tests/stub/gen_stubapi.py:654: [W1201(logging-not-lazy), H2CC.h2cc] Use lazy % formatting in logging functions metadef/error_manager/stub/gen_stubapi.py:646: [W1201(logging-not-lazy), main] Use lazy % formatting in logging functions mindspore/python/mindspore/train/callback/_checkpoint.py:428: [W1309(f-string-without-interpolation), CheckpointConfig._handle_append_info] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:115: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.__getitem__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:117: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.__getitem__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:120: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.__getitem__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:124: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.__getitem__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:85: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.__init__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:91: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.__init__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:93: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.__init__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:166: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.slice_by_tensor_index] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/hal/contiguous_tensors_handle.py:169: [W1309(f-string-without-interpolation), ContiguousTensorsHandle.slice_by_tensor_index] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/op_def_py/custom_op_prim_py_generator.py:104: [W1309(f-string-without-interpolation), CustomOpPrimPyGenerator._generate_init_code] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/op_def_py/custom_op_prim_py_generator.py:105: [W1309(f-string-without-interpolation), CustomOpPrimPyGenerator._generate_init_code] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/op_def_py/custom_op_prim_py_generator.py:107: [W1309(f-string-without-interpolation), CustomOpPrimPyGenerator._generate_init_code] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/parallel/shard.py:135: [W1309(f-string-without-interpolation), Layout.__init__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/parallel/shard.py:143: [W1309(f-string-without-interpolation), Layout.__init__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/parallel/shard.py:145: [W1309(f-string-without-interpolation), Layout.__init__] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/experimental/map_parameter.py:145: [W1309(f-string-without-interpolation), MapParameter._check_map_parameter_args] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/experimental/map_parameter.py:148: [W1309(f-string-without-interpolation), MapParameter._check_map_parameter_args] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/experimental/map_parameter.py:151: [W1309(f-string-without-interpolation), MapParameter._check_map_parameter_args] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/train/callback/_checkpoint.py:676: [W1309(f-string-without-interpolation), ModelCheckpoint._save_ckpt] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/train/callback/_checkpoint.py:687: [W1309(f-string-without-interpolation), ModelCheckpoint._save_ckpt] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:119: [W1309(f-string-without-interpolation), OpAnalyser.get_activity_op_info] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:220: [W1309(f-string-without-interpolation), OpAnalyser.get_device_target_filename] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:223: [W1309(f-string-without-interpolation), OpAnalyser.get_device_target_filename] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:225: [W1309(f-string-without-interpolation), OpAnalyser.get_device_target_filename] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:227: [W1309(f-string-without-interpolation), OpAnalyser.get_device_target_filename] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:229: [W1309(f-string-without-interpolation), OpAnalyser.get_device_target_filename] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/experimental/optim/optimizer.py:202: [W1309(f-string-without-interpolation), Optimizer._build_single_lr] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_context.py:398: [W1309(f-string-without-interpolation), ProfilerContext.step_list] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_context.py:403: [W1309(f-string-without-interpolation), ProfilerContext.step_list] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_path_manager.py:62: [W1309(f-string-without-interpolation), ProfilerPathManager.init] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/profiler/common/profiler_path_manager.py:142: [W1309(f-string-without-interpolation), ProfilerPathManager.move_db_file] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/parallel/shard.py:368: [W1309(f-string-without-interpolation), Shard._check_layout_inner_type] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/parallel/shard.py:387: [W1309(f-string-without-interpolation), Shard._check_tuple_strategy] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/train/summary/summary_record.py:500: [W1309(f-string-without-interpolation), SummaryRecord._add_summary_tensor_data] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/rewrite/symbol_tree/symbol_tree.py:340: [W1309(f-string-without-interpolation), SymbolTree._get_valid_import_info] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/rewrite/symbol_tree/symbol_tree.py:440: [W1309(f-string-without-interpolation), SymbolTree.insert_to_ast_while_insert_node] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/template_utils.py:104: [W1309(f-string-without-interpolation), ] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/template_utils.py:120: [W1309(f-string-without-interpolation), ] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/template_utils.py:135: [W1309(f-string-without-interpolation), ] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/template_utils.py:144: [W1309(f-string-without-interpolation), ] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/template_utils.py:166: [W1309(f-string-without-interpolation), ] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/template_utils.py:94: [W1309(f-string-without-interpolation), ] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/template_utils.py:98: [W1309(f-string-without-interpolation), ] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/graph/dynamic_shape/auto_dynamic_shape.py:139: [W1309(f-string-without-interpolation), _AutoDynamicShapeManager.update_phase_and_compile_args] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/graph/dynamic_shape/auto_dynamic_shape.py:143: [W1309(f-string-without-interpolation), _AutoDynamicShapeManager.update_phase_and_compile_args] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/layer/rnn_cells.py:68: [W1309(f-string-without-interpolation), _check_lstmcell_init.wrapper] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/layer/rnn_cells.py:72: [W1309(f-string-without-interpolation), _check_lstmcell_init.wrapper] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/run_check/run_check.py:37: [W1309(f-string-without-interpolation), _check_mul] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/train/summary/_lineage_adapter.py:41: [W1309(f-string-without-interpolation), _get_lineage_content] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/runtime/device.py:25: [W1309(f-string-without-interpolation), _is_supported] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:44: [W1309(f-string-without-interpolation), cast_to_tensor] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:48: [W1309(f-string-without-interpolation), cast_to_tensor] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/graph/_utils/cell_attr_register.py:54: [W1309(f-string-without-interpolation), cell_attr_register.wrap_cell.deco] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/graph/_utils/cell_attr_register.py:61: [W1309(f-string-without-interpolation), cell_attr_register.wrap_cell.deco] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:272: [W1309(f-string-without-interpolation), check_distribution_name] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:132: [W1309(f-string-without-interpolation), check_greater] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:108: [W1309(f-string-without-interpolation), check_greater_zero] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:151: [W1309(f-string-without-interpolation), check_prob] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:190: [W1309(f-string-without-interpolation), check_rank] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/nn/probability/distribution/_utils/utils.py:169: [W1309(f-string-without-interpolation), check_sum_equal_one] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/device_context/ascend/device.py:40: [W1309(f-string-without-interpolation), device_count] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/device_context/gpu/device.py:38: [W1309(f-string-without-interpolation), device_count] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/onnx/onnx_export.py:92: [W1309(f-string-without-interpolation), export] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/aclnn/gen_aclnn_implement.py:223: [W1309(f-string-without-interpolation), generate_aclnn_reg_code] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops_generate/common/gen_utils.py:238: [W1309(f-string-without-interpolation), get_op_description] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/device_context/ascend/device.py:58: [W1309(f-string-without-interpolation), is_available] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/device_context/cpu/device.py:36: [W1309(f-string-without-interpolation), is_available] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/device_context/gpu/device.py:56: [W1309(f-string-without-interpolation), is_available] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/graph/lazy_inline.py:225: [W1309(f-string-without-interpolation), lazy_inline.lazy_inline_wrap.lazy_inline_deco] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/graph/lazy_inline.py:234: [W1309(f-string-without-interpolation), lazy_inline.lazy_inline_wrap.lazy_inline_deco] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/graph/lazy_inline.py:241: [W1309(f-string-without-interpolation), lazy_inline.lazy_inline_wrap.lazy_inline_deco] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/ops/function/debug_func.py:177: [W1309(f-string-without-interpolation), tensordump] Using an f-string that does not have any interpolated variables mindspore/python/mindspore/train/summary/writer.py:54: [W1514(unspecified-encoding), BaseWriter.writer] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_cluster_monitor.py:144: [W1514(unspecified-encoding), ClusterMonitor.begin] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_cluster_monitor.py:183: [W1514(unspecified-encoding), ClusterMonitor.step_end] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_cluster_monitor.py:195: [W1514(unspecified-encoding), ClusterMonitor.step_end] Using open without explicitly specifying an encoding mindspore/python/mindspore/profiler/common/file_manager.py:42: [W1514(unspecified-encoding), FileManager.read_file_content] Using open without explicitly specifying an encoding metadef/error_manager/stub/gen_stubapi.py:187: [W1514(unspecified-encoding), H2CC.__init__] Using open without explicitly specifying an encoding metadef/error_manager/stub/gen_stubapi.py:189: [W1514(unspecified-encoding), H2CC.__init__] Using open without explicitly specifying an encoding metadef/proto/stub/gen_stubapi.py:163: [W1514(unspecified-encoding), H2CC.__init__] Using open without explicitly specifying an encoding metadef/proto/stub/gen_stubapi.py:165: [W1514(unspecified-encoding), H2CC.__init__] Using open without explicitly specifying an encoding metadef/tests/stub/gen_stubapi.py:493: [W1514(unspecified-encoding), H2CC.__init__] Using open without explicitly specifying an encoding metadef/tests/stub/gen_stubapi.py:495: [W1514(unspecified-encoding), H2CC.__init__] Using open without explicitly specifying an encoding mindspore/python/mindspore/mindrecord/tools/imagenet_to_mr.py:167: [W1514(unspecified-encoding), ImageNetToMR._get_imagenet_as_dict] Using open without explicitly specifying an encoding mindspore/python/mindspore/dataset/utils/line_reader.py:105: [W1514(unspecified-encoding), LineReader.readline] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_on_request_exit.py:290: [W1514(unspecified-encoding), OnRequestExit._check_config_info] Using open without explicitly specifying an encoding mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:126: [W1514(unspecified-encoding), OpAnalyser.get_activity_op_info] Using open without explicitly specifying an encoding mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:91: [W1514(unspecified-encoding), OpAnalyser.get_cpu_op_detail_info] Using open without explicitly specifying an encoding mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:106: [W1514(unspecified-encoding), OpAnalyser.get_execute_times] Using open without explicitly specifying an encoding mindspore/python/mindspore/profiler/common/profiler_op_analyse.py:71: [W1514(unspecified-encoding), OpAnalyser.get_framework_summary] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_summary_collector.py:613: [W1514(unspecified-encoding), SummaryCollector._save_metadata] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_summary_collector.py:625: [W1514(unspecified-encoding), SummaryCollector._save_metadata] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_landscape.py:510: [W1514(unspecified-encoding), SummaryLandscape._cont_loss_wrapper] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_landscape.py:350: [W1514(unspecified-encoding), SummaryLandscape._list_landscapes] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_landscape.py:323: [W1514(unspecified-encoding), SummaryLandscape.gen_landscapes_with_multi_process] Using open without explicitly specifying an encoding mindspore/python/mindspore/train/callback/_landscape.py:332: [W1514(unspecified-encoding), SummaryLandscape.gen_landscapes_with_multi_process] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/template_utils.py:32: [W1514(unspecified-encoding), Template.load_from_file] Using open without explicitly specifying an encoding mindspore/python/mindspore/log.py:86: [W1514(unspecified-encoding), _MultiCompatibleRotatingFileHandler.doRollover] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/graph_kernel/splitter.py:87: [W1514(unspecified-encoding), _load_repository] Using open without explicitly specifying an encoding mindspore/python/mindspore/log.py:634: [W1514(unspecified-encoding), _setup_logger] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/gen_utils.py:201: [W1514(unspecified-encoding), clear_obsolete_auto_gen_files] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/gen_utils.py:209: [W1514(unspecified-encoding), clear_obsolete_auto_gen_files] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/custom.py:1064: [W1514(unspecified-encoding), custom_train._get_optimized_info_path] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/custom.py:1067: [W1514(unspecified-encoding), custom_train._get_optimized_info_path] Using open without explicitly specifying an encoding .jenkins/task/config/compile_json.py:31: [W1514(unspecified-encoding), extract_and_process_lines] Using open without explicitly specifying an encoding .jenkins/task/config/compile_json.py:62: [W1514(unspecified-encoding), extract_and_process_lines] Using open without explicitly specifying an encoding mindspore/python/mindspore/profiler/common/util.py:173: [W1514(unspecified-encoding), fwrite_format] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/gen_custom_op_files.py:77: [W1514(unspecified-encoding), gen_custom_op_files] Using open without explicitly specifying an encoding mindspore/python/mindspore/profiler/common/util.py:89: [W1514(unspecified-encoding), get_cann_version] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/aclnn/gen_aclnn_implement.py:160: [W1514(unspecified-encoding), get_registed_ops] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/gen_utils.py:105: [W1514(unspecified-encoding), merge_files_to_one_file] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/gen_utils.py:108: [W1514(unspecified-encoding), merge_files_to_one_file] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/compiler.py:34: [W1514(unspecified-encoding), run_compiler] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/gen_utils.py:131: [W1514(unspecified-encoding), safe_load_yaml] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/gen_utils.py:144: [W1514(unspecified-encoding), safe_load_yaml_from_dir] Using open without explicitly specifying an encoding mindspore/python/mindspore/ops_generate/common/gen_utils.py:189: [W1514(unspecified-encoding), save_file] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/util.py:121: [W1514(unspecified-encoding), select_best] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/custom.py:827: [W1514(unspecified-encoding), update_akg_info] Using open without explicitly specifying an encoding mindspore/python/mindspore/_extends/parallel_compile/akg_compiler/build_tbe_kernel.py:454: [W1514(unspecified-encoding), update_json] Using open without explicitly specifying an encoding