Win32 API 日本語リファレンス
ホームAI.MachineLearning.WinML › MLOperatorTensorDataType

MLOperatorTensorDataType

列挙型
基底型u4

メンバー 16

名前10進16進
Undefined00x0
Float10x1
UInt820x2
Int830x3
UInt1640x4
Int1650x5
Int3260x6
Int6470x7
String80x8
Bool90x9
Float16100xA
Double110xB
UInt32120xC
UInt64130xD
Complex64140xE
Complex128150xF

各言語での定義

列挙メンバーの定義。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 Enum
import 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* = 15
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,
}
#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