Package opennlp.dl

# Class InferenceOptions

java.lang.Object
opennlp.dl.InferenceOptions

public class InferenceOptions extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InferenceOptions()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getDocumentSplitSize()`
  `int`
  `getGpuDeviceId()`
  `int`
  `getSplitOverlapSize()`
  `boolean`
  `isGpu()`
  `boolean`
  `isIncludeAttentionMask()`
  `boolean`
  `isIncludeTokenTypeIds()`
  `void`
  `setDocumentSplitSize(int documentSplitSize)`
  `void`
  `setGpu(boolean gpu)`
  `void`
  `setGpuDeviceId(int gpuDeviceId)`
  `void`
  `setIncludeAttentionMask(boolean includeAttentionMask)`
  `void`
  `setIncludeTokenTypeIds(boolean includeTokenTypeIds)`
  `void`
  `setSplitOverlapSize(int splitOverlapSize)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### InferenceOptions

    public InferenceOptions()

- ## Method Details

  - ### isIncludeAttentionMask

    public boolean isIncludeAttentionMask()

  - ### setIncludeAttentionMask

    public void setIncludeAttentionMask(boolean includeAttentionMask)

  - ### isIncludeTokenTypeIds

    public boolean isIncludeTokenTypeIds()

  - ### setIncludeTokenTypeIds

    public void setIncludeTokenTypeIds(boolean includeTokenTypeIds)

  - ### isGpu

    public boolean isGpu()

  - ### setGpu

    public void setGpu(boolean gpu)

  - ### getGpuDeviceId

    public int getGpuDeviceId()

  - ### setGpuDeviceId

    public void setGpuDeviceId(int gpuDeviceId)

  - ### getDocumentSplitSize

    public int getDocumentSplitSize()

  - ### setDocumentSplitSize

    public void setDocumentSplitSize(int documentSplitSize)

  - ### getSplitOverlapSize

    public int getSplitOverlapSize()

  - ### setSplitOverlapSize

    public void setSplitOverlapSize(int splitOverlapSize)