Table of Contents

Enum ResourceOption

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll
public enum ResourceOption

Fields

InferenceDevice = 1

Use the specified inference device. Please set this option before loading the model.

value: MaaInferenceDevice, eg: 0; val_size: sizeof(MaaInferenceDevice) default value is MaaInferenceDevice_Auto

InferenceExecutionProvider = 2

Use the specified inference execution provider Please set this option before loading the model.

value: MaaInferenceExecutionProvider, eg: 0; val_size: sizeof(MaaInferenceExecutionProvider) default value is MaaInferenceExecutionProvider_Auto

Invalid = 0