Searched refs:NLClassifierOptions (Results 1 – 10 of 10) sorted by relevance
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/text/nlclassifier/ |
D | NLClassifier.java | 72 public abstract static class NLClassifierOptions { class in NLClassifier 125 public abstract NLClassifierOptions build(); in build() 150 return createFromFileAndOptions(context, pathToModel, NLClassifierOptions.builder().build()); in createFromFile() 161 return createFromFileAndOptions(modelFile, NLClassifierOptions.builder().build()); in createFromFile() 174 Context context, String pathToModel, NLClassifierOptions options) throws IOException { in createFromFileAndOptions() 187 File modelFile, final NLClassifierOptions options) throws IOException { in createFromFileAndOptions() 213 final ByteBuffer modelBuffer, final NLClassifierOptions options) { 240 NLClassifierOptions options, ByteBuffer modelBuffer); 242 private static native long initJniWithFileDescriptor(NLClassifierOptions options, int fd);
|
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/ |
D | nl_classifier.h | 44 struct NLClassifierOptions { struct 94 const NLClassifierOptions& options = {}, 101 const std::string& path_to_model, const NLClassifierOptions& options = {}, 108 int fd, const NLClassifierOptions& options = {}, 119 absl::Status Initialize(const NLClassifierOptions& options); 120 const NLClassifierOptions& GetOptions() const; 169 NLClassifierOptions options_;
|
D | nl_classifier_c_api.h | 47 struct NLClassifierOptions { struct 60 const struct NLClassifierOptions* options); argument
|
D | nl_classifier_c_api.cc | 27 ::tflite::task::text::nlclassifier::NLClassifierOptions; 38 const char* model_path, const NLClassifierOptions* options) { in NLClassifierFromFileAndOptions()
|
D | nl_classifier.cc | 141 const NLClassifierOptions& NLClassifier::GetOptions() const { return options_; } in GetOptions() 298 absl::Status NLClassifier::Initialize(const NLClassifierOptions& options) { in Initialize() 402 const NLClassifierOptions& options, in CreateFromBufferAndOptions() 414 const std::string& path_to_model, const NLClassifierOptions& options, in CreateFromFileAndOptions() 425 int fd, const NLClassifierOptions& options, in CreateFromFdAndOptions()
|
/external/tflite-support/tensorflow_lite_support/java/src/native/task/text/nlclassifier/ |
D | nl_classifier_jni.cc | 40 using ::tflite::task::text::nlclassifier::NLClassifierOptions; 44 NLClassifierOptions ConvertJavaNLClassifierOptions( in ConvertJavaNLClassifierOptions()
|
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/ |
D | nl_classifier.md | 64 // Initialization, use NLClassifierOptions to configure input and output tensors 65 NLClassifierOptions options = NLClassifierOptions.builder().setInputTensorName(INPUT_TENSOR_NAME).s…
|
/external/tflite-support/tensorflow_lite_support/examples/task/text/desktop/ |
D | nl_classifier_demo.cc | 47 NLClassifierOptions options{}; in Classify()
|
/external/tflite-support/tensorflow_lite_support/ios/task/text/nlclassifier/Sources/ |
D | TFLNLClassifier.m | 44 struct NLClassifierOptions cOptions = {
|
/external/tflite-support/tensorflow_lite_support/cc/task/ |
D | README.md | 72 configurations in NLClassifierOptions, with tensor name prioritized over 81 // Or create a customized NLClassifierOptions 82 // NLClassifierOptions options =
|