/third_party/mindspore/mindspore/core/ops/ |
D | split.cc | 24 void Split::Init(const int64_t axis, const int64_t output_num) { in Init() 29 void Split::set_size_splits(const std::vector<int64_t> &size_splits) { in set_size_splits() 32 void Split::set_axis(const int64_t axis) { (void)this->AddAttr(kAxis, MakeValue(axis)); } in set_axis() 33 void Split::set_output_num(const int64_t output_num) { (void)this->AddAttr(kOutputNum, MakeValue(ou… in set_output_num() 35 std::vector<int64_t> Split::get_size_splits() const { in get_size_splits() 40 int64_t Split::get_axis() const { in get_axis() 45 int64_t Split::get_output_num() const { in get_output_num() 50 REGISTER_PRIMITIVE_C(kNameSplit, Split);
|
D | split.h | 31 class MS_CORE_API Split : public PrimitiveC { 34 Split() : PrimitiveC(kNameSplit) {} in Split() function 36 ~Split() = default; 37 MS_DECLARE_PARENT(Split, PrimitiveC); 61 using PrimSplit = std::shared_ptr<Split>;
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/ |
D | split_gpu_kernel.cc | 22 …Split, KernelAttr().AddAllSameAttr(true).AddInputAttr(kNumberTypeFloat16).AddOutputAttr(kNumberTyp… 25 …Split, KernelAttr().AddAllSameAttr(true).AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTyp… 28 …Split, KernelAttr().AddAllSameAttr(true).AddInputAttr(kNumberTypeFloat64).AddOutputAttr(kNumberTyp… 30 MS_REG_GPU_KERNEL_ONE(Split, 34 …Split, KernelAttr().AddAllSameAttr(true).AddInputAttr(kNumberTypeUInt32).AddOutputAttr(kNumberType… 36 MS_REG_GPU_KERNEL_ONE(Split, 39 MS_REG_GPU_KERNEL_ONE(Split,
|
/third_party/mindspore/tests/st/ops/cpu/ |
D | test_split_op.py | 40 op = P.Split(0, 1) 55 op = P.Split(2, 2) 72 op = P.Split(-1, 2) 87 op = P.Split(5, 2) 96 op = P.Split(5, 3) 109 op = P.Split(5, 2) 118 op = P.Split(5, 3) 131 op = P.Split(-1, 2) 140 op = P.Split(-1, 5) 155 op = P.Split(5, 2) [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | split_cpu_kernel.h | 55 MS_REG_CPU_KERNEL_T(Split, KernelAttr(), SplitCPUKernel, float); 56 MS_REG_CPU_KERNEL_T(Split, KernelAttr(), SplitCPUKernel, float16); 57 MS_REG_CPU_KERNEL_T(Split, KernelAttr(), SplitCPUKernel, double); 58 MS_REG_CPU_KERNEL_T(Split, KernelAttr(), SplitCPUKernel, int32_t); 59 MS_REG_CPU_KERNEL_T(Split, KernelAttr(), SplitCPUKernel, uint32_t); 60 MS_REG_CPU_KERNEL_T(Split, KernelAttr(), SplitCPUKernel, int64_t);
|
/third_party/re2/re2/testing/ |
D | exhaustive1_test.cc | 17 std::vector<std::string> ops = Split(" ", in TEST() 29 std::vector<std::string> ops = Split(" ", in TEST() 33 ExhaustiveTest(3, 2, Split(" ", "a (a) b"), ops, in TEST() 35 ExhaustiveTest(3, 2, Split(" ", "a (a)"), ops, in TEST()
|
D | random_test.cc | 67 RandomTest(5, 5, Split(" ", "a (b) ."), RegexpGenerator::EgrepOps(), in TEST() 75 RandomTest(10, 10, Split(" ", "a (b) ."), RegexpGenerator::EgrepOps(), in TEST() 85 std::vector<std::string> ops = Split(" ", in TEST() 93 std::vector<std::string> atoms = Split(" ", in TEST()
|
D | exhaustive2_test.cc | 19 ExhaustiveTest(2, 2, Split(" ", "(?:) a"), in TEST() 21 5, Split("", "ab"), "", ""); in TEST() 38 ExhaustiveTest(2, 2, Split(" ", "(?:^) (?:$) . a \\n (?:\\A) (?:\\z)"), in TEST()
|
D | exhaustive3_test.cc | 20 std::vector<std::string> atoms = Split(" ", in TEST() 28 std::vector<std::string> atoms = Split(" ", in TEST() 73 std::vector<std::string> atoms = Split(" ", in TEST() 86 std::vector<std::string> atoms = Split(" ", in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DataLayout.cpp | 200 std::pair<StringRef, StringRef> Split = Str.split(Separator); in split() local 201 if (Split.second.empty() && Split.first != Str) in split() 203 if (!Split.second.empty() && Split.first.empty()) in split() 205 return Split; in split() 235 std::pair<StringRef, StringRef> Split = split(Desc, '-'); in parseSpecifier() local 236 Desc = Split.second; in parseSpecifier() 239 Split = split(Split.first, ':'); in parseSpecifier() 242 StringRef &Tok = Split.first; // Current token. in parseSpecifier() 243 StringRef &Rest = Split.second; // The rest of the string. in parseSpecifier() 247 Split = split(Rest, ':'); in parseSpecifier() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | StringMatcher.cpp | 63 std::pair<StringRef, StringRef> Split = Code.split('\n'); in EmitStringMatcherForChar() local 64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar() 66 Code = Split.second; in EmitStringMatcherForChar() 68 Split = Code.split('\n'); in EmitStringMatcherForChar() 69 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar() 70 Code = Split.second; in EmitStringMatcherForChar()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Regex.cpp | 128 std::pair<StringRef, StringRef> Split = Repl.split('\\'); in sub() local 131 Res += Split.first; in sub() 134 if (Split.second.empty()) { in sub() 135 if (Repl.size() != Split.first.size() && in sub() 142 Repl = Split.second; in sub()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | DeltaAlgorithm.cpp | 28 void DeltaAlgorithm::Split(const changeset_ty &S, changesetlist_ty &Res) { in Split() function in DeltaAlgorithm 62 Split(*it, SplitSets); in Delta() 78 Split(*it, Sets); in Search() 111 Split(Changes, Sets); in Run()
|
D | Regex.cpp | 147 std::pair<StringRef, StringRef> Split = Repl.split('\\'); in sub() local 150 Res += Split.first; in sub() 153 if (Split.second.empty()) { in sub() 154 if (Repl.size() != Split.first.size() && in sub() 161 Repl = Split.second; in sub()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | RecordStreamer.cpp | 211 std::pair<StringRef, StringRef> Split = AliasName.split("@@@"); in flushSymverDirectives() local 213 if (!Split.second.empty() && !Split.second.startswith("@")) { in flushSymverDirectives() 218 (Split.first + Separator + Split.second).toStringRef(NewName); in flushSymverDirectives()
|
/third_party/grpc/src/compiler/ |
D | ruby_generator_string-inl.h | 34 inline std::vector<std::string>& Split(const std::string& s, char delim, in Split() function 45 inline std::vector<std::string> Split(const std::string& s, char delim) { in Split() function 47 Split(s, delim, &elems); in Split() 131 std::vector<std::string> prefixes_and_type = Split(res, '.'); in RubyTypeOf()
|
D | generator_helpers.h | 169 inline void Split(const std::string& s, char /*delim*/, in Split() function 196 Split(comments, '\n', out); in GetComment() 200 Split(location.leading_detached_comments[i], '\n', out); in GetComment() 225 Split(location.leading_comments, '\n', out); in GetComment() 229 Split(location.leading_detached_comments[i], '\n', out); in GetComment()
|
/third_party/abseil-cpp/absl/strings/ |
D | str_split_test.cc | 42 TEST(Split, TraitsTest) { in TEST() argument 74 TEST(Split, APIExamples) { in TEST() argument 331 TEST(Split, EmptyAndNull) { in TEST() argument 533 TEST(Split, Basics) { in TEST() argument 570 TEST(Split, AcceptsCertainTemporaries) { in TEST() argument 580 TEST(Split, Temporary) { in TEST() argument 612 TEST(Split, LvalueCaptureIsCopyable) { in TEST() argument 621 TEST(Split, TemporaryCaptureIsCopyable) { in TEST() argument 629 TEST(Split, SplitterIsCopyableAndMoveable) { in TEST() argument 641 TEST(Split, StringDelimiter) { in TEST() argument [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | str_split_test.cc | 44 TEST(Split, TraitsTest) { in TEST() argument 76 TEST(Split, APIExamples) { in TEST() argument 333 TEST(Split, EmptyAndNull) { in TEST() argument 555 TEST(Split, Basics) { in TEST() argument 592 TEST(Split, AcceptsCertainTemporaries) { in TEST() argument 602 TEST(Split, Temporary) { in TEST() argument 634 TEST(Split, LvalueCaptureIsCopyable) { in TEST() argument 643 TEST(Split, TemporaryCaptureIsCopyable) { in TEST() argument 651 TEST(Split, SplitterIsCopyableAndMoveable) { in TEST() argument 663 TEST(Split, StringDelimiter) { in TEST() argument [all …]
|
/third_party/typescript/tests/cases/conformance/types/literal/ |
D | templateLiteralTypes1.ts | 122 type Split<S extends string, D extends string> = alias 125 S extends `${infer T}${D}${infer U}` ? [T, ...Split<U, D>] : 128 type T40 = Split<'foo', '.'>; // ['foo'] 129 type T41 = Split<'foo.bar.baz', '.'>; // ['foo', 'bar', 'baz'] 130 type T42 = Split<'foo.bar', ''>; // ['f', 'o', 'o', '.', 'b', 'a', 'r'] 131 type T43 = Split<any, '.'>; // string[]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | BuddyAllocator.cpp | 45 } else if (block->mState == BlockState::Split) { in ComputeNumOfFreeBlocks() 188 currBlock->mState = BlockState::Split; in Allocate() 211 while (curr->mState == BlockState::Split) { in Deallocate() 256 if (block->mState == BlockState::Split) { in DeleteBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | SubtargetFeature.cpp | 33 void SubtargetFeatures::Split(std::vector<std::string> &V, StringRef S) { in Split() function in SubtargetFeatures 49 Split(Features, Initial); in SubtargetFeatures()
|
/third_party/typescript/tests/baselines/reference/ |
D | templateLiteralTypes1.js | 120 type Split<S extends string, D extends string> = 123 S extends `${infer T}${D}${infer U}` ? [T, ...Split<U, D>] : 126 type T40 = Split<'foo', '.'>; // ['foo'] 127 type T41 = Split<'foo.bar.baz', '.'>; // ['foo', 'bar', 'baz'] 128 type T42 = Split<'foo.bar', ''>; // ['f', 'o', 'o', '.', 'b', 'a', 'r'] 129 type T43 = Split<any, '.'>; // string[] 342 …ype Split<S extends string, D extends string> = string extends S ? string[] : S extends '' ? [] : … 345 declare type T40 = Split<'foo', '.'>; 346 declare type T41 = Split<'foo.bar.baz', '.'>; 347 declare type T42 = Split<'foo.bar', ''>; [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 111 return FromStringEnumerable<Empty>(new List<string>(value.Split(FIELD_PATH_SEPARATOR))); in FromString() 120 return FromStringEnumerable<T>(new List<string>(value.Split(FIELD_PATH_SEPARATOR))); 250 var parts = path.Split(FIELD_SEPARATOR_REGEX); in IsValid()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | RemarkParser.cpp | 29 std::pair<StringRef, StringRef> Split = InBuffer.split('\0'); in ParsedStringTable() local 31 Offsets.push_back(Split.first.data() - Buffer.data()); in ParsedStringTable() 32 InBuffer = Split.second; in ParsedStringTable()
|