ホーム › AI.MachineLearning.WinML › MLOperatorExecutionType
MLOperatorExecutionType
列挙型メンバー 3
| 名前 | 10進 | 16進 |
|---|---|---|
| Undefined | 0 | 0x0 |
| Cpu | 1 | 0x1 |
| D3D12 | 2 | 0x2 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum MLOperatorExecutionType : unsigned int {
Undefined = 0,
Cpu = 1,
D3D12 = 2
} MLOperatorExecutionType;public enum MLOperatorExecutionType : uint
{
Undefined = 0,
Cpu = 1,
D3D12 = 2,
}Public Enum MLOperatorExecutionType As UInteger
Undefined = 0
Cpu = 1
D3D12 = 2
End Enumimport enum
class MLOperatorExecutionType(enum.IntEnum):
Undefined = 0
Cpu = 1
D3D12 = 2// MLOperatorExecutionType
pub const Undefined: u32 = 0;
pub const Cpu: u32 = 1;
pub const D3D12: u32 = 2;// MLOperatorExecutionType
const (
Undefined uint32 = 0
Cpu uint32 = 1
D3D12 uint32 = 2
)const
Undefined = 0;
Cpu = 1;
D3D12 = 2;// MLOperatorExecutionType
pub const Undefined: u32 = 0;
pub const Cpu: u32 = 1;
pub const D3D12: u32 = 2;const
Undefined* = 0
Cpu* = 1
D3D12* = 2enum MLOperatorExecutionType : uint {
Undefined = 0,
Cpu = 1,
D3D12 = 2,
}#define global Undefined 0x0
#define global Cpu 0x1
#define global D3D12 0x2