CompiledModel.QualcommOptions

data class CompiledModel.QualcommOptions

Options to specify Qualcomm options for compiling a model.

Summary

Nested types

HTP performance mode for Qualcomm options.

Log level for Qualcomm options.

Optimization level for Qualcomm options.

Profiling for Qualcomm options.

Public constructors

QualcommOptions(
    logLevel: CompiledModel.QualcommOptions.LogLevel?,
    useHtpPreference: Boolean?,
    useQint16AsQuint16: Boolean?,
    enableWeightSharing: Boolean?,
    dumpTensorIds: List<Int>?,
    useConvHmx: Boolean?,
    useFoldRelu: Boolean?,
    htpPerformanceMode: CompiledModel.QualcommOptions.HtpPerformanceMode?,
    profiling: CompiledModel.QualcommOptions.Profiling?,
    irJsonDir: String?,
    dlcDir: String?,
    vtcmSize: Int?,
    numHvxThreads: Int?,
    optimizationLevel: CompiledModel.QualcommOptions.OptimizationLevel?
)

Public constructors

QualcommOptions

QualcommOptions(
    logLevel: CompiledModel.QualcommOptions.LogLevel? = null,
    useHtpPreference: Boolean? = null,
    useQint16AsQuint16: Boolean? = null,
    enableWeightSharing: Boolean? = null,
    dumpTensorIds: List<Int>? = null,
    useConvHmx: Boolean? = null,
    useFoldRelu: Boolean? = null,
    htpPerformanceMode: CompiledModel.QualcommOptions.HtpPerformanceMode? = null,
    profiling: CompiledModel.QualcommOptions.Profiling? = null,
    irJsonDir: String? = null,
    dlcDir: String? = null,
    vtcmSize: Int? = null,
    numHvxThreads: Int? = null,
    optimizationLevel: CompiledModel.QualcommOptions.OptimizationLevel? = null
)

Public properties

dlcDir

val dlcDirString?

dumpTensorIds

val dumpTensorIdsList<Int>?

enableWeightSharing

val enableWeightSharingBoolean?

irJsonDir

val irJsonDirString?

numHvxThreads

val numHvxThreadsInt?

useConvHmx

val useConvHmxBoolean?

useFoldRelu

val useFoldReluBoolean?

useHtpPreference

val useHtpPreferenceBoolean?

useQint16AsQuint16

val useQint16AsQuint16Boolean?

vtcmSize

val vtcmSizeInt?