Home
last modified time | relevance | path

Searched refs:i_type (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mindspore/tests/st/ops/cpu/
Dtest_sparse_to_dense_op.py52 def sparse_to_dense_int(i_type, v_type): argument
53 indices = np.array([[0, 1], [1, 2]]).astype(i_type)
70 def sparse_to_dense_float(i_type, v_type): argument
71 indices = np.array([[0, 1, 0], [1, 2, 1], [2, 3, 2], [0, 2, 3]]).astype(i_type)
97 def sparse_to_dense_1D(i_type, v_type): argument
98 indices = np.array([[8], [2], [6], [4]]).astype(i_type)
123 for i_type in indices_types:
125 sparse_to_dense_int(i_type, v_type)
133 for i_type in indices_types:
135 sparse_to_dense_float(i_type, v_type)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dremove_duplicates_pass.cpp115 analysis::Type* i_type = type_manager.GetType(i->result_id()); in RemoveDuplicateTypes() local
116 assert(i_type); in RemoveDuplicateTypes()
122 if (*i_type == *j_type) { in RemoveDuplicateTypes()
139 analysis::ForwardPointer i_type( in RemoveDuplicateTypes() local
142 i_type.SetTargetPointer( in RemoveDuplicateTypes()
143 type_manager.GetType(i_type.target_id())->AsPointer()); in RemoveDuplicateTypes()
150 i_type) != std::end(visited_forward_pointers); in RemoveDuplicateTypes()
154 visited_forward_pointers.emplace_back(i_type); in RemoveDuplicateTypes()
/third_party/spirv-tools/source/opt/
Dremove_duplicates_pass.cpp115 analysis::Type* i_type = type_manager.GetType(i->result_id()); in RemoveDuplicateTypes() local
116 assert(i_type); in RemoveDuplicateTypes()
122 if (*i_type == *j_type) { in RemoveDuplicateTypes()
139 analysis::ForwardPointer i_type( in RemoveDuplicateTypes() local
142 i_type.SetTargetPointer( in RemoveDuplicateTypes()
143 type_manager.GetType(i_type.target_id())->AsPointer()); in RemoveDuplicateTypes()
150 i_type) != std::end(visited_forward_pointers); in RemoveDuplicateTypes()
154 visited_forward_pointers.emplace_back(i_type); in RemoveDuplicateTypes()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dremove_duplicates_pass.cpp115 analysis::Type* i_type = type_manager.GetType(i->result_id()); in RemoveDuplicateTypes() local
116 assert(i_type); in RemoveDuplicateTypes()
122 if (*i_type == *j_type) { in RemoveDuplicateTypes()
139 analysis::ForwardPointer i_type( in RemoveDuplicateTypes() local
142 i_type.SetTargetPointer( in RemoveDuplicateTypes()
143 type_manager.GetType(i_type.target_id())->AsPointer()); in RemoveDuplicateTypes()
150 i_type) != std::end(visited_forward_pointers); in RemoveDuplicateTypes()
154 visited_forward_pointers.emplace_back(i_type); in RemoveDuplicateTypes()
/third_party/boost/libs/contract/test/old/
Dno_macro.hpp27 struct i_tag; typedef boost::contract::test::detail::counter<i_tag, int> i_type; typedef
31 virtual void swap(i_type& i, j_type& j, boost::contract::virtual_* v = 0);
34 void b::swap(i_type& i, j_type& j, boost::contract::virtual_* v) { in swap()
35 BOOST_CONTRACT_TEST_OLD_PTR_TYPE<i_type> old_i = boost::contract::make_old( in swap()
37 i_type::eval(i) in swap()
68 void swap(i_type& i, j_type& j, boost::contract::virtual_* v = 0) in swap()
157 i_type i; i.value = 1; in main()
/third_party/boost/libs/multiprecision/test/
Dtest_mixed_cpp_int.cpp56 …me boost::mpl::if_c<std::numeric_limits<test_type>::is_signed, int_least, uint_least>::type i_type; in test() typedef
58 i_type ih = (std::numeric_limits<i_type>::max)(); in test()
59 i_type il = (std::numeric_limits<i_type>::max)(); in test()
Dtest_rat_float_interconv.cpp104 typedef typename boost::multiprecision::component_type<Rat>::type i_type; in do_round_trip() typedef
105 i_type i(1); in do_round_trip()
110 delta = Rat(i_type(1), i); in do_round_trip()
202 typedef typename boost::multiprecision::component_type<Rat>::type i_type; in test_random_rationals() typedef
213 Rat rat(generate_random_int<i_type>(), generate_random_int<i_type>()); in test_random_rationals()
/third_party/boost/boost/safe_numerics/
Dchecked_integer.hpp387 using i_type = std::uintmax_t; in multiply() typedef
389 static_cast<i_type>(t) * static_cast<i_type>(u) in multiply()
427 using i_type = std::intmax_t; in multiply() typedef
430 static_cast<i_type>(t) * static_cast<i_type>(u) in multiply()
431 > static_cast<i_type>(std::numeric_limits<R>::max()) in multiply()
438 static_cast<i_type>(t) * static_cast<i_type>(u) in multiply()
439 < static_cast<i_type>(std::numeric_limits<R>::min()) in multiply()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_column.cc398 …uint64_t i_type = (iBitMap >> ((kNumDataOfByte - 1 - (i % kNumDataOfByte)) * kDataTypeBits)) & kDa… in UncompressInt() local
399 auto mr_int_type = static_cast<IntegerType>(i_type); in UncompressInt()
401 i_source += (kUnsignedOne << i_type); in UncompressInt()
416 const IntegerType &i_type) { in BytesBigToUInt64() argument
418 for (uint64_t i = 0; i < (kUnsignedOne << static_cast<uint8_t>(i_type)); i++) { in BytesBigToUInt64()
424 std::vector<uint8_t> ShardColumn::UIntToBytesBig(uint64_t value, const IntegerType &i_type) { in UIntToBytesBig() argument
425 uint64_t n_bytes = kUnsignedOne << static_cast<uint8_t>(i_type); in UIntToBytesBig()
434 std::vector<uint8_t> ShardColumn::UIntToBytesLittle(uint64_t value, const IntegerType &i_type) { in UIntToBytesLittle() argument
435 uint64_t n_bytes = kUnsignedOne << static_cast<uint8_t>(i_type); in UIntToBytesLittle()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_column.h139 const IntegerType &i_type);
145 static std::vector<uint8_t> UIntToBytesBig(uint64_t value, const IntegerType &i_type);
151 static std::vector<uint8_t> UIntToBytesLittle(uint64_t value, const IntegerType &i_type);
/third_party/boost/libs/compute/test/
Dtest_strided_iterator.cpp165 typedef bc::buffer_iterator<bc::float_> i_type; in BOOST_AUTO_TEST_CASE() typedef
170 i_type in BOOST_AUTO_TEST_CASE()
173 bc::strided_iterator<i_type> in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/fusion/test/sequence/
Dmap.cpp165 typedef boost::fusion::result_of::begin<map_type>::type i_type; in main() typedef
166 typedef boost::fusion::result_of::deref_data<i_type>::type r_type; in main()
174 typedef boost::fusion::result_of::begin<map_type>::type i_type; in main() typedef
175 typedef boost::fusion::result_of::deref_data<i_type>::type r_type; in main()
/third_party/ffmpeg/libavcodec/
Dlibxavs.c138 x4->pic.i_type = XAVS_TYPE_AUTO; in XAVS_frame()
182 switch (pic_out.i_type) { in XAVS_frame()
205 if (pic_out.i_type == XAVS_TYPE_I) { in XAVS_frame()
410 if (nal[i].i_type == NAL_SEI) { in XAVS_init()
Dlibx264.c336 x4->pic.i_type = x4->forced_idr > 0 ? X264_TYPE_IDR in X264_frame()
340 x4->pic.i_type = X264_TYPE_P; in X264_frame()
343 x4->pic.i_type = X264_TYPE_B; in X264_frame()
346 x4->pic.i_type = X264_TYPE_AUTO; in X264_frame()
468 switch (pic_out.i_type) { in X264_frame()
964 if (nal[i].i_type == NAL_SEI) { in X264_init()
Dlibxavs2.c203 pic.i_type = XAVS2_TYPE_AUTO; in xavs2_encode_frame()
/third_party/boost/boost/spirit/home/classic/phoenix/
Dtuples.hpp285 typedef typename TupleT::i_type type;
477 typedef nil_t i_type; typedef
912 typedef I i_type; typedef
964 typedef I i_type; typedef J j_type; typedef
1017 typedef I i_type; typedef J j_type; typedef
1075 typedef I i_type; typedef J j_type; typedef
1131 typedef I i_type; typedef J j_type; typedef
1189 typedef I i_type; typedef J j_type; typedef
1248 typedef I i_type; typedef J j_type; typedef
/third_party/e2fsprogs/debugfs/
Ddebugfs.c832 const char *i_type; in internal_dump_inode() local
842 if (LINUX_S_ISDIR(inode->i_mode)) i_type = "directory"; in internal_dump_inode()
843 else if (LINUX_S_ISREG(inode->i_mode)) i_type = "regular"; in internal_dump_inode()
844 else if (LINUX_S_ISLNK(inode->i_mode)) i_type = "symlink"; in internal_dump_inode()
845 else if (LINUX_S_ISBLK(inode->i_mode)) i_type = "block special"; in internal_dump_inode()
846 else if (LINUX_S_ISCHR(inode->i_mode)) i_type = "character special"; in internal_dump_inode()
847 else if (LINUX_S_ISFIFO(inode->i_mode)) i_type = "FIFO"; in internal_dump_inode()
848 else if (LINUX_S_ISSOCK(inode->i_mode)) i_type = "socket"; in internal_dump_inode()
849 else i_type = "bad type"; in internal_dump_inode()
850 fprintf(out, "%sInode: %u Type: %s ", prefix, inode_num, i_type); in internal_dump_inode()
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp949 const uint32_t i_type = _.GetOperandTypeId(inst, 5); in ValidateExtInst() local
959 if (!_.GetPointerTypeInfo(i_type, &i_data_type, &i_storage_class)) { in ValidateExtInst()
1334 const uint32_t i_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1338 if (result_type != i_type) { in ValidateExtInst()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp986 const uint32_t i_type = _.GetOperandTypeId(inst, 5); in ValidateExtInst() local
996 if (!_.GetPointerTypeInfo(i_type, &i_data_type, &i_storage_class)) { in ValidateExtInst()
1371 const uint32_t i_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1375 if (result_type != i_type) { in ValidateExtInst()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp986 const uint32_t i_type = _.GetOperandTypeId(inst, 5); in ValidateExtInst() local
996 if (!_.GetPointerTypeInfo(i_type, &i_data_type, &i_storage_class)) { in ValidateExtInst()
1371 const uint32_t i_type = _.GetOperandTypeId(inst, 4); in ValidateExtInst() local
1375 if (result_type != i_type) { in ValidateExtInst()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_bsd.c119 ireq.i_type = op; in bsd_set80211()
141 ireq->i_type = op; in bsd_get80211()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_bsd.c115 ireq.i_type = op; in bsd_set80211()
137 ireq->i_type = op; in bsd_get80211()
/third_party/boost/libs/fusion/doc/
Diterator.qbk1079 typedef boost::fusion::result_of::begin<map_type>::type i_type;
1080 typedef boost::fusion::result_of::deref_data<i_type>::type r_type;
/third_party/ltp/tools/sparse/sparse-src/
Devaluate.c3268 struct symbol *i_type = evaluate_expression(idx); in evaluate_offsetof() local
3270 int i_class = classify_type(i_type, &i_type); in evaluate_offsetof()
3276 unrestrict(idx, i_class, &i_type); in evaluate_offsetof()
/third_party/mindspore/mindspore/ccsrc/transform/express_ir/
Donnx_exporter.cc452 … onnx::AttributeProto *const attr_proto, onnx::TensorProto_DataType i_type);
1141 onnx::TensorProto_DataType i_type) { in SetCastNodeProtoInfo() argument
1148 attr_proto->set_i(i_type); in SetCastNodeProtoInfo()

12