ホーム › AI.MachineLearning.WinML › MLOperatorTensorDataType
MLOperatorTensorDataType
列挙型メンバー 16
| 名前 | 10進 | 16進 |
|---|---|---|
| Undefined | 0 | 0x0 |
| Float | 1 | 0x1 |
| UInt8 | 2 | 0x2 |
| Int8 | 3 | 0x3 |
| UInt16 | 4 | 0x4 |
| Int16 | 5 | 0x5 |
| Int32 | 6 | 0x6 |
| Int64 | 7 | 0x7 |
| String | 8 | 0x8 |
| Bool | 9 | 0x9 |
| Float16 | 10 | 0xA |
| Double | 11 | 0xB |
| UInt32 | 12 | 0xC |
| UInt64 | 13 | 0xD |
| Complex64 | 14 | 0xE |
| Complex128 | 15 | 0xF |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum MLOperatorTensorDataType : unsigned int {
Undefined = 0,
Float = 1,
UInt8 = 2,
Int8 = 3,
UInt16 = 4,
Int16 = 5,
Int32 = 6,
Int64 = 7,
String = 8,
Bool = 9,
Float16 = 10,
Double = 11,
UInt32 = 12,
UInt64 = 13,
Complex64 = 14,
Complex128 = 15
} MLOperatorTensorDataType;public enum MLOperatorTensorDataType : uint
{
Undefined = 0,
Float = 1,
UInt8 = 2,
Int8 = 3,
UInt16 = 4,
Int16 = 5,
Int32 = 6,
Int64 = 7,
String = 8,
Bool = 9,
Float16 = 10,
Double = 11,
UInt32 = 12,
UInt64 = 13,
Complex64 = 14,
Complex128 = 15,
}Public Enum MLOperatorTensorDataType As UInteger
Undefined = 0
Float = 1
UInt8 = 2
Int8 = 3
UInt16 = 4
Int16 = 5
Int32 = 6
Int64 = 7
String = 8
Bool = 9
Float16 = 10
Double = 11
UInt32 = 12
UInt64 = 13
Complex64 = 14
Complex128 = 15
End Enumimport enum
class MLOperatorTensorDataType(enum.IntEnum):
Undefined = 0
Float = 1
UInt8 = 2
Int8 = 3
UInt16 = 4
Int16 = 5
Int32 = 6
Int64 = 7
String = 8
Bool = 9
Float16 = 10
Double = 11
UInt32 = 12
UInt64 = 13
Complex64 = 14
Complex128 = 15// MLOperatorTensorDataType
pub const Undefined: u32 = 0;
pub const Float: u32 = 1;
pub const UInt8: u32 = 2;
pub const Int8: u32 = 3;
pub const UInt16: u32 = 4;
pub const Int16: u32 = 5;
pub const Int32: u32 = 6;
pub const Int64: u32 = 7;
pub const String: u32 = 8;
pub const Bool: u32 = 9;
pub const Float16: u32 = 10;
pub const Double: u32 = 11;
pub const UInt32: u32 = 12;
pub const UInt64: u32 = 13;
pub const Complex64: u32 = 14;
pub const Complex128: u32 = 15;// MLOperatorTensorDataType
const (
Undefined uint32 = 0
Float uint32 = 1
UInt8 uint32 = 2
Int8 uint32 = 3
UInt16 uint32 = 4
Int16 uint32 = 5
Int32 uint32 = 6
Int64 uint32 = 7
String uint32 = 8
Bool uint32 = 9
Float16 uint32 = 10
Double uint32 = 11
UInt32 uint32 = 12
UInt64 uint32 = 13
Complex64 uint32 = 14
Complex128 uint32 = 15
)const
Undefined = 0;
Float = 1;
UInt8 = 2;
Int8 = 3;
UInt16 = 4;
Int16 = 5;
Int32 = 6;
Int64 = 7;
String = 8;
Bool = 9;
Float16 = 10;
Double = 11;
UInt32 = 12;
UInt64 = 13;
Complex64 = 14;
Complex128 = 15;// MLOperatorTensorDataType
pub const Undefined: u32 = 0;
pub const Float: u32 = 1;
pub const UInt8: u32 = 2;
pub const Int8: u32 = 3;
pub const UInt16: u32 = 4;
pub const Int16: u32 = 5;
pub const Int32: u32 = 6;
pub const Int64: u32 = 7;
pub const String: u32 = 8;
pub const Bool: u32 = 9;
pub const Float16: u32 = 10;
pub const Double: u32 = 11;
pub const UInt32: u32 = 12;
pub const UInt64: u32 = 13;
pub const Complex64: u32 = 14;
pub const Complex128: u32 = 15;const
Undefined* = 0
Float* = 1
UInt8* = 2
Int8* = 3
UInt16* = 4
Int16* = 5
Int32* = 6
Int64* = 7
String* = 8
Bool* = 9
Float16* = 10
Double* = 11
UInt32* = 12
UInt64* = 13
Complex64* = 14
Complex128* = 15enum MLOperatorTensorDataType : uint {
Undefined = 0,
Float = 1,
UInt8 = 2,
Int8 = 3,
UInt16 = 4,
Int16 = 5,
Int32 = 6,
Int64 = 7,
String = 8,
Bool = 9,
Float16 = 10,
Double = 11,
UInt32 = 12,
UInt64 = 13,
Complex64 = 14,
Complex128 = 15,
}#define global Undefined 0x0
#define global Float 0x1
#define global UInt8 0x2
#define global Int8 0x3
#define global UInt16 0x4
#define global Int16 0x5
#define global Int32 0x6
#define global Int64 0x7
#define global String 0x8
#define global Bool 0x9
#define global Float16 0xA
#define global Double 0xB
#define global UInt32 0xC
#define global UInt64 0xD
#define global Complex64 0xE
#define global Complex128 0xF