Companion

object Companion

Functions

Link copied to clipboard
external fun precompilePrograms(codeCacheDirPath: String)

Precompile GPU ML models.

Link copied to clipboard
fun prepareTensorFlow(allowXnnpackAcceleration: Boolean, allowGpuAcceleration: Boolean)

Prepares TensorFlow features and applies known restrictions on some devices.