Since: API level 34
public class

KfaOptions

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.ex.knoxAI.KfaOptions

Deprecated in API level 37

Class Overview

KfaOptions class for using to model details.

Since
API level 34
KNOX 3.7.1

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
KfaOptions()
Deprecated in API level 37
Public Methods
SharedMemory getDataShared()
Deprecated in API level 37
int getExecType()
Deprecated in API level 37
FileDescriptor getFd()
Deprecated in API level 37
ArrayList<String> getInputNames()
Deprecated in API level 37
int getModelBufferLen()
Deprecated in API level 37
byte[] getModelBufferPtr()
Deprecated in API level 37
String getModelFile()
Deprecated in API level 37
int getModelInputType()
Deprecated in API level 37
String getModelName()
Deprecated in API level 37
int getModelPackageBufferLen()
Deprecated in API level 37
byte[] getModelPackageBufferPtr()
Deprecated in API level 37
ArrayList<String> getOutputNames()
Deprecated in API level 37
long getStartOffSet()
Deprecated in API level 37
String getWeightsFile()
Deprecated in API level 37
void setCompUnit(int compUnit)
Deprecated in API level 37
void setDataShared(SharedMemory dataShared)
Deprecated in API level 37
void setExecType(int execType)
Deprecated in API level 37
void setFd(FileDescriptor fd)
Deprecated in API level 37
void setInputNames(ArrayList<String> inputNames)
Deprecated in API level 37
void setModelBufferLen(int modelBufferLen)
Deprecated in API level 37
void setModelBufferPtr(byte[] modelBufferPtr)
Deprecated in API level 37
void setModelFile(String modelFile)
Deprecated in API level 37
void setModelInputType(int modelInputType)
Deprecated in API level 37
void setModelName(String modelName)
Deprecated in API level 37
void setModelPackageBufferLen(int modelPackageBufferLen)
Deprecated in API level 37
void setModelPackageBufferPtr(byte[] modelPackageBufferPtr)
Deprecated in API level 37
void setOutputNames(ArrayList<String> outputNames)
Deprecated in API level 37
void setStartOffset(long startOffset)
Deprecated in API level 37
void setWeightsFile(String weightsFile)
Deprecated in API level 37
void setmType(int mType)
Deprecated in API level 37
String toString()
Deprecated in API level 37
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public KfaOptions ()

Since: API level 34

Deprecated in API level 37

Default Constructor.

Since
API level 34
KNOX 3.7.1

Public Methods

public SharedMemory getDataShared ()

Since: API level 35

Deprecated in API level 37

Method to get dataShared field.

Since
API level 35
KNOX 3.8

public int getExecType ()

Since: API level 34

Deprecated in API level 37

Get Execution Type.

Since
API level 34
KNOX 3.7.1

public FileDescriptor getFd ()

Since: API level 34

Deprecated in API level 37

Get the FileDescriptor.

Since
API level 34
KNOX 3.7.1

public ArrayList<String> getInputNames ()

Since: API level 34

Deprecated in API level 37

Get the input names.

Since
API level 34
KNOX 3.7.1

public int getModelBufferLen ()

Since: API level 34

Deprecated in API level 37

Get the model buffer length.

Since
API level 34
KNOX 3.7.1

public byte[] getModelBufferPtr ()

Since: API level 34

Deprecated in API level 37

Get the model bufer pointer byte array.

Since
API level 34
KNOX 3.7.1

public String getModelFile ()

Since: API level 34

Deprecated in API level 37

Get the model file.

Since
API level 34
KNOX 3.7.1

public int getModelInputType ()

Since: API level 34

Deprecated in API level 37

Get the type of model.

Since
API level 34
KNOX 3.7.1

public String getModelName ()

Since: API level 34

Deprecated in API level 37

Get the model name.

Since
API level 34
KNOX 3.7.1

public int getModelPackageBufferLen ()

Since: API level 34

Deprecated in API level 37

Get the model package buffer length.

Since
API level 34
KNOX 3.7.1

public byte[] getModelPackageBufferPtr ()

Since: API level 34

Deprecated in API level 37

Get the Model Package pointer byte array.

Since
API level 34
KNOX 3.7.1

public ArrayList<String> getOutputNames ()

Since: API level 34

Deprecated in API level 37

Get the output names.

Since
API level 34
KNOX 3.7.1

public long getStartOffSet ()

Since: API level 34

Deprecated in API level 37

Get the start offset.

Since
API level 34
KNOX 3.7.1

public String getWeightsFile ()

Since: API level 34

Deprecated in API level 37

Get the weight file.

Since
API level 34
KNOX 3.7.1

public void setCompUnit (int compUnit)

Since: API level 34

Deprecated in API level 37

Set the Computation unit.

Since
API level 34
KNOX 3.7.1

public void setDataShared (SharedMemory dataShared)

Since: API level 35

Deprecated in API level 37

Method to set dataShared field.

Since
API level 35
KNOX 3.8

public void setExecType (int execType)

Since: API level 34

Deprecated in API level 37

Set Execution type.

Since
API level 34
KNOX 3.7.1

public void setFd (FileDescriptor fd)

Since: API level 34

Deprecated in API level 37

Set the FileDescriptor.

Since
API level 34
KNOX 3.7.1

public void setInputNames (ArrayList<String> inputNames)

Since: API level 34

Deprecated in API level 37

Set the input names.

Since
API level 34
KNOX 3.7.1

public void setModelBufferLen (int modelBufferLen)

Since: API level 34

Deprecated in API level 37

Set the model buffer length.

Since
API level 34
KNOX 3.7.1

public void setModelBufferPtr (byte[] modelBufferPtr)

Since: API level 34

Deprecated in API level 37

Set the model buffer pointer.

Since
API level 34
KNOX 3.7.1

public void setModelFile (String modelFile)

Since: API level 34

Deprecated in API level 37

Set the model file.

Since
API level 34
KNOX 3.7.1

public void setModelInputType (int modelInputType)

Since: API level 34

Deprecated in API level 37

Set the model input type.

Since
API level 34
KNOX 3.7.1

public void setModelName (String modelName)

Since: API level 34

Deprecated in API level 37

Set the model name.

Since
API level 34
KNOX 3.7.1

public void setModelPackageBufferLen (int modelPackageBufferLen)

Since: API level 34

Deprecated in API level 37

Set the model package buffer length.

Since
API level 34
KNOX 3.7.1

public void setModelPackageBufferPtr (byte[] modelPackageBufferPtr)

Since: API level 34

Deprecated in API level 37

Set the model package pointer.

Since
API level 34
KNOX 3.7.1

public void setOutputNames (ArrayList<String> outputNames)

Since: API level 34

Deprecated in API level 37

Set the output names.

Since
API level 34
KNOX 3.7.1

public void setStartOffset (long startOffset)

Since: API level 34

Deprecated in API level 37

Set the start offset.

Since
API level 34
KNOX 3.7.1

public void setWeightsFile (String weightsFile)

Since: API level 34

Deprecated in API level 37

Set the weights file.

Since
API level 34
KNOX 3.7.1

public void setmType (int mType)

Since: API level 34

Deprecated in API level 37

Set the type of model.

Since
API level 34
KNOX 3.7.1

public String toString ()

Since: API level

Deprecated in API level 37

Since
API level 34
KNOX 3.7.1