/third_party/mindspore/tests/ut/cpp/ops/ |
D | test_ops_softmax.cc | 46 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 47 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 48 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 49 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 76 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 77 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 78 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 79 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 106 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 107 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() [all …]
|
D | test_ops_lsh_projection.cc | 46 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 47 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 48 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 49 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 75 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 76 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 77 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 78 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 106 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 107 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() [all …]
|
D | test_ops_full_connection.cc | 45 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 46 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 47 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 48 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 76 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 77 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 78 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 79 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 106 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 107 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() [all …]
|
D | test_ops_argmax.cc | 42 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 43 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 44 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 45 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 70 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 71 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 72 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 73 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_prelu.cc | 43 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 44 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 45 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 46 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 72 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 73 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 74 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 75 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_reshape.cc | 42 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 43 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 44 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 45 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 70 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 71 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 72 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 73 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_addn.cc | 44 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 45 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 46 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 47 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 77 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 78 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 79 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 80 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_binary_cross_entropy_grad.cc | 48 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 49 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 50 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 51 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 80 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 81 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 82 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 83 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_concat.cc | 47 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 48 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 49 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 50 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 81 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 82 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 83 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 84 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_assert.cc | 58 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 59 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 60 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 61 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 89 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 90 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 91 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 92 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_range.cc | 48 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 49 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 50 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 51 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F() 102 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 103 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 104 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 105 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_fftimag.cc | 40 auto shape_ptr = fftimag_abstract->BuildShape(); in TEST_F() local 41 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 42 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 43 auto fftimag_shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_sin.cc | 40 auto shape_ptr = sin_abstract->BuildShape(); in TEST_F() local 41 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 42 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 43 auto sin_shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_rank.cc | 44 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 45 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 46 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 47 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_flatten.cc | 41 auto shape_ptr = flatten_abstract->BuildShape(); in TEST_F() local 42 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 43 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 44 auto flatten_shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_ceil.cc | 42 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 43 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 44 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 45 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_sqrt.cc | 40 auto shape_ptr = sqrt_abstract->BuildShape(); in TEST_F() local 41 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 42 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 43 auto sqrt_shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_log.cc | 40 auto shape_ptr = log_abstract->BuildShape(); in TEST_F() local 41 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 42 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 43 auto log_shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_round.cc | 42 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 43 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 44 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 45 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_square.cc | 42 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 43 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 44 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 45 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_neg.cc | 41 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 42 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 43 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 44 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_cos.cc | 42 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 43 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 44 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 45 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_non_max_suppression.cc | 44 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 45 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 46 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 47 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_dropout_grad.cc | 44 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 45 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 46 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 47 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|
D | test_ops_depthtospace.cc | 42 auto shape_ptr = abstract->BuildShape(); in TEST_F() local 43 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F() 44 EXPECT_EQ(shape_ptr->isa<abstract::Shape>(), true); in TEST_F() 45 auto shape = shape_ptr->cast<abstract::ShapePtr>(); in TEST_F()
|