Home
last modified time | relevance | path

Searched refs:shape_ptr (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_softmax.cc46 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 …]
Dtest_ops_lsh_projection.cc46 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 …]
Dtest_ops_full_connection.cc45 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 …]
Dtest_ops_argmax.cc42 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()
Dtest_ops_prelu.cc43 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()
Dtest_ops_reshape.cc42 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()
Dtest_ops_addn.cc44 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()
Dtest_ops_binary_cross_entropy_grad.cc48 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()
Dtest_ops_concat.cc47 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()
Dtest_ops_assert.cc58 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()
Dtest_ops_range.cc48 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()
Dtest_ops_fftimag.cc40 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()
Dtest_ops_sin.cc40 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()
Dtest_ops_rank.cc44 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()
Dtest_ops_flatten.cc41 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()
Dtest_ops_ceil.cc42 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()
Dtest_ops_sqrt.cc40 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()
Dtest_ops_log.cc40 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()
Dtest_ops_round.cc42 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()
Dtest_ops_square.cc42 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()
Dtest_ops_neg.cc41 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()
Dtest_ops_cos.cc42 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()
Dtest_ops_non_max_suppression.cc44 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()
Dtest_ops_dropout_grad.cc44 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()
Dtest_ops_depthtospace.cc42 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()

12345