Home
last modified time | relevance | path

Searched refs:edit_distance (Results 1 – 25 of 51) sorted by relevance

123

/external/tensorflow/tensorflow/python/kernel_tests/
Dedit_distance_op_test.py47 edit_distance = array_ops.edit_distance(
51 self.assertEqual(edit_distance.get_shape(), expected_shape)
52 output = self.evaluate(edit_distance)
56 self.evaluate(edit_distance)
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringRefTest.cpp519 EXPECT_EQ(2U, Hello.edit_distance("hill")); in TEST()
522 EXPECT_EQ(6U, Industry.edit_distance("interest")); in TEST()
525 EXPECT_EQ(19U, Soylent.edit_distance("people soiled our green")); in TEST()
526 EXPECT_EQ(26U, Soylent.edit_distance("people soiled our green", in TEST()
528 EXPECT_EQ(9U, Soylent.edit_distance("people soiled our green", in TEST()
531 EXPECT_EQ(53U, Soylent.edit_distance("people soiled our green " in TEST()
/external/clang/lib/AST/
DCommentCommandTraits.cpp64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()
DCommentSema.cpp996 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringRef.h166 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/swiftshader/third_party/LLVM/lib/Support/
DStringRef.cpp78 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/swiftshader/third_party/LLVM/unittests/ADT/
DStringRefTest.cpp278 EXPECT_EQ(2U, Str.edit_distance("hill")); in TEST()
/external/llvm/include/llvm/ADT/
DStringRef.h200 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/llvm/lib/Support/
DStringRef.cpp104 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringRef.cpp109 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/clang/lib/Basic/
DDiagnosticIDs.cpp580 unsigned Distance = O.getName().edit_distance(Group, true, BestDistance); in getNearestOption()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DStringRef.cpp95 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Option/
DOptTable.cpp303 CandidateName.edit_distance(NormalizedName, /*AllowReplacements=*/true, in findNearest()
/external/swiftshader/third_party/LLVM/utils/FileCheck/
DFileCheck.cpp362 return BufferPrefix.edit_distance(ExampleString); in ComputeMatchDistance()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringRef.h220 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/clang/lib/Lex/
DPPLexerChange.cpp326 const unsigned ED = ControllingMacroName.edit_distance( in HandleEndOfFile()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringRef.h223 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.pbtxt564 name: "edit_distance"
565 …', \'normalize\', \'name\'], varargs=None, keywords=None, defaults=[\'True\', \'edit_distance\'], "
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h174 namespace edit_distance {
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h174 namespace edit_distance {
/external/llvm/unittests/ADT/
DStringRefTest.cpp394 EXPECT_EQ(2U, Str.edit_distance("hill")); in TEST()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h174 namespace edit_distance {
/external/tensorflow/tensorflow/python/ops/
Darray_ops.py2489 def edit_distance(hypothesis, truth, normalize=True, name="edit_distance"): function
2555 return gen_array_ops.edit_distance(
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h162 namespace edit_distance { in GTEST_DISABLE_MSC_WARNINGS_POP_()
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h151 namespace edit_distance { in GTEST_DISABLE_MSC_WARNINGS_POP_()

123