Uses of Class opennlp.dl.InferenceOptions (Apache OpenNLP :: Core :: ML :: Deep Learning 3.0.0-M4 API)
Description: use: package: opennlp.dl, class: InferenceOptions

# Uses of Class
opennlp.dl.InferenceOptions

Packages that use InferenceOptions
Package
Description
opennlp.dl
opennlp.dl.doccat
opennlp.dl.namefinder

- ## Uses of InferenceOptions in opennlp.dl

  Methods in opennlp.dl with parameters of type InferenceOptions
  Modifier and Type
  Method
  Description
  `protected static boolean`
  AbstractDL.`resolveLowerCase(InferenceOptions options, boolean componentDefault)`
  Resolves the effective lower casing behavior from the given `InferenceOptions`.
  `protected static ai.onnxruntime.OrtSession.SessionOptions`
  AbstractDL.`sessionOptions(InferenceOptions inferenceOptions)`
  Builds ONNX session options from the given `InferenceOptions`, enabling the CUDA execution provider on the configured device when GPU inference is requested.
  `protected static void`
  AbstractDL.`validateSplitOptions(InferenceOptions options)`
  Validates the document splitting options used by tokenizers that split long inputs.

- ## Uses of InferenceOptions in opennlp.dl.doccat

  Constructors in opennlp.dl.doccat with parameters of type InferenceOptions
  Modifier
  Constructor
  Description
  ``
  `DocumentCategorizerDL(File model, File vocabulary, File config, ClassificationScoringStrategy classificationScoringStrategy, InferenceOptions inferenceOptions)`
  Instantiates a `document categorizer` using ONNX models.
  ``
  `DocumentCategorizerDL(File model, File vocabulary, Map<Integer,String> categories, ClassificationScoringStrategy classificationScoringStrategy, InferenceOptions inferenceOptions)`
  Instantiates a `document categorizer` using ONNX models.

- ## Uses of InferenceOptions in opennlp.dl.namefinder

  Constructors in opennlp.dl.namefinder with parameters of type InferenceOptions
  Modifier
  Constructor
  Description
  ``
  `NameFinderDL(File model, File vocabulary, Map<Integer,String> ids2Labels, InferenceOptions inferenceOptions, opennlp.tools.sentdetect.SentenceDetector sentenceDetector)`
  Instantiates a `name finder` using ONNX models.