Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

Model.Options.Builder

public static class Model.Options.Builder

Builder of Model.Options. See its doc for details.

Public Constructors

Public Methods

Model.Options
build()
Model.Options.Builder
Model.Options.Builder
setNumThreads(int numThreads)
Model.Options.Builder

Inherited Methods

Public Constructors

public Builder ()

Public Methods

public Model.Options build ()

public Model.Options.Builder setDevice (Model.Device device)

Parameters
device

public Model.Options.Builder setNumThreads (int numThreads)

Parameters
numThreads

public Model.Options.Builder setTfLiteRuntime (InterpreterApi.Options.TfLiteRuntime tfLiteRuntime)

Parameters
tfLiteRuntime