Home
last modified time | relevance | path

Searched refs:v_type (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/tests/st/ops/cpu/
Dtest_sparse_to_dense_op.py52 def sparse_to_dense_int(i_type, v_type): argument
54 values = np.array([7, 8]).astype(v_type)
60 [0, 0, 0]]).astype(v_type)
64 sense = Tensor(np.arange(9).reshape((3, 3)).astype(v_type))
66 expect_grad_output = np.array([1, 5]).astype(v_type)
70 def sparse_to_dense_float(i_type, v_type): argument
72 values = np.array([6.5, 7.5, 9.5, 10.5]).astype(v_type)
87 [0, 0, 9.5, 0]]]).astype(v_type)
91 sense = Tensor(np.arange(48).reshape((3, 4, 4)).astype(v_type) + 0.8)
93 expect_grad_output = np.array([4.8, 25.8, 46.8, 11.8]).astype(v_type)
[all …]
/third_party/boost/libs/fusion/test/compile_time/
Dvector_intrinsic.cpp25 …5, batch>, distinct<6, batch>, distinct<7, batch>, distinct<8, batch>, distinct<9, batch> > v_type; in test() typedef
27 v_type v; in test()
41 typedef typename boost::fusion::result_of::value_at_c<v_type, 0>::type va0; in test()
42 typedef typename boost::fusion::result_of::value_at_c<v_type, 1>::type va1; in test()
43 typedef typename boost::fusion::result_of::value_at_c<v_type, 2>::type va2; in test()
44 typedef typename boost::fusion::result_of::value_at_c<v_type, 3>::type va3; in test()
45 typedef typename boost::fusion::result_of::value_at_c<v_type, 4>::type va4; in test()
47 typedef typename boost::fusion::result_of::value_at_c<v_type, 5>::type va5; in test()
48 typedef typename boost::fusion::result_of::value_at_c<v_type, 6>::type va6; in test()
49 typedef typename boost::fusion::result_of::value_at_c<v_type, 7>::type va7; in test()
[all …]
/third_party/boost/libs/pfr/test/run/
Dtie_anonymous_const_field.cpp31 using v_type = decltype(v); in test_in_anon_ns_const_field() typedef
35 BOOST_TEST(typeid(expected_type) == typeid(v_type)); in test_in_anon_ns_const_field()
44 using v_type = decltype(v); in test_in_non_non_ns_const_field() typedef
48 BOOST_TEST(typeid(expected_type) == typeid(v_type)); in test_in_non_non_ns_const_field()
/third_party/boost/libs/spirit/test/x3/
Drule4.cpp121 typedef boost::variant<double, int> v_type; in main() typedef
122 auto r1 = rule<class r1, v_type>() in main()
124 v_type v; in main()
/third_party/boost/libs/spirit/test/qi/
Drule4.cpp128 typedef boost::variant<double, int> v_type; in main() typedef
129 rule<const char*, v_type()> r1 = int_; in main()
130 v_type v; in main()
/third_party/mindspore/mindspore/core/ops/
Dadam.cc42 auto v_type = input_args[kInputIndex2]->BuildType(); in AdamInfer() local
46 …auto infer_v_type = CheckAndConvertUtils::CheckTensorTypeValid("v_type", v_type, common_valid_type… in AdamInfer()
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp1122 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1123 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst()
1124 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1142 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1143 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1144 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1160 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1161 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1162 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1181 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
[all …]
/third_party/e2fsprogs/ext2ed/
Dinit.c230 void add_new_variable (struct struct_descriptor *ptr,char *v_type,char *v_name) in add_new_variable() argument
241 if (strcmp(v_type, p->name) == 0) { in add_new_variable()
248 if (strncmp(v_type, "char[", 5) == 0) { in add_new_variable()
249 len = atoi(v_type+5); in add_new_variable()
252 printf("Unknown type %s for field %s\n", v_type, v_name); in add_new_variable()
Dext2ed.h233 extern void add_new_variable (struct struct_descriptor *descriptor,char *v_type,char *v_name);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp1159 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1160 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst()
1161 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1179 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1180 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1181 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1197 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1198 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1199 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1218 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp1159 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1160 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 4 || in ValidateExtInst()
1161 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1179 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1180 if (!_.IsFloatVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1181 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1197 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1198 if (!_.IsIntVectorType(v_type) || _.GetDimension(v_type) != 2 || in ValidateExtInst()
1199 _.GetBitWidth(v_type) != 32) { in ValidateExtInst()
1218 const uint32_t v_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
[all …]
/third_party/mindspore/mindspore/ops/operations/
Ddebug_ops.py42 v_type = value['dtype']
43 validator.check_value_type('value', v_type, [type(mstype.tensor)], class_name)
/third_party/skia/third_party/externals/wuffs/release/c/
Dwuffs-v0.2.c6285 uint32_t v_type = 0; in wuffs_deflate__decoder__decode_blocks() local
6322 v_type = ((self->private_impl.f_bits >> 1) & 3); in wuffs_deflate__decoder__decode_blocks()
6325 if (v_type == 0) { in wuffs_deflate__decoder__decode_blocks()
6339 } else if (v_type == 1) { in wuffs_deflate__decoder__decode_blocks()
6351 } else if (v_type == 2) { in wuffs_deflate__decoder__decode_blocks()
Dwuffs-v0.3.c25798 uint32_t v_type = 0; in wuffs_deflate__decoder__decode_blocks() local
25835 v_type = ((self->private_impl.f_bits >> 1) & 3); in wuffs_deflate__decoder__decode_blocks()
25838 if (v_type == 0) { in wuffs_deflate__decoder__decode_blocks()
25851 } else if (v_type == 1) { in wuffs_deflate__decoder__decode_blocks()
25863 } else if (v_type == 2) { in wuffs_deflate__decoder__decode_blocks()
/third_party/flutter/skia/third_party/externals/wuffs/release/c/
Dwuffs-v0.2.c6521 uint32_t v_type = 0; in wuffs_deflate__decoder__decode_blocks() local
6558 v_type = ((self->private_impl.f_bits >> 1) & 3); in wuffs_deflate__decoder__decode_blocks()
6561 if (v_type == 0) { in wuffs_deflate__decoder__decode_blocks()
6575 } else if (v_type == 1) { in wuffs_deflate__decoder__decode_blocks()
6587 } else if (v_type == 2) { in wuffs_deflate__decoder__decode_blocks()
Dwuffs-unsupported-snapshot.c6520 uint32_t v_type = 0; in wuffs_deflate__decoder__decode_blocks() local
6557 v_type = ((self->private_impl.f_bits >> 1) & 3); in wuffs_deflate__decoder__decode_blocks()
6560 if (v_type == 0) { in wuffs_deflate__decoder__decode_blocks()
6574 } else if (v_type == 1) { in wuffs_deflate__decoder__decode_blocks()
6586 } else if (v_type == 2) { in wuffs_deflate__decoder__decode_blocks()