From 30800bb0172923a12a942cfeffedda948ed6ef3e Mon Sep 17 00:00:00 2001 From: zhangdong Date: Thu, 21 Jul 2022 10:02:20 +0800 Subject: [PATCH] add transformer mindspore fix --- .jenkins/check/config/whitelizard.txt | 1 + .../gpu/kernel/nn/softmax_grad_gpu_kernel.h | 4 +++ mindspore/core/abstract/ops/prim_arrays.cc | 3 -- mindspore/core/abstract/ops/prim_nn.cc | 1 - mindspore/core/ops/unsorted_segment_sum.cc | 1 - .../mindspore/ops/_grad/grad_math_ops.py | 2 +- .../python/mindspore/ops/_utils/utils.py | 3 ++ .../ApproximateEqual_bprop.mindir | 28 +++++++-------- .../ops/bprop_mindir/AssignAdd_bprop.mindir | 34 ++++++++---------- .../ops/bprop_mindir/AssignSub_bprop.mindir | 34 ++++++++---------- .../ops/bprop_mindir/Equal_bprop.mindir | 18 +++++----- .../ops/bprop_mindir/FloorDiv_bprop.mindir | 34 ++++++++++-------- .../bprop_mindir/GreaterEqual_bprop.mindir | 18 +++++----- .../ops/bprop_mindir/Greater_bprop.mindir | 22 ++++++------ .../ops/bprop_mindir/IsFinite_bprop.mindir | 20 +++++------ .../ops/bprop_mindir/IsInf_bprop.mindir | 20 ++++++----- .../ops/bprop_mindir/IsNan_bprop.mindir | 20 ++++++----- .../ops/bprop_mindir/LessEqual_bprop.mindir | 22 ++++++------ .../ops/bprop_mindir/Less_bprop.mindir | 18 +++++----- .../ops/bprop_mindir/LinSpace_bprop.mindir | 28 +++++++-------- .../ops/bprop_mindir/LogicalAnd_bprop.mindir | 18 +++++----- .../ops/bprop_mindir/LogicalNot_bprop.mindir | 16 ++++----- .../ops/bprop_mindir/LogicalOr_bprop.mindir | 22 ++++++------ .../ops/bprop_mindir/Maximum_bprop.mindir | Bin 1105 -> 1067 bytes .../ops/bprop_mindir/Minimum_bprop.mindir | Bin 1105 -> 1067 bytes .../ops/bprop_mindir/NotEqual_bprop.mindir | 18 +++++----- .../ops/bprop_mindir/ReduceAll_bprop.mindir | 18 +++++----- .../ops/bprop_mindir/ReduceAny_bprop.mindir | 22 ++++++------ .../ops/bprop_mindir/Round_bprop.mindir | 12 +++---- .../ops/bprop_mindir/Sign_bprop.mindir | 12 +++---- .../ops/bprop_mindir/TruncateDiv_bprop.mindir | 30 +++++++++------- .../python/mindspore/train/dataset_helper.py | 6 ---- 32 files changed, 252 insertions(+), 253 deletions(-) diff --git a/.jenkins/check/config/whitelizard.txt b/.jenkins/check/config/whitelizard.txt index 04f8a5d3a02..d6d5f59661a 100644 --- a/.jenkins/check/config/whitelizard.txt +++ b/.jenkins/check/config/whitelizard.txt @@ -204,3 +204,4 @@ mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp32/conv_winograd_fp32 mindspore/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion/lamb_next_mv_with_decay_v1_rule.cc:mindspore::opt::MatchAdd5Pattern mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/experimental/conv_fp32_nchwx_avx512.c:conv2d_compute_fp32_nchwx_avx512 mindspore/mindspore/lite/src/litert/kernel/cpu/control/tensorlist_setitem.cc:mindspore::kernel::TensorListSetItemCPUKernel::Run +mindspore/mindspore/python/mindspore/ops/_utils/utils.py:get_broadcast_shape \ No newline at end of file diff --git a/mindspore/ccsrc/plugin/device/gpu/kernel/nn/softmax_grad_gpu_kernel.h b/mindspore/ccsrc/plugin/device/gpu/kernel/nn/softmax_grad_gpu_kernel.h index ba5c71336a3..f33962a3ac1 100644 --- a/mindspore/ccsrc/plugin/device/gpu/kernel/nn/softmax_grad_gpu_kernel.h +++ b/mindspore/ccsrc/plugin/device/gpu/kernel/nn/softmax_grad_gpu_kernel.h @@ -114,6 +114,10 @@ class SoftmaxGradGpuKernelMod : public DeprecatedNativeGpuKernelMod { MS_LOG(EXCEPTION) << "For '" << kernel_name_ << "', the number of outputs must be 1, but got " << output_num; } auto temp_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(kernel_node, 0); + if (AnfAlgo::IsShapesDynamic({temp_shape})) { + InitSizeLists(); + return true; + } std::vector input_shape(temp_shape.begin(), temp_shape.end()); auto axis = static_cast(GetAttr(kernel_node, "axis")); if (axis == -1 || axis == SizeToInt(input_shape.size())) { diff --git a/mindspore/core/abstract/ops/prim_arrays.cc b/mindspore/core/abstract/ops/prim_arrays.cc index 06519bf5286..b26756ef612 100644 --- a/mindspore/core/abstract/ops/prim_arrays.cc +++ b/mindspore/core/abstract/ops/prim_arrays.cc @@ -995,7 +995,6 @@ AbstractBasePtr InferImplConcat(const AnalysisEnginePtr &, const PrimitivePtr &p int64_t rank_base = SizeToLong(shape_base.size()); ShapeVector min_shape_base = tensor_base->shape()->min_shape(); ShapeVector max_shape_base = tensor_base->shape()->max_shape(); - CheckMinMaxShape(shape_base, &min_shape_base, &max_shape_base); primitive->set_attr("T", tensor_base->element()->BuildType()); primitive->set_attr("inputNums", MakeValue(SizeToLong(tuple_len))); @@ -1018,7 +1017,6 @@ AbstractBasePtr InferImplConcat(const AnalysisEnginePtr &, const PrimitivePtr &p int64_t rank_tensor = SizeToLong(shape_tensor.size()); ShapeVector min_shape_tensor = tensor->shape()->min_shape(); ShapeVector max_shape_tensor = tensor->shape()->max_shape(); - CheckMinMaxShape(shape_tensor, &min_shape_tensor, &max_shape_tensor); (void)CheckDtypeSame(op_name, tensor_base, tensor); if (rank_tensor != rank_base) { MS_LOG(EXCEPTION) << op_name << " can not concat element " << i << " with the first element: Wrong Rank"; @@ -1042,7 +1040,6 @@ AbstractBasePtr InferImplConcat(const AnalysisEnginePtr &, const PrimitivePtr &p auto shape = ret->shape()->shape(); auto min_shape = ret->shape()->min_shape(); auto max_shape = ret->shape()->max_shape(); - CheckMinMaxShape(shape, &min_shape, &max_shape); shape[axis_value] = all_shp; min_shape[axis_value] = min_all_shp; max_shape[axis_value] = max_all_shp; diff --git a/mindspore/core/abstract/ops/prim_nn.cc b/mindspore/core/abstract/ops/prim_nn.cc index ac3ac99b1d1..1ff66c37648 100644 --- a/mindspore/core/abstract/ops/prim_nn.cc +++ b/mindspore/core/abstract/ops/prim_nn.cc @@ -308,7 +308,6 @@ AbstractBasePtr InferImplBiasDropoutAdd(const abstract::AnalysisEnginePtr &, con ShapeVector shape = x->shape()->shape(); ShapeVector min_shape = x->shape()->min_shape(); ShapeVector max_shape = x->shape()->max_shape(); - CheckAndConvertUtils::CheckMinMaxShape(shape, &min_shape, &max_shape); auto output_shape = std::make_shared( x->element(), std::make_shared(shape, min_shape, max_shape)); AbstractBasePtrList ret = {output_shape, output_shape}; diff --git a/mindspore/core/ops/unsorted_segment_sum.cc b/mindspore/core/ops/unsorted_segment_sum.cc index e0f39d7ad55..1bcec29cf51 100644 --- a/mindspore/core/ops/unsorted_segment_sum.cc +++ b/mindspore/core/ops/unsorted_segment_sum.cc @@ -35,7 +35,6 @@ abstract::ShapePtr UnsortedSegmentSumInferShape(const PrimitivePtr &primitive, auto x_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape())[kShape]; auto x_min_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape())[kMinShape]; auto x_max_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape())[kMaxShape]; - CheckAndConvertUtils::CheckMinMaxShape(x_shape, &x_min_shape, &x_max_shape); auto x_shape_rank = SizeToLong(x_shape.size()); (void)CheckAndConvertUtils::CheckInteger("input_x size", x_shape_rank, kGreaterThan, 0, op_name); auto segment_ids_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[1]->BuildShape())[kShape]; diff --git a/mindspore/python/mindspore/ops/_grad/grad_math_ops.py b/mindspore/python/mindspore/ops/_grad/grad_math_ops.py index 8b113c4121e..dd18f590e13 100755 --- a/mindspore/python/mindspore/ops/_grad/grad_math_ops.py +++ b/mindspore/python/mindspore/ops/_grad/grad_math_ops.py @@ -180,7 +180,7 @@ def _dyn_reduced_shape(input_shape, axis): for i in axis: real_axis += ((i + input_rank) % input_rank,) axis_shape = (len(real_axis),) - return DynamicStitch()([to_array(range(input_rank)), to_array(axis)], + return DynamicStitch()([to_array(range(input_rank)), to_array(real_axis)], [input_shape, P.Fill()(ms.int32, axis_shape, 1)]) diff --git a/mindspore/python/mindspore/ops/_utils/utils.py b/mindspore/python/mindspore/ops/_utils/utils.py index 059a14f5c18..a6f0cd2958a 100644 --- a/mindspore/python/mindspore/ops/_utils/utils.py +++ b/mindspore/python/mindspore/ops/_utils/utils.py @@ -61,6 +61,9 @@ def get_broadcast_shape(x_shape, y_shape, prim_name, shape_type="", arg_name1="x broadcast_shape_back.append(x_shape[i]) elif x_shape[i] == y_shape[i]: broadcast_shape_back.append(x_shape[i]) + elif (x_shape[i] == -1 and y_shape[i] != -1 and y_shape[i] != 1) or \ + (y_shape[i] == -1 and x_shape[i] != -1 and x_shape[i] != 1): + broadcast_shape_back.append(max(x_shape[i], y_shape[i])) elif x_shape[i] == -1 or y_shape[i] == -1: broadcast_shape_back.append(-1) else: diff --git a/mindspore/python/mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir index 5e7b97c9408..3fc75a76c37 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/ApproximateEqual_bprop.mindir @@ -1,20 +1,20 @@ -0.1.1 MindSpore*1.8.0: - +0.1.1 MindSpore*1.8.0: + -bprop.31:xbprop.31:[CNode]32:1bprop.31:[CNode]32:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op21 - +bprop.12:xbprop.12:[CNode]13:1bprop.12:[CNode]13:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:-Default/S-Prim-hyper_map[zeros_like_leaf]-op8 + -bprop.31:ybprop.31:[CNode]33:3bprop.31:[CNode]33:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op22 +bprop.12:ybprop.12:[CNode]14:3bprop.12:[CNode]14:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:-Default/S-Prim-hyper_map[zeros_like_leaf]-op9  -bprop.31:[CNode]32:1 -bprop.31:[CNode]33:3bprop.31:[CNode]34:4bprop.31:[CNode]34:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op23bprop.31* +bprop.12:[CNode]13:1 +bprop.12:[CNode]14:3bprop.12:[CNode]15:4bprop.12:[CNode]15:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op10bprop.12* -bprop.31:x* +bprop.12:x* -bprop.31:y* - bprop.31:out* - bprop.31:dout2 -bprop.31:[CNode]34:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& -S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file +bprop.12:y* + bprop.12:out* + bprop.12:dout2 +bprop.12:[CNode]15:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& +S-Prim-MakeTuple:5S-Prim-MakeTuplebH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir index 1c27512ca73..8574b28f5b7 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/AssignAdd_bprop.mindir @@ -1,20 +1,16 @@ -0.1.1 MindSpore*1.8.0: - - -bprop.20:xbprop.20:[CNode]21:1bprop.20:[CNode]21:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op13 - - -bprop.20:ybprop.20:[CNode]22:3bprop.20:[CNode]22:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op14 - -bprop.20:[CNode]21:1 -bprop.20:[CNode]22:3bprop.20:[CNode]23:4bprop.20:[CNode]23:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op15bprop.20* - -bprop.20:x* - -bprop.20:y* - bprop.20:out* - bprop.20:dout2 -bprop.20:[CNode]23:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4Pb& -S-Prim-MakeTuple:5S-Prim-MakeTuplebH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file +0.1.1 MindSpore*1.8.0: + + bprop.1:xbprop.1:[CNode]2:1bprop.1:[CNode]2:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:-Default/S-Prim-hyper_map[zeros_like_leaf]-op0 + + bprop.1:ybprop.1:[CNode]3:3bprop.1:[CNode]3:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:-Default/S-Prim-hyper_map[zeros_like_leaf]-op1 + +bprop.1:[CNode]2:1 +bprop.1:[CNode]3:3bprop.1:[CNode]4:4bprop.1:[CNode]4:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op2bprop.1* + bprop.1:x* + bprop.1:y* + bprop.1:out* + bprop.1:dout2 +bprop.1:[CNode]4:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& +S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/AssignSub_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/AssignSub_bprop.mindir index dbd477ec95a..0db0c7c4680 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/AssignSub_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/AssignSub_bprop.mindir @@ -1,20 +1,16 @@ -0.1.1 MindSpore*1.8.0: - - -bprop.24:xbprop.24:[CNode]25:1bprop.24:[CNode]25:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op16 - - -bprop.24:ybprop.24:[CNode]26:3bprop.24:[CNode]26:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op17 - -bprop.24:[CNode]25:1 -bprop.24:[CNode]26:3bprop.24:[CNode]27:4bprop.24:[CNode]27:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op18bprop.24* - -bprop.24:x* - -bprop.24:y* - bprop.24:out* - bprop.24:dout2 -bprop.24:[CNode]27:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& -S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file +0.1.1 MindSpore*1.8.0: + + bprop.5:xbprop.5:[CNode]6:1bprop.5:[CNode]6:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:-Default/S-Prim-hyper_map[zeros_like_leaf]-op3 + + bprop.5:ybprop.5:[CNode]7:3bprop.5:[CNode]7:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:-Default/S-Prim-hyper_map[zeros_like_leaf]-op4 + +bprop.5:[CNode]6:1 +bprop.5:[CNode]7:3bprop.5:[CNode]8:4bprop.5:[CNode]8:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op5bprop.5* + bprop.5:x* + bprop.5:y* + bprop.5:out* + bprop.5:dout2 +bprop.5:[CNode]8:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& +S-Prim-MakeTuple:5S-Prim-MakeTuplebH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/Equal_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Equal_bprop.mindir index fd5e29288e3..3c66bd0413c 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/Equal_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/Equal_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.59:xbprop.59:[CNode]60:1bprop.59:[CNode]60:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op42 +bprop.30:xbprop.30:[CNode]31:1bprop.30:[CNode]31:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op21  -bprop.59:ybprop.59:[CNode]61:3bprop.59:[CNode]61:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op43 +bprop.30:ybprop.30:[CNode]32:3bprop.30:[CNode]32:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op22  -bprop.59:[CNode]60:1 -bprop.59:[CNode]61:3bprop.59:[CNode]62:4bprop.59:[CNode]62:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op44bprop.59* +bprop.30:[CNode]31:1 +bprop.30:[CNode]32:3bprop.30:[CNode]33:4bprop.30:[CNode]33:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op23bprop.30* -bprop.59:x* +bprop.30:x* -bprop.59:y* - bprop.59:out* - bprop.59:dout2 -bprop.59:[CNode]62:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4Pb& +bprop.30:y* + bprop.30:out* + bprop.30:dout2 +bprop.30:[CNode]33:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& S-Prim-MakeTuple:5S-Prim-MakeTuplebH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir index 5f13a8fa711..a97322a72cd 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/FloorDiv_bprop.mindir @@ -1,16 +1,20 @@ -0.1.1 MindSpore*1.8.0: - - bprop.141:xbprop.141:[CNode]142:1bprop.141:[CNode]142:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:/Default/S-Prim-hyper_map[zeros_like_leaf]-op102 - - bprop.141:ybprop.141:[CNode]143:3bprop.141:[CNode]143:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:/Default/S-Prim-hyper_map[zeros_like_leaf]-op103 - -bprop.141:[CNode]142:1 -bprop.141:[CNode]143:3bprop.141:[CNode]144:4bprop.141:[CNode]144:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op104 bprop.141* - bprop.141:x* - bprop.141:y* - bprop.141:out* -bprop.141:dout2 -bprop.141:[CNode]144:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& -S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file +0.1.1 MindSpore*1.8.0: + + +bprop.70:xbprop.70:[CNode]71:1bprop.70:[CNode]71:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op51 + + +bprop.70:ybprop.70:[CNode]72:3bprop.70:[CNode]72:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op52 + +bprop.70:[CNode]71:1 +bprop.70:[CNode]72:3bprop.70:[CNode]73:4bprop.70:[CNode]73:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op53bprop.70* + +bprop.70:x* + +bprop.70:y* + bprop.70:out* + bprop.70:dout2 +bprop.70:[CNode]73:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& +S-Prim-MakeTuple:5S-Prim-MakeTuplebH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir index bfede59bdf8..6f2d81fa527 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/GreaterEqual_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.71:xbprop.71:[CNode]72:1bprop.71:[CNode]72:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op51 +bprop.42:xbprop.42:[CNode]43:1bprop.42:[CNode]43:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op30  -bprop.71:ybprop.71:[CNode]73:3bprop.71:[CNode]73:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op52 +bprop.42:ybprop.42:[CNode]44:3bprop.42:[CNode]44:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op31  -bprop.71:[CNode]72:1 -bprop.71:[CNode]73:3bprop.71:[CNode]74:4bprop.71:[CNode]74:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op53bprop.71* +bprop.42:[CNode]43:1 +bprop.42:[CNode]44:3bprop.42:[CNode]45:4bprop.42:[CNode]45:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op32bprop.42* -bprop.71:x* +bprop.42:x* -bprop.71:y* - bprop.71:out* - bprop.71:dout2 -bprop.71:[CNode]74:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4Pb& +bprop.42:y* + bprop.42:out* + bprop.42:dout2 +bprop.42:[CNode]45:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& S-Prim-MakeTuple:5S-Prim-MakeTuplebH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/Greater_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Greater_bprop.mindir index 5de63d7f61c..646988e5ada 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/Greater_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/Greater_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.67:xbprop.67:[CNode]68:1bprop.67:[CNode]68:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op48 +bprop.38:xbprop.38:[CNode]39:1bprop.38:[CNode]39:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op27  -bprop.67:ybprop.67:[CNode]69:3bprop.67:[CNode]69:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op49 +bprop.38:ybprop.38:[CNode]40:3bprop.38:[CNode]40:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op28  -bprop.67:[CNode]68:1 -bprop.67:[CNode]69:3bprop.67:[CNode]70:4bprop.67:[CNode]70:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op50bprop.67* +bprop.38:[CNode]39:1 +bprop.38:[CNode]40:3bprop.38:[CNode]41:4bprop.38:[CNode]41:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op29bprop.38* -bprop.67:x* +bprop.38:x* -bprop.67:y* - bprop.67:out* - bprop.67:dout2 -bprop.67:[CNode]70:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& -S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file +bprop.38:y* + bprop.38:out* + bprop.38:dout2 +bprop.38:[CNode]41:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& +S-Prim-MakeTuple:5S-Prim-MakeTuplebH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/IsFinite_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/IsFinite_bprop.mindir index cf7d2ffba86..e23b49ecdc9 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/IsFinite_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/IsFinite_bprop.mindir @@ -1,14 +1,12 @@ -0.1.1 MindSpore*1.8.0: - - -bprop.28:xbprop.28:[CNode]29:1bprop.28:[CNode]29:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op19 -z -bprop.28:[CNode]29:1bprop.28:[CNode]30:3bprop.28:[CNode]30:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op20bprop.28* - -bprop.28:x* - bprop.28:out* - bprop.28:dout2 -bprop.28:[CNode]30:3:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +0.1.1 MindSpore*1.8.0: + + bprop.9:xbprop.9:[CNode]10:1bprop.9:[CNode]10:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:-Default/S-Prim-hyper_map[zeros_like_leaf]-op6 +v +bprop.9:[CNode]10:1bprop.9:[CNode]11:3bprop.9:[CNode]11:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op7bprop.9* + bprop.9:x* + bprop.9:out* + bprop.9:dout2 +bprop.9:[CNode]11:3:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:4S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/IsInf_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/IsInf_bprop.mindir index 60572fa42cf..e6f66bd83fb 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/IsInf_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/IsInf_bprop.mindir @@ -1,12 +1,14 @@ -0.1.1 MindSpore*1.8.0: - - bprop.162:xbprop.162:[CNode]163:1bprop.162:[CNode]163:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:/Default/S-Prim-hyper_map[zeros_like_leaf]-op118 - -bprop.162:[CNode]163:1bprop.162:[CNode]164:3bprop.162:[CNode]164:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op119 bprop.162* - bprop.162:x* - bprop.162:out* -bprop.162:dout2 -bprop.162:[CNode]164:3:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +0.1.1 MindSpore*1.8.0: + + +bprop.91:xbprop.91:[CNode]92:1bprop.91:[CNode]92:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op67 +z +bprop.91:[CNode]92:1bprop.91:[CNode]93:3bprop.91:[CNode]93:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op68bprop.91* + +bprop.91:x* + bprop.91:out* + bprop.91:dout2 +bprop.91:[CNode]93:3:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:4S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/IsNan_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/IsNan_bprop.mindir index 594349b426f..4265d69f3dc 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/IsNan_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/IsNan_bprop.mindir @@ -1,12 +1,14 @@ -0.1.1 MindSpore*1.8.0: - - bprop.159:xbprop.159:[CNode]160:1bprop.159:[CNode]160:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:/Default/S-Prim-hyper_map[zeros_like_leaf]-op116 - -bprop.159:[CNode]160:1bprop.159:[CNode]161:3bprop.159:[CNode]161:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op117 bprop.159* - bprop.159:x* - bprop.159:out* -bprop.159:dout2 -bprop.159:[CNode]161:3:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4Pb& +0.1.1 MindSpore*1.8.0: + + +bprop.88:xbprop.88:[CNode]89:1bprop.88:[CNode]89:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op65 +z +bprop.88:[CNode]89:1bprop.88:[CNode]90:3bprop.88:[CNode]90:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op66bprop.88* + +bprop.88:x* + bprop.88:out* + bprop.88:dout2 +bprop.88:[CNode]90:3:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& S-Prim-MakeTuple:4S-Prim-MakeTuplebH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/LessEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LessEqual_bprop.mindir index 6ce9ed38ef1..2059667a712 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/LessEqual_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/LessEqual_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.79:xbprop.79:[CNode]80:1bprop.79:[CNode]80:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op57 +bprop.50:xbprop.50:[CNode]51:1bprop.50:[CNode]51:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op36  -bprop.79:ybprop.79:[CNode]81:3bprop.79:[CNode]81:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op58 +bprop.50:ybprop.50:[CNode]52:3bprop.50:[CNode]52:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op37  -bprop.79:[CNode]80:1 -bprop.79:[CNode]81:3bprop.79:[CNode]82:4bprop.79:[CNode]82:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op59bprop.79* +bprop.50:[CNode]51:1 +bprop.50:[CNode]52:3bprop.50:[CNode]53:4bprop.50:[CNode]53:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op38bprop.50* -bprop.79:x* +bprop.50:x* -bprop.79:y* - bprop.79:out* - bprop.79:dout2 -bprop.79:[CNode]82:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& -S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file +bprop.50:y* + bprop.50:out* + bprop.50:dout2 +bprop.50:[CNode]53:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& +S-Prim-MakeTuple:5S-Prim-MakeTuplebH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/Less_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Less_bprop.mindir index cc1da76d8f3..68b0491406c 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/Less_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/Less_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.75:xbprop.75:[CNode]76:1bprop.75:[CNode]76:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op54 +bprop.46:xbprop.46:[CNode]47:1bprop.46:[CNode]47:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op33  -bprop.75:ybprop.75:[CNode]77:3bprop.75:[CNode]77:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op55 +bprop.46:ybprop.46:[CNode]48:3bprop.46:[CNode]48:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op34  -bprop.75:[CNode]76:1 -bprop.75:[CNode]77:3bprop.75:[CNode]78:4bprop.75:[CNode]78:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op56bprop.75* +bprop.46:[CNode]47:1 +bprop.46:[CNode]48:3bprop.46:[CNode]49:4bprop.46:[CNode]49:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op35bprop.46* -bprop.75:x* +bprop.46:x* -bprop.75:y* - bprop.75:out* - bprop.75:dout2 -bprop.75:[CNode]78:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +bprop.46:y* + bprop.46:out* + bprop.46:dout2 +bprop.46:[CNode]49:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/LinSpace_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LinSpace_bprop.mindir index fed6084e901..0f8e501b901 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/LinSpace_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/LinSpace_bprop.mindir @@ -1,20 +1,20 @@ 0.1.1 MindSpore*1.8.0:  -bprop.44:startbprop.44:[CNode]45:1bprop.44:[CNode]45:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op30 +bprop.25:startbprop.25:[CNode]26:1bprop.25:[CNode]26:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op17  - bprop.44:stopbprop.44:[CNode]46:3bprop.44:[CNode]46:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op31 + bprop.25:stopbprop.25:[CNode]27:3bprop.25:[CNode]27:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op18  - bprop.44:numbprop.44:[CNode]47:4bprop.44:[CNode]47:4"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op32 + bprop.25:numbprop.25:[CNode]28:4bprop.25:[CNode]28:4"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op19  -bprop.44:[CNode]45:1 -bprop.44:[CNode]46:3 -bprop.44:[CNode]47:4bprop.44:[CNode]48:5bprop.44:[CNode]48:5"REF::S-Prim-MakeTuple:6:Default/S-Prim-MakeTuple-op33bprop.44* -bprop.44:start* - bprop.44:stop* - bprop.44:num* - bprop.44:out* - bprop.44:dout2 -bprop.44:[CNode]48:5:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4Pb& -S-Prim-MakeTuple:6S-Prim-MakeTuplebH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file +bprop.25:[CNode]26:1 +bprop.25:[CNode]27:3 +bprop.25:[CNode]28:4bprop.25:[CNode]29:5bprop.25:[CNode]29:5"REF::S-Prim-MakeTuple:6:Default/S-Prim-MakeTuple-op20bprop.25* +bprop.25:start* + bprop.25:stop* + bprop.25:num* + bprop.25:out* + bprop.25:dout2 +bprop.25:[CNode]29:5:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& +S-Prim-MakeTuple:6S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir index a8e9c5959b0..981cd0507f1 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/LogicalAnd_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.83:xbprop.83:[CNode]84:1bprop.83:[CNode]84:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op60 +bprop.54:xbprop.54:[CNode]55:1bprop.54:[CNode]55:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op39  -bprop.83:ybprop.83:[CNode]85:3bprop.83:[CNode]85:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op61 +bprop.54:ybprop.54:[CNode]56:3bprop.54:[CNode]56:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op40  -bprop.83:[CNode]84:1 -bprop.83:[CNode]85:3bprop.83:[CNode]86:4bprop.83:[CNode]86:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op62bprop.83* +bprop.54:[CNode]55:1 +bprop.54:[CNode]56:3bprop.54:[CNode]57:4bprop.54:[CNode]57:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op41bprop.54* -bprop.83:x* +bprop.54:x* -bprop.83:y* - bprop.83:out* - bprop.83:dout2 -bprop.83:[CNode]86:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +bprop.54:y* + bprop.54:out* + bprop.54:dout2 +bprop.54:[CNode]57:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir index fe64fe4d725..d54bae62283 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/LogicalNot_bprop.mindir @@ -2,13 +2,13 @@ 0.1.1 MindSpore*1.8.0:  -bprop.38:xbprop.38:[CNode]39:1bprop.38:[CNode]39:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op26 +bprop.19:xbprop.19:[CNode]20:1bprop.19:[CNode]20:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op13 z -bprop.38:[CNode]39:1bprop.38:[CNode]40:3bprop.38:[CNode]40:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op27bprop.38* +bprop.19:[CNode]20:1bprop.19:[CNode]21:3bprop.19:[CNode]21:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op14bprop.19* -bprop.38:x* - bprop.38:out* - bprop.38:dout2 -bprop.38:[CNode]40:3:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& -S-Prim-MakeTuple:4S-Prim-MakeTupleh \ No newline at end of file +bprop.19:x* + bprop.19:out* + bprop.19:dout2 +bprop.19:[CNode]21:3:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& +S-Prim-MakeTuple:4S-Prim-MakeTuplebH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir index 25932b70d22..7e4e260509c 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/LogicalOr_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.87:xbprop.87:[CNode]88:1bprop.87:[CNode]88:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op63 +bprop.58:xbprop.58:[CNode]59:1bprop.58:[CNode]59:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op42  -bprop.87:ybprop.87:[CNode]89:3bprop.87:[CNode]89:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op64 +bprop.58:ybprop.58:[CNode]60:3bprop.58:[CNode]60:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op43  -bprop.87:[CNode]88:1 -bprop.87:[CNode]89:3bprop.87:[CNode]90:4bprop.87:[CNode]90:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op65bprop.87* +bprop.58:[CNode]59:1 +bprop.58:[CNode]60:3bprop.58:[CNode]61:4bprop.58:[CNode]61:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op44bprop.58* -bprop.87:x* +bprop.58:x* -bprop.87:y* - bprop.87:out* - bprop.87:dout2 -bprop.87:[CNode]90:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& -S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file +bprop.58:y* + bprop.58:out* + bprop.58:dout2 +bprop.58:[CNode]61:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& +S-Prim-MakeTuple:5S-Prim-MakeTuplebH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/Maximum_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Maximum_bprop.mindir index 7f7f53e74efbe8fb644c53fc2ed9120c052f8211..fb54f0895663af98fa1a087ebf097235a4b65c9c 100644 GIT binary patch literal 1067 zcmbVL&2Q5%6vs&2I@1mmZ7_lmQY1K3YKZgUv_2t?k5kda5Qj}@vTJ8VG#}~`NNyF! zUAS}PFU4W2=X5zBZtv^&{CmIm4111^Y-H@r;*=lf*;0&p$e!2^`LzXq0ti{Y%yN6; zkxH{`I8pJp6Ic7(lvhB{<5yRpWpnb~gu_f(iK+cwz#aT)d zaj^pXmtgzkZjDx;e`UGSGKX;MTz;yv`as^(j)~yCIK2g`6sT%ImjIsh8kFpM)1ms? H;S2Z!fg3zW literal 1105 zcmbW0OK;Oa5XV`hw9T{$)ryv2A%rZ!!BULZ@!HOwkjmo}R8hpC6{`H$6pQ$w)UNCU zQm*t1aOaco(b$CG_>msqw*Q%(@o#7ThK{BZmEi6qi2So8o^z!`R9n^9uO0Y-VBbyV zaiS7xu)Hb?=x;K9oTd19qc2Y0$3Fi|C}l*tBQ8Jw@a8RJXT#HZ5Dq6!9)wx=ZtnO@ zXU|^qsguppm+kB@P6*M##{G*=&Mf2W51CR!%X=qrbe%d;svJP)W_fjRZ-I8<8{7c| zjSjf_z?_YwhL(@254hrKkn)fj>`4QDomqj8THsa#+}Z|?{sr8sfftO{z=i%Fa09-h z+Q!8|YFhN&>HwRWTOAT1m;Xn{2S$Y{cA-`Urqg%9le!n0KwD;$vi<8uY zoh$L5Towc2i>^dqKZsgId0CV%i*6B|ca~M6>!w4#>fp+7xTYyxjQjP7`vNw^<)ZN4 Jx^h8Z&~F86LZkoy diff --git a/mindspore/python/mindspore/ops/bprop_mindir/Minimum_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Minimum_bprop.mindir index c3a9864e489bbe065d8a5cc6f37878327ffaa8fd..05ca4355be0f68415d216dfac7d7ab2265a08810 100644 GIT binary patch literal 1067 zcmbW0&u`N(6vr`Ax9-sn6m2kq5K<&KRBDKm#z}la8b3}$6GI#}p((DN5z+immq2=} zIPSuoBY!E*STm>T0dezt_Iv*LeZPjDWnvR+J4bQKPx5RoMm=o$rbT~k!A}Ih@_Ck< zo=+=fy?|kp=UG{3drf$D_&(#}vlmdTZ_FBxKfHNM>B;zb9w%dYZJdq0v9g(#s-Di_rjj-|B-0ca~@yzQaZqXqRis zt19Z~?aW`gZ~#A$s;!)Y z8p@_!sePN0uGDqbc%)A3DEulumibIjk3L8z$4Dq5=3-*m7PF%% z#>AO&H;9fAGvL9ENgF3*E~fn?6h;yeu#ak)hMS7`h6?gB4S z|L@9{D}4xC7xJ^5FAk(nc61E);6<+3WOC}PnHRlZD$MSM|eBYT0A zEqwv@JPD7+q$G|n=>m3h{xj#yH)sBV9@dCPq}`J+4$jhK#?>CtYz?#DTksRXo|n#& zR3o~>ih5AOV4Vq)Jd+-+Nx(l712ZDup({^5ym`ym+30i@Mk8^080FEsnHw<5 zp1#;h(wsRvYOhjo3dzzrTPH+ z)mA1Zk2-sEUe3(G7z0-l9r$U3VyMJ9salqFFzJbg&{^X`TWrt#Z3G KSngUXU(g>RbwaTK diff --git a/mindspore/python/mindspore/ops/bprop_mindir/NotEqual_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/NotEqual_bprop.mindir index c6efa7257a2..fd16008ed2d 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/NotEqual_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/NotEqual_bprop.mindir @@ -2,19 +2,19 @@ 0.1.1 MindSpore*1.8.0:  -bprop.63:xbprop.63:[CNode]64:1bprop.63:[CNode]64:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op45 +bprop.34:xbprop.34:[CNode]35:1bprop.34:[CNode]35:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op24  -bprop.63:ybprop.63:[CNode]65:3bprop.63:[CNode]65:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op46 +bprop.34:ybprop.34:[CNode]36:3bprop.34:[CNode]36:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op25  -bprop.63:[CNode]64:1 -bprop.63:[CNode]65:3bprop.63:[CNode]66:4bprop.63:[CNode]66:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op47bprop.63* +bprop.34:[CNode]35:1 +bprop.34:[CNode]36:3bprop.34:[CNode]37:4bprop.34:[CNode]37:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op26bprop.34* -bprop.63:x* +bprop.34:x* -bprop.63:y* - bprop.63:out* - bprop.63:dout2 -bprop.63:[CNode]66:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +bprop.34:y* + bprop.34:out* + bprop.34:dout2 +bprop.34:[CNode]37:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir index 974b2ffc54d..6b1d310e0e5 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/ReduceAll_bprop.mindir @@ -2,17 +2,17 @@ 0.1.1 MindSpore*1.8.0:  -bprop.91:xbprop.91:[CNode]92:1bprop.91:[CNode]92:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op66 +bprop.62:xbprop.62:[CNode]63:1bprop.62:[CNode]63:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op45  - bprop.91:axisbprop.91:[CNode]93:3bprop.91:[CNode]93:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op67 + bprop.62:axisbprop.62:[CNode]64:3bprop.62:[CNode]64:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op46  -bprop.91:[CNode]92:1 -bprop.91:[CNode]93:3bprop.91:[CNode]94:4bprop.91:[CNode]94:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op68bprop.91* +bprop.62:[CNode]63:1 +bprop.62:[CNode]64:3bprop.62:[CNode]65:4bprop.62:[CNode]65:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op47bprop.62* -bprop.91:x* - bprop.91:axis* - bprop.91:out* - bprop.91:dout2 -bprop.91:[CNode]94:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +bprop.62:x* + bprop.62:axis* + bprop.62:out* + bprop.62:dout2 +bprop.62:[CNode]65:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir index f578314600d..da26973e68d 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/ReduceAny_bprop.mindir @@ -2,17 +2,17 @@ 0.1.1 MindSpore*1.8.0:  -bprop.95:xbprop.95:[CNode]96:1bprop.95:[CNode]96:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op69 +bprop.66:xbprop.66:[CNode]67:1bprop.66:[CNode]67:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op48  - bprop.95:axisbprop.95:[CNode]97:3bprop.95:[CNode]97:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op70 + bprop.66:axisbprop.66:[CNode]68:3bprop.66:[CNode]68:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op49  -bprop.95:[CNode]96:1 -bprop.95:[CNode]97:3bprop.95:[CNode]98:4bprop.95:[CNode]98:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op71bprop.95* +bprop.66:[CNode]67:1 +bprop.66:[CNode]68:3bprop.66:[CNode]69:4bprop.66:[CNode]69:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op50bprop.66* -bprop.95:x* - bprop.95:axis* - bprop.95:out* - bprop.95:dout2 -bprop.95:[CNode]98:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4Pb& -S-Prim-MakeTuple:5S-Prim-MakeTuplebH -#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file +bprop.66:x* + bprop.66:axis* + bprop.66:out* + bprop.66:dout2 +bprop.66:[CNode]69:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH +#S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& +S-Prim-MakeTuple:5S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/Round_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Round_bprop.mindir index 386b71b5ef5..078b660d08a 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/Round_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/Round_bprop.mindir @@ -2,13 +2,13 @@ 0.1.1 MindSpore*1.8.0:  -bprop.41:xbprop.41:[CNode]42:1bprop.41:[CNode]42:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op28 +bprop.22:xbprop.22:[CNode]23:1bprop.22:[CNode]23:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op15 z -bprop.41:[CNode]42:1bprop.41:[CNode]43:3bprop.41:[CNode]43:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op29bprop.41* +bprop.22:[CNode]23:1bprop.22:[CNode]24:3bprop.22:[CNode]24:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op16bprop.22* -bprop.41:x* - bprop.41:out* - bprop.41:dout2 -bprop.41:[CNode]43:3:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +bprop.22:x* + bprop.22:out* + bprop.22:dout2 +bprop.22:[CNode]24:3:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:4S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/Sign_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/Sign_bprop.mindir index 4c347199376..a85cb5d03a3 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/Sign_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/Sign_bprop.mindir @@ -2,13 +2,13 @@ 0.1.1 MindSpore*1.8.0:  -bprop.35:xbprop.35:[CNode]36:1bprop.35:[CNode]36:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op24 +bprop.16:xbprop.16:[CNode]17:1bprop.16:[CNode]17:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op11 z -bprop.35:[CNode]36:1bprop.35:[CNode]37:3bprop.35:[CNode]37:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op25bprop.35* +bprop.16:[CNode]17:1bprop.16:[CNode]18:3bprop.16:[CNode]18:3"REF::S-Prim-MakeTuple:4:Default/S-Prim-MakeTuple-op12bprop.16* -bprop.35:x* - bprop.35:out* - bprop.35:dout2 -bprop.35:[CNode]37:3:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4PbH +bprop.16:x* + bprop.16:out* + bprop.16:dout2 +bprop.16:[CNode]18:3:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPbH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]b& S-Prim-MakeTuple:4S-Prim-MakeTupleh \ No newline at end of file diff --git a/mindspore/python/mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir b/mindspore/python/mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir index 872b93f5848..9c7c572ebe5 100644 --- a/mindspore/python/mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir +++ b/mindspore/python/mindspore/ops/bprop_mindir/TruncateDiv_bprop.mindir @@ -1,16 +1,20 @@ -0.1.1 MindSpore*1.8.0: - - bprop.145:xbprop.145:[CNode]146:1bprop.145:[CNode]146:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:/Default/S-Prim-hyper_map[zeros_like_leaf]-op105 - - bprop.145:ybprop.145:[CNode]147:3bprop.145:[CNode]147:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:/Default/S-Prim-hyper_map[zeros_like_leaf]-op106 - -bprop.145:[CNode]146:1 -bprop.145:[CNode]147:3bprop.145:[CNode]148:4bprop.145:[CNode]148:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op107 bprop.145* - bprop.145:x* - bprop.145:y* - bprop.145:out* -bprop.145:dout2 -bprop.145:[CNode]148:4:@fdede69709904c01691843e70cf6c5b0e5655f5e83a7ec72516c5cde5272b0e4Pb& +0.1.1 MindSpore*1.8.0: + + +bprop.74:xbprop.74:[CNode]75:1bprop.74:[CNode]75:1"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op54 + + +bprop.74:ybprop.74:[CNode]76:3bprop.74:[CNode]76:3"(REF::S-Prim-hyper_map[zeros_like_leaf]:2:.Default/S-Prim-hyper_map[zeros_like_leaf]-op55 + +bprop.74:[CNode]75:1 +bprop.74:[CNode]76:3bprop.74:[CNode]77:4bprop.74:[CNode]77:4"REF::S-Prim-MakeTuple:5:Default/S-Prim-MakeTuple-op56bprop.74* + +bprop.74:x* + +bprop.74:y* + bprop.74:out* + bprop.74:dout2 +bprop.74:[CNode]77:4:@1bd2dbdf4be3507b9b4edda63675968c63a3fc7b6aefb516020b2fc1163cd59fPb& S-Prim-MakeTuple:5S-Prim-MakeTuplebH #S-Prim-hyper_map[zeros_like_leaf]:2!S-Prim-hyper_map[zeros_like_leaf]h \ No newline at end of file diff --git a/mindspore/python/mindspore/train/dataset_helper.py b/mindspore/python/mindspore/train/dataset_helper.py index d3974dd532e..2c7dbabd75e 100644 --- a/mindspore/python/mindspore/train/dataset_helper.py +++ b/mindspore/python/mindspore/train/dataset_helper.py @@ -138,12 +138,6 @@ def _check_inputs(network, dataset_shapes): Check if set inputs are correct. """ network_shapes = network.get_inputs() - dataset_inputs_len = len(dataset_shapes) - network_inputs_len = len(network_shapes) - if network_inputs_len != dataset_inputs_len: - raise ValueError( - f"For 'set_inputs', the Length of Tensor must be {dataset_inputs_len}, but got {network_inputs_len}" - ) for tensor_index, ele_dataset_shape in enumerate(dataset_shapes): set_inputs_shape = list(network_shapes[tensor_index].shape) inputs_shape = list(ele_dataset_shape)