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 dlcDir: String?

dumpTensorIds

val dumpTensorIds: List<Int>?

enableWeightSharing

val enableWeightSharing: Boolean?

irJsonDir

val irJsonDir: String?

numHvxThreads

val numHvxThreads: Int?

useConvHmx

val useConvHmx: Boolean?

useFoldRelu

val useFoldRelu: Boolean?

useHtpPreference

val useHtpPreference: Boolean?

useQint16AsQuint16

val useQint16AsQuint16: Boolean?

vtcmSize

val vtcmSize: Int?