/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 80 std::unique_ptr<Annotator> classifier = in TEST_F() local 83 EXPECT_FALSE(classifier); in TEST_F() 86 void VerifyClassifyText(const Annotator* classifier) { in VerifyClassifyText() argument 87 ASSERT_TRUE(classifier); in VerifyClassifyText() 90 FirstResult(classifier->ClassifyText( in VerifyClassifyText() 92 EXPECT_EQ("phone", FirstResult(classifier->ClassifyText( in VerifyClassifyText() 97 FirstResult(classifier->ClassifyText( in VerifyClassifyText() 102 FirstResult(classifier->ClassifyText( in VerifyClassifyText() 108 EXPECT_EQ("other", FirstResult(classifier->ClassifyText("obama", {0, 5}))); in VerifyClassifyText() 109 EXPECT_EQ("other", FirstResult(classifier->ClassifyText("asdf", {0, 4}))); in VerifyClassifyText() [all …]
|
/external/tensorflow/tensorflow/lite/java/ovic/src/test/java/org/tensorflow/ovic/ |
D | OvicClassifierTest.java | 39 private OvicClassifier classifier; field in OvicClassifierTest 84 classifier = new OvicClassifier(labelsInputStream, quantizedModel); in ovicClassifier_quantizedModelCreateSuccess() 85 assertThat(classifier).isNotNull(); in ovicClassifier_quantizedModelCreateSuccess() 90 classifier = new OvicClassifier(labelsInputStream, floatModel); in ovicClassifier_floatModelCreateSuccess() 91 assertThat(classifier).isNotNull(); in ovicClassifier_floatModelCreateSuccess() 96 classifier = new OvicClassifier(labelsInputStream, quantizedModel); in ovicClassifier_quantizedModelClassifySuccess() 97 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_quantizedModelClassifySuccess() 103 classifier = new OvicClassifier(labelsInputStream, floatModel); in ovicClassifier_floatModelClassifySuccess() 104 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_floatModelClassifySuccess() 110 classifier = new OvicClassifier(labelsInputStream, lowResModel); in ovicClassifier_lowResModelClassifySuccess() [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/ |
D | DependencyJar.java | 7 private final String classifier; field in DependencyJar 9 public DependencyJar(String groupId, String artifactId, String version, String classifier) { in DependencyJar() argument 13 this.classifier = classifier; in DependencyJar() 33 return classifier; in getClassifier()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/ |
D | TextClassifierImplTest.java | 68 private TextClassifierImpl classifier; field in TextClassifierImplTest 80 classifier = new TextClassifierImpl(context, settings, modelFileManager); in setup() 97 TextSelection selection = classifier.suggestSelection(null, null, request); in testSuggestSelection() 116 TextSelection selection = classifier.suggestSelection(null, null, request); in testSuggestSelection_url() 131 TextSelection selection = classifier.suggestSelection(null, null, request); in testSmartSelection_withEmoji() 147 classifier.classifyText(/* sessionId= */ null, null, request); in testClassifyText() 162 TextClassification classification = classifier.classifyText(null, null, request); in testClassifyText_url() 175 TextClassification classification = classifier.classifyText(null, null, request); in testClassifyText_address() 190 TextClassification classification = classifier.classifyText(null, null, request); in testClassifyText_url_inCaps() 206 TextClassification classification = classifier.classifyText(null, null, request); in testClassifyText_date() [all …]
|
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicClassifierBenchmarker.java | 32 private OvicClassifier classifier; field in OvicClassifierBenchmarker 42 return (classifier != null); in readyToTest() 56 classifier = new OvicClassifier(labelInputStream, model); in getReadyToTest() 57 int [] inputDims = classifier.getInputDims(); in getReadyToTest() 86 iterResult = classifier.classifyByteBuffer(imgData); in processBitmap() 108 return classifier.getNumPredictions(); in getNumPredictions()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestClassOverride.java | 84 if (this.classifier == null) { in verifyClassifier() 89 Class<?> expectedClass = this.classifier.getClass(); in verifyClassifier() 95 Object context = classifier.getContext(); in verifyClassifier() 116 CustomClassifier classifier = null; field in TestClassOverride 128 classifier = new CustomClassifier(new Integer(TestData.R)); in testClassOverride() 129 bidi.setCustomClassifier(classifier); in testClassOverride() 132 classifier.setContext(null); in testClassOverride()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestClassOverride.java | 81 if (this.classifier == null) { in verifyClassifier() 86 Class<?> expectedClass = this.classifier.getClass(); in verifyClassifier() 92 Object context = classifier.getContext(); in verifyClassifier() 113 CustomClassifier classifier = null; field in TestClassOverride 125 classifier = new CustomClassifier(new Integer(TestData.R)); in testClassOverride() 126 bidi.setCustomClassifier(classifier); in testClassOverride() 129 classifier.setContext(null); in testClassOverride()
|
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/ |
D | bert_nl_classifier_c_api.cc | 48 Categories* BertNLClassifierClassify(const BertNLClassifier* classifier, in BertNLClassifierClassify() argument 51 classifier->impl->Classify(absl::string_view(text).data()); in BertNLClassifierClassify() 66 void BertNLClassifierDelete(BertNLClassifier* classifier) { delete classifier; } in BertNLClassifierDelete() argument
|
D | nl_classifier_c_api.cc | 67 Categories* NLClassifierClassify(const NLClassifier* classifier, in NLClassifierClassify() argument 70 classifier->impl->Classify(absl::string_view(text).data()); in NLClassifierClassify() 85 void NLClassifierDelete(NLClassifier* classifier) { delete classifier; } in NLClassifierDelete() argument
|
D | bert_nl_classifier_c_api.h | 52 const BertNLClassifier* classifier, const char* text); 54 extern void BertNLClassifierDelete(BertNLClassifier* classifier);
|
D | nl_classifier_c_api.h | 63 extern struct Categories* NLClassifierClassify(const NLClassifier* classifier, 66 extern void NLClassifierDelete(NLClassifier* classifier);
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/classifier/ |
D | BUILD | 27 "//tensorflow_lite_support/java/src/native/task/vision/classifier:image_classifier_native", 36 … tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/classifier:image-classifier 38 name = "image-classifier",
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 92 private ImageClassifier classifier; field in Camera2BasicFragment 341 if (classifier != null) { in updateActiveModel() 342 classifier.close(); in updateActiveModel() 343 classifier = null; in updateActiveModel() 355 classifier = new ImageClassifierQuantizedMobileNet(getActivity()); in updateActiveModel() 357 classifier = new ImageClassifierFloatMobileNet(getActivity()); in updateActiveModel() 363 classifier = null; in updateActiveModel() 367 if (classifier == null) { in updateActiveModel() 370 classifier.setNumThreads(numThreads); in updateActiveModel() 373 classifier.useGpu(); in updateActiveModel() [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | classifyTools.py | 164 classifier = Classifier(sort=sort) 165 classifier.update(list_of_sets) 166 return classifier.getClasses(), classifier.getMapping()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | ClassifierActivity.java | 84 private Classifier classifier; field in ClassifierActivity 111 classifier = in onPreviewSizeChosen() 164 final List<Classifier.Recognition> results = classifier.recognizeImage(croppedBitmap); in processImage() 180 classifier.enableStatLogging(debug); in onSetDebug() 198 if (classifier != null) { in renderDebug() 199 String statString = classifier.getStatString(); in renderDebug()
|
/external/tensorflow/tensorflow/python/debug/examples/v1/ |
D | debug_tflearn_iris.py | 53 classifier = tf.estimator.DNNClassifier( 77 classifier.train(training_input_fn, steps=FLAGS.train_steps, hooks=hooks) 80 accuracy_score = classifier.evaluate( 87 predict_results = classifier.predict(test_input_fn, hooks=hooks)
|
/external/webrtc/modules/audio_processing/agc2/ |
D | signal_classifier_unittest.cc | 32 SignalClassifier classifier(&data_dumper); in RunClassifier() local 34 classifier.Initialize(rate); in RunClassifier() 42 classifier.Analyze({&signal[0], samples_per_channel}) == in RunClassifier()
|
/external/conscrypt/openjdk/ |
D | build.gradle | 27 // Add the 64-Bit classifier first, as the preferred classifier. 95 classifier = 'tests' 208 classifier = nativeClassifier 412 // Build the native artifact classifier from the OS and architecture. 414 def classifier = classifierFor(osName, archName) 415 def sourceSetName = sourceSetName("$classifier") 422 // Rename the artifact to include the generated classifier 423 rename '(.+)(\\.[^\\.]+)', "\$1-$classifier\$2" 425 into nativeResourcesDir(classifier) + '/META-INF/native' 466 SourceSet sourceSet(classifier) { [all …]
|
/external/grpc-grpc-java/netty/shaded/ |
D | build.gradle | 28 // Must use a different classifier to avoid conflicting with shadowJar 29 classifier = 'original' 31 configurations.archives.artifacts.removeAll { it.classifier == "original" } 34 classifier = null
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/text/nlclassifier/ |
D | BUILD | 52 # tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/text/nlclassifier:nl-classifier 54 name = "nl-classifier", 75 …tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/text/nlclassifier:bert-nl-classifier 77 name = "bert-nl-classifier",
|
/external/okhttp/website/static/ |
D | jquery-maven-artifact.min.js | 7 …eof e.classifier!="undefined"&&(r+="-"+e.classifier),r+="."+e.packaging,r}function r(e){var t={gro… property
|
/external/grpc-grpc-java/alts/ |
D | build.gradle | 64 // Must use a different classifier to avoid conflicting with shadowJar 65 classifier = 'original' 67 configurations.archives.artifacts.removeAll { it.classifier == "original" } 72 classifier = null
|
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/ |
D | image_classifier.md | 6 _image classification_. An image classifier is trained to recognize various 31 ## Supported image classifier models 43 … on TensorFlow Hub](https://tfhub.dev/tensorflow/collections/lite/task-library/image-classifier/1). 94 …/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/classifier/ImageClassifier.… 120 [bird classifier](https://tfhub.dev/google/lite-model/aiy/vision/classifier/birds_V1/3). 144 …w/tflite-support/tree/master/tensorflow_lite_support/examples/task/vision/desktop#image-classifier) 152 The compatible image classifier models should meet the following requirements:
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/proto/ |
D | classifications.proto | 22 // List of predicted classes (aka labels) for a given image classifier head. 27 // The index of the image classifier head these classes refer to. This is 32 // Contains one set of results per image classifier head.
|
/external/iproute2/examples/diffserv/ |
D | README | 7 and the tcindex classifier with some algorithmic mapping 12 DSMARK( to remark DSCPs), tcindex classifier and RED for the BE 18 tcindex classifier, DSMARK to remark, and RED for the BE traffic 27 The major differences are that the classifier is u32 on -u32 extension
|