Android SDK Version


public class ModelManager
Nested Class Summary
Modifier and TypeClassDescription
public enumModelManager.Task
public final classModelManager.TaskHandler
Field Summary
Modifier and TypeFieldDescription
private final IntegerMODEL_REQUEST_INTERVAL_MILLISECONDS
public final static ModelManagerINSTANCE
Method Summary
Modifier and TypeMethodDescription
final static Unitenable()
final static FilegetRuleFile(ModelManager.Task task)
final static Array<String>predict(ModelManager.Task task, Array<FloatArray> denses, Array<String> texts)
final IntegergetMODEL_REQUEST_INTERVAL_MILLISECONDS()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

enable

 final static Unitenable()

getRuleFile

 final static FilegetRuleFile(ModelManager.Task task)

predict

 final static Array<String> predict(ModelManager.Task task, Array<FloatArray> denses, Array<String> texts)

getMODEL_REQUEST_INTERVAL_MILLISECONDS

 final IntegergetMODEL_REQUEST_INTERVAL_MILLISECONDS()