Home
last modified time | relevance | path

Searched refs:setNumThreads (Results 1 – 22 of 22) sorted by relevance

/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/model/
DModel.java69 public Builder setNumThreads(int numThreads) { in setNumThreads() method in Model.Options.Builder
130 public Builder setNumThreads(int numThreads) { in setNumThreads() method in Model.Builder
139 Options options = new Options.Builder().setNumThreads(numThreads).setDevice(device).build(); in build()
205 interpreterOptions.setNumThreads(options.numThreads); in createModel()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java96 public Options setNumThreads(int numThreads) { in setNumThreads() method in Interpreter.Options
217 this(modelFile, new Options().setNumThreads(numThreads)); in Interpreter()
260 this(byteBuffer, new Options().setNumThreads(numThreads)); in Interpreter()
642 public void setNumThreads(int numThreads) { in setNumThreads() method in Interpreter
644 wrapper.setNumThreads(numThreads); in setNumThreads()
DNativeInterpreterWrapper.java262 void setNumThreads(int numThreads) { in setNumThreads() method in NativeInterpreterWrapper
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterMobileNetTest.java54 runMobileNetFloatTest(new Interpreter.Options().setNumThreads(2)); in testMobileNetMultithreaded()
64 runMobileNetFloatTest(new Interpreter.Options().setUseXNNPACK(true).setNumThreads(2)); in testMobileNetEnhancedCpuKernelsMultithreaded()
74 runMobileNetQuantizedTest(new Interpreter.Options().setNumThreads(2)); in testMobileNetQuantizedMultithreaded()
DNativeInterpreterWrapperTest.java72 FLOAT_MODEL_PATH, new Interpreter.Options().setNumThreads(2).setUseNNAPI(true))) { in testConstructorWithOptions()
DInterpreterTest.java81 .setNumThreads(2) in testInterpreterWithOptions()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/segmenter/
DImageSegmenter.java221 .setNumThreads(NUM_THREADS);
247 public abstract Builder setNumThreads(int numThreads);
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java194 public void setNumThreads(int numThreads) { in setNumThreads() method in ImageClassifier
195 tfliteOptions.setNumThreads(numThreads); in setNumThreads()
DCamera2BasicFragment.java370 classifier.setNumThreads(numThreads); in updateActiveModel()
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicDetector.java65 tflite = new Interpreter(model, new Interpreter.Options().setNumThreads(1)); in OvicDetector()
DOvicClassifier.java77 tflite = new Interpreter(model, new Interpreter.Options().setNumThreads(1)); in OvicClassifier()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/detector/
DObjectDetector.java338 public Builder setNumThreads(int numThreads) {
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/classifier/
DImageClassifier.java318 public Builder setNumThreads(int numThreads) {
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/
Dcodegen.md82 Model.Options.Builder().setNumThreads(4).build()
107 options = Model.Options.Builder().setNumThreads(4).build();
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dgpu.md191 this.setNumThreads(4)
221 options.setNumThreads(4);
Dgpu_advanced.md107 this.setNumThreads(4)
137 options.setNumThreads(4);
/external/llvm-project/llvm/include/llvm/DWARFLinker/
DDWARFLinker.h276 void setNumThreads(unsigned NumThreads) { Options.Threads = NumThreads; } in setNumThreads() function
/external/llvm-project/llvm/tools/dsymutil/
DDwarfLinkerForBinary.cpp322 GeneralLinker.setNumThreads(Options.Threads); in link()
/external/clang/include/clang/AST/
DOpenMPClause.h343 void setNumThreads(Expr *NThreads) { NumThreads = NThreads; } in setNumThreads() function
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1964 C->setNumThreads(Reader->Reader.ReadSubExpr()); in VisitOMPNumThreadsClause()
/external/llvm-project/clang/include/clang/AST/
DOpenMPClause.h609 void setNumThreads(Expr *NThreads) { NumThreads = NThreads; } in setNumThreads() function
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp12131 C->setNumThreads(Record.readSubExpr()); in VisitOMPNumThreadsClause()