/third_party/mindspore/tests/ut/cpp/ops/ |
D | test_ops_batch_norm.cc | 71 auto type_vec = type->elements(); in TEST_F() local 72 EXPECT_EQ(type_vec.size(), 5); in TEST_F() 73 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 74 auto data_type1 = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 77 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 78 auto data_type2 = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F() 81 MS_EXCEPTION_IF_NULL(type_vec[2]); in TEST_F() 82 auto data_type3 = type_vec[2]->cast<TensorTypePtr>()->element(); in TEST_F() 85 MS_EXCEPTION_IF_NULL(type_vec[3]); in TEST_F() 86 auto data_type4 = type_vec[3]->cast<TensorTypePtr>()->element(); in TEST_F() [all …]
|
D | test_ops_detection_post_process.cc | 69 auto type_vec = type->elements(); in TEST_F() local 70 EXPECT_EQ(type_vec.size(), 4); in TEST_F() 71 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 72 auto data_type1 = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 75 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 76 auto data_type2 = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F() 79 MS_EXCEPTION_IF_NULL(type_vec[2]); in TEST_F() 80 auto data_type3 = type_vec[2]->cast<TensorTypePtr>()->element(); in TEST_F() 83 MS_EXCEPTION_IF_NULL(type_vec[3]); in TEST_F() 84 auto data_type4 = type_vec[3]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_batch_norm_grad.cc | 75 auto type_vec = type->elements(); in TEST_F() local 76 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 77 auto data_type0 = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 80 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 81 auto data_type1 = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F() 84 MS_EXCEPTION_IF_NULL(type_vec[2]); in TEST_F() 85 auto data_type2 = type_vec[2]->cast<TensorTypePtr>()->element(); in TEST_F() 88 MS_EXCEPTION_IF_NULL(type_vec[3]); in TEST_F() 89 auto data_type3 = type_vec[3]->cast<TensorTypePtr>()->element(); in TEST_F() 92 MS_EXCEPTION_IF_NULL(type_vec[4]); in TEST_F() [all …]
|
D | test_ops_unstack.cc | 61 auto type_vec = type->elements(); in TEST_F() local 62 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 63 auto data_type = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 66 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 67 auto data1_type = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_unpack.cc | 61 auto type_vec = type->elements(); in TEST_F() local 62 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 63 auto data_type = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 66 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 67 auto data1_type = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_custom_predict.cc | 62 auto type_vec = type->elements(); in TEST_F() local 63 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 64 auto data0_type = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 67 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 68 auto data1_type = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_hashtable_lookup.cc | 63 auto type_vec = type->elements(); in TEST_F() local 64 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 65 auto data0_type = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 68 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 69 auto data1_type = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_layer_norm_beta_gamma_backprop_v2.cc | 65 auto type_vec = type->elements(); in TEST_F() local 66 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 67 auto data_type = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 70 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 71 auto data1_type = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_topk.cc | 73 auto type_vec = type->elements(); in TEST_F() local 74 EXPECT_EQ(type_vec.size(), 2); in TEST_F() 75 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 76 auto data_type1 = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 79 auto data_type2 = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_layer_norm_x_backprop_v2.cc | 72 auto type_vec = type->elements(); in TEST_F() local 73 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 74 auto data_type = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 77 MS_EXCEPTION_IF_NULL(type_vec[1]); in TEST_F() 78 auto data1_type = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
D | test_ops_merge.cc | 63 auto type_vec = type->elements(); in TEST_F() local 64 MS_EXCEPTION_IF_NULL(type_vec[0]); in TEST_F() 65 auto data_type1 = type_vec[0]->cast<TensorTypePtr>()->element(); in TEST_F() 68 auto data_type2 = type_vec[1]->cast<TensorTypePtr>()->element(); in TEST_F()
|
/third_party/selinux/libsepol/src/ |
D | optimize.c | 36 struct type_vec { struct 41 static int type_vec_init(struct type_vec *v) in type_vec_init() argument 51 static void type_vec_destroy(struct type_vec *v) in type_vec_destroy() 56 static int type_vec_append(struct type_vec *v, uint32_t type) in type_vec_append() 73 static int type_vec_contains(const struct type_vec *v, uint32_t type) in type_vec_contains() 92 static struct type_vec *build_type_map(const policydb_t *p) in build_type_map() 96 struct type_vec *map = malloc(p->p_types.nprim * sizeof(*map)); in build_type_map() 134 static void destroy_type_map(const policydb_t *p, struct type_vec *type_map) in destroy_type_map() 191 const struct type_vec *type_map, in is_avrule_redundant() 249 const struct type_vec *type_map) in is_cond_rule_redundant() [all …]
|
/third_party/mindspore/mindspore/core/ops/ |
D | neighborexchange.cc | 176 std::vector<TypePtr> type_vec(out_num, recv_type); in InferType() local 177 if (type_vec.empty()) { in InferType() 180 return std::make_shared<Tuple>(type_vec); in InferType()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
D | type_vec.inl | 2 /// @file glm/detail/type_vec.inl
|
/third_party/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 197 auto type_vec = reinterpret_cast<const Vector<uint8_t> *>(prev_val); in IterateValue() local 198 union_type = type_vec->Get(static_cast<uoffset_t>(vector_index)); in IterateValue()
|
/third_party/flatbuffers/src/ |
D | idl_gen_text.cpp | 177 auto type_vec = reinterpret_cast<const Vector<uint8_t> *>( in PrintOffset() local 179 union_type_byte = type_vec->Get(static_cast<uoffset_t>(vector_index)); in PrintOffset()
|
D | reflection.cpp | 611 auto type_vec = table.GetPointer<Vector<uint8_t> *>(vec_field.offset() - in VerifyVector() local 613 if (!v.VerifyVector(type_vec)) return false; in VerifyVector() 616 auto utype = type_vec->Get(j); in VerifyVector()
|