Home
last modified time | relevance | path

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/
DNLClassifier.java72 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/
Dnl_classifier.h44 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_;
Dnl_classifier_c_api.h47 struct NLClassifierOptions { struct
60 const struct NLClassifierOptions* options); argument
Dnl_classifier_c_api.cc27 ::tflite::task::text::nlclassifier::NLClassifierOptions;
38 const char* model_path, const NLClassifierOptions* options) { in NLClassifierFromFileAndOptions()
Dnl_classifier.cc141 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/
Dnl_classifier_jni.cc40 using ::tflite::task::text::nlclassifier::NLClassifierOptions;
44 NLClassifierOptions ConvertJavaNLClassifierOptions( in ConvertJavaNLClassifierOptions()
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/
Dnl_classifier.md64 // 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/
Dnl_classifier_demo.cc47 NLClassifierOptions options{}; in Classify()
/external/tflite-support/tensorflow_lite_support/ios/task/text/nlclassifier/Sources/
DTFLNLClassifier.m44 struct NLClassifierOptions cOptions = {
/external/tflite-support/tensorflow_lite_support/cc/task/
DREADME.md72 configurations in NLClassifierOptions, with tensor name prioritized over
81 // Or create a customized NLClassifierOptions
82 // NLClassifierOptions options =