# Model.Options

public static class **Model.Options** Options for running the model. Configurable parameters includes:

- `device` `Model.Options.Builder.setDevice(Device)` specifies the hardware to run the model. The default value is `Model.Device.CPU`.
- `numThreads` `Model.Options.Builder.setNumThreads(int)` specifies the number of threads used by TFLite inference. It's only effective when device is set to `Model.Device.CPU` and default value is 1.

<br />

### Nested Classes

|---|---|---|---|
| class | [Model.Options.Builder](https://developers.google.com/edge/api/tflite/java/org/tensorflow/lite/support/model/Model.Options.Builder.md.txt) || Builder of `Model.Options`. |

### Inherited Methods

From class java.lang.Object

|---|---|
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |