Home
last modified time | relevance | path

Searched refs:splits (Results 1 – 25 of 143) sorted by relevance

123456

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dragged_range_fp32.c18 void RaggedRangeFp32(const float *starts, const float *limits, const float *deltas, int *splits, fl… in RaggedRangeFp32() argument
20 splits[0] = 0; in RaggedRangeFp32()
26 splits[i + 1] = splits[i] + len; in RaggedRangeFp32()
34 void RaggedRangeInt(const int *starts, const int *limits, const int *deltas, int *splits, int *valu… in RaggedRangeInt() argument
36 splits[0] = 0; in RaggedRangeInt()
43 splits[i + 1] = splits[i] + len; in RaggedRangeInt()
Dragged_range_fp32.h26 void RaggedRangeFp32(const float *starts, const float *limits, const float *deltas, int *splits, fl…
28 void RaggedRangeInt(const int *starts, const int *limits, const int *deltas, int *splits, int *valu…
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dtokenizer_op.cc33 std::vector<std::string> splits; in Compute() local
34 RETURN_IF_NOT_OK(Tokenize(str, &splits, &offsets_start, &offsets_limit)); in Compute()
36 if (splits.empty()) { in Compute()
37 (void)splits.emplace_back(""); in Compute()
41 RETURN_IF_NOT_OK(Tensor::CreateFromVector(splits, &token_tensor)); in Compute()
Dwhitespace_tokenizer_op.cc30 Status WhitespaceTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument
45 (void)splits->emplace_back(std::move(temp)); in Tokenize()
59 (void)splits->emplace_back(std::move(temp)); in Tokenize()
61 if (splits->empty()) { in Tokenize()
62 (void)splits->emplace_back(""); in Tokenize()
Dunicode_script_tokenizer_op.cc36 Status UnicodeScriptTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument
66 (void)splits->emplace_back(std::move(temp)); in Tokenize()
81 (void)splits->emplace_back(std::move(temp)); in Tokenize()
Dunicode_char_tokenizer_op.cc29 Status UnicodeCharTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument
41 *splits = std::move(words); in Tokenize()
Dregex_tokenizer_op.cc110 Status RegexTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument
112 …RETURN_IF_NOT_OK(GetRegexTokens(std::string(str.data(), str.size()), splits, offsets_start, offset… in Tokenize()
Dwhitespace_tokenizer_op.h37 …Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32_t> *off…
Dunicode_char_tokenizer_op.h36 …Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32_t> *off…
Dunicode_script_tokenizer_op.h40 …Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32_t> *off…
Dtokenizer_op.h37 …virtual Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32… in Tokenize() argument
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dragged_range_fp16.c18 …edRangeFp16(const float16_t *starts, const float16_t *limits, const float16_t *deltas, int *splits, in RaggedRangeFp16() argument
20 splits[0] = 0; in RaggedRangeFp16()
26 splits[i + 1] = splits[i] + len; in RaggedRangeFp16()
Dragged_range_fp16.h27 …edRangeFp16(const float16_t *starts, const float16_t *limits, const float16_t *deltas, int *splits,
/third_party/flutter/skia/src/pathops/
DSkOpEdgeBuilder.cpp285 } splits[4]; in walk() local
286 SkASSERT(SK_ARRAY_COUNT(splits) == SK_ARRAY_COUNT(splitT) + 1); in walk()
289 Splitsville* split = &splits[index]; in walk()
302 Splitsville* split = &splits[index]; in walk()
307 while (prior > 0 && !splits[prior - 1].fCanAdd) { in walk()
311 split->fT[0] = splits[prior].fT[0]; in walk()
312 split->fPts[0] = splits[prior].fPts[0]; in walk()
315 int breakLimit = SkTMin(breaks, (int) SK_ARRAY_COUNT(splits) - 1); in walk()
316 while (next < breakLimit && !splits[next + 1].fCanAdd) { in walk()
320 split->fT[1] = splits[next].fT[1]; in walk()
[all …]
/third_party/skia/src/pathops/
DSkOpEdgeBuilder.cpp279 } splits[4]; in walk() local
280 SkASSERT(SK_ARRAY_COUNT(splits) == SK_ARRAY_COUNT(splitT) + 1); in walk()
283 Splitsville* split = &splits[index]; in walk()
296 Splitsville* split = &splits[index]; in walk()
301 while (prior > 0 && !splits[prior - 1].fCanAdd) { in walk()
305 split->fT[0] = splits[prior].fT[0]; in walk()
306 split->fPts[0] = splits[prior].fPts[0]; in walk()
309 int breakLimit = std::min(breaks, (int) SK_ARRAY_COUNT(splits) - 1); in walk()
310 while (next < breakLimit && !splits[next + 1].fCanAdd) { in walk()
314 split->fT[1] = splits[next].fT[1]; in walk()
[all …]
/third_party/python/Tools/unicode/
Dgencodec.py146 splits = 1
151 splits = 0
181 if splits == 0:
187 splits = splits + 1
188 if splits == 0:
/third_party/mbedtls/tests/scripts/
Dtest_generate_test_code.py1009 splits = escaped_split('', ':')
1010 self.assertEqual(splits, [])
1019 splits = escaped_split(test_str, ':')
1020 self.assertEqual(splits, test_str.split(':'))
1028 splits = escaped_split(test_str, ':')
1029 self.assertEqual(splits, [r'yahoo\:google', 'facebook'])
1037 splits = escaped_split(test_str, ':')
1038 self.assertEqual(splits, [r'yahoo\\', 'google', 'facebook'])
1046 splits = escaped_split(test_str, ':')
1047 self.assertEqual(splits, [r'yahoo\\', r'google',
/third_party/re2/re2/
Dprog.cc845 Bitmap256 splits; in ComputeHints() local
854 splits.Clear(); in ComputeHints()
856 splits.Set(255); in ComputeHints()
872 if (0 <= lo && !splits.Test(lo)) { in ComputeHints()
873 splits.Set(lo); in ComputeHints()
874 int next = splits.FindNextSetBit(lo+1); in ComputeHints()
877 if (!splits.Test(hi)) { in ComputeHints()
878 splits.Set(hi); in ComputeHints()
879 int next = splits.FindNextSetBit(hi+1); in ComputeHints()
885 int next = splits.FindNextSetBit(c); in ComputeHints()
/third_party/ffmpeg/libavfilter/
Daf_acrossover.c66 float splits[MAX_SPLITS]; member
170 if (i > 0 && freq <= s->splits[i-1]) { in init()
175 s->splits[i] = freq; in init()
475 set_lp(&s->lp[band][0], s->splits[band], 0.5, sample_rate);
476 set_hp(&s->hp[band][0], s->splits[band], 0.5, sample_rate);
482 set_lp(&s->lp[band][n], s->splits[band], q[idx], sample_rate);
483 set_hp(&s->hp[band][n], s->splits[band], q[idx], sample_rate);
487 set_ap1(&s->ap[band][0], s->splits[band], sample_rate);
492 set_ap(&s->ap[band][n], s->splits[band], q[idx], sample_rate);
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Ddepthwise_conv2d_info.cc53 …eSplitConstantTensors(const tensor::TensorPtr &constant_tensor, const std::vector<int64_t> &splits, in CreateSplitConstantTensors() argument
59 int64_t split_num = static_cast<int64_t>(splits.size()); in CreateSplitConstantTensors()
61 total_block_count += splits.at(i); in CreateSplitConstantTensors()
69 visited_block += splits[i]; in CreateSplitConstantTensors()
90 visited_block += splits[i]; in CreateSplitConstantTensors()
333 const std::vector<int64_t> &splits) { in CreateOutputsOfSplit() argument
355 std::vector<int64_t> new_splits = splits; in CreateOutputsOfSplit()
/third_party/icu/icu4c/source/test/intltest/
Dcsdetest.cpp117 static UnicodeString *split(const UnicodeString &src, UChar ch, int32_t &splits) in split() argument
121 splits = 1; in split()
123 splits += 1; in split()
126 UnicodeString *result = new UnicodeString[splits]; in split()
159 int32_t splits = 0; in checkEncoding() local
161 std::unique_ptr<UnicodeString []> eSplit(split(encoding, CH_SLASH, splits)); in checkEncoding()
212 if (splits > 1 && lang.compare(eSplit[1]) != 0) { in checkEncoding()
Dfldset.cpp70 static UnicodeString *split(const UnicodeString &src, UChar ch, int32_t &splits) in split() argument
74 splits = 1; in split()
76 splits += 1; in split()
79 UnicodeString *result = new UnicodeString[splits]; in split()
/third_party/typescript/src/testRunner/unittests/
DincrementalParser.ts898 const splits = text.split(tsIgnoreComment); constant
899 if (splits.length > 2) {
900 const tail = splits[splits.length - 2] + splits[splits.length - 1]; constant
901 splits.length = splits.length - 2;
902 return splits.join(tsIgnoreComment) + tail;
905 return splits.join(tsIgnoreComment);
/third_party/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc247 std::vector<absl::string_view> splits = absl::StrSplit(uri, '/'); in IsSpiffeId() local
248 if (splits.size() < 4 || splits[3] == "") { in IsSpiffeId()
252 if (splits[2].size() > 255) { in IsSpiffeId()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dbuild_apk.dart28 …'To learn more, see: https://developer.android.com/studio/build/configure-apk-splits#configure-abi…
77 …printStatus('Learn more on: https://developer.android.com/studio/build/configure-apk-splits#confi…

123456