Class ModelSource
java.lang.Object
com.codename1.ai.inference.ModelSource
A
.tflite model supplied as bytes, a filesystem path, or an app resource.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelSourcebytes(byte[] value) static ModelSourcebyte[]getBytes()intgetKind()getPath()static ModelSource
-
Field Details
-
BYTES
public static final int BYTES- See Also:
-
FILE
public static final int FILE- See Also:
-
RESOURCE
public static final int RESOURCE- See Also:
-
-
Method Details
-
bytes
-
file
-
resource
-
getKind
public int getKind() -
getBytes
public byte[] getBytes() -
getPath
-