Since: API level 34
public class

KfaOptions

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

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()
Default Constructor.
Public Methods
int getExecType()
Get Execution Type.
FileDescriptor getFd()
Get the FileDescriptor.
ArrayList<String> getInputNames()
Get the input names.
int getModelBufferLen()
Get the model buffer length.
byte[] getModelBufferPtr()
Get the model bufer pointer byte array.
String getModelFile()
Get the model file.
int getModelInputType()
Get the type of model.
String getModelName()
Get the model name.
int getModelPackageBufferLen()
Get the model package buffer length.
byte[] getModelPackageBufferPtr()
Get the Model Package pointer byte array.
ArrayList<String> getOutputNames()
Get the output names.
long getStartOffSet()
Get the start offset.
String getWeightsFile()
Get the weight file.
void setCompUnit(int compUnit)
Set the Computation unit.
void setExecType(int execType)
Set Execution type.
void setFd(FileDescriptor fd)
Set the FileDescriptor.
void setInputNames(ArrayList<String> inputNames)
Set the input names.
void setModelBufferLen(int modelBufferLen)
Set the model buffer length.
void setModelBufferPtr(byte[] modelBufferPtr)
Set the model buffer pointer.
void setModelFile(String modelFile)
Set the model file.
void setModelInputType(int modelInputType)
Set the model input type.
void setModelName(String modelName)
Set the model name.
void setModelPackageBufferLen(int modelPackageBufferLen)
Set the model package buffer length.
void setModelPackageBufferPtr(byte[] modelPackageBufferPtr)
Set the model package pointer.
void setOutputNames(ArrayList<String> outputNames)
Set the output names.
void setStartOffset(long startOffset)
Set the start offset.
void setWeightsFile(String weightsFile)
Set the weights file.
void setmType(int mType)
Set the type of model.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public KfaOptions ()

Since: API level 34

Default Constructor.

Since
API level 34
KNOX 3.7.1

Public Methods

public int getExecType ()

Since: API level 34

Get Execution Type.

Since
API level 34
KNOX 3.7.1

public FileDescriptor getFd ()

Since: API level 34

Get the FileDescriptor.

Since
API level 34
KNOX 3.7.1

public ArrayList<String> getInputNames ()

Since: API level 34

Get the input names.

Since
API level 34
KNOX 3.7.1

public int getModelBufferLen ()

Since: API level 34

Get the model buffer length.

Since
API level 34
KNOX 3.7.1

public byte[] getModelBufferPtr ()

Since: API level 34

Get the model bufer pointer byte array.

Since
API level 34
KNOX 3.7.1

public String getModelFile ()

Since: API level 34

Get the model file.

Since
API level 34
KNOX 3.7.1

public int getModelInputType ()

Since: API level 34

Get the type of model.

Since
API level 34
KNOX 3.7.1

public String getModelName ()

Since: API level 34

Get the model name.

Since
API level 34
KNOX 3.7.1

public int getModelPackageBufferLen ()

Since: API level 34

Get the model package buffer length.

Since
API level 34
KNOX 3.7.1

public byte[] getModelPackageBufferPtr ()

Since: API level 34

Get the Model Package pointer byte array.

Since
API level 34
KNOX 3.7.1

public ArrayList<String> getOutputNames ()

Since: API level 34

Get the output names.

Since
API level 34
KNOX 3.7.1

public long getStartOffSet ()

Since: API level 34

Get the start offset.

Since
API level 34
KNOX 3.7.1

public String getWeightsFile ()

Since: API level 34

Get the weight file.

Since
API level 34
KNOX 3.7.1

public void setCompUnit (int compUnit)

Since: API level 34

Set the Computation unit.

Since
API level 34
KNOX 3.7.1

public void setExecType (int execType)

Since: API level 34

Set Execution type.

Since
API level 34
KNOX 3.7.1

public void setFd (FileDescriptor fd)

Since: API level 34

Set the FileDescriptor.

Since
API level 34
KNOX 3.7.1

public void setInputNames (ArrayList<String> inputNames)

Since: API level 34

Set the input names.

Since
API level 34
KNOX 3.7.1

public void setModelBufferLen (int modelBufferLen)

Since: API level 34

Set the model buffer length.

Since
API level 34
KNOX 3.7.1

public void setModelBufferPtr (byte[] modelBufferPtr)

Since: API level 34

Set the model buffer pointer.

Since
API level 34
KNOX 3.7.1

public void setModelFile (String modelFile)

Since: API level 34

Set the model file.

Since
API level 34
KNOX 3.7.1

public void setModelInputType (int modelInputType)

Since: API level 34

Set the model input type.

Since
API level 34
KNOX 3.7.1

public void setModelName (String modelName)

Since: API level 34

Set the model name.

Since
API level 34
KNOX 3.7.1

public void setModelPackageBufferLen (int modelPackageBufferLen)

Since: API level 34

Set the model package buffer length.

Since
API level 34
KNOX 3.7.1

public void setModelPackageBufferPtr (byte[] modelPackageBufferPtr)

Since: API level 34

Set the model package pointer.

Since
API level 34
KNOX 3.7.1

public void setOutputNames (ArrayList<String> outputNames)

Since: API level 34

Set the output names.

Since
API level 34
KNOX 3.7.1

public void setStartOffset (long startOffset)

Since: API level 34

Set the start offset.

Since
API level 34
KNOX 3.7.1

public void setWeightsFile (String weightsFile)

Since: API level 34

Set the weights file.

Since
API level 34
KNOX 3.7.1

public void setmType (int mType)

Since: API level 34

Set the type of model.

Since
API level 34
KNOX 3.7.1

public String toString ()

Since: API level

Since
API level 34
KNOX 3.7.1