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

WINML_TENSOR_DATA_TYPE

列挙型
基底型i4

メンバー 16

名前10進16進説明
WINML_TENSOR_UNDEFINED00x0テンソルのデータ型が未定義です。
WINML_TENSOR_FLOAT10x1データ型 float のテンソルです。
WINML_TENSOR_UINT820x2データ型 uint8 のテンソルです。
WINML_TENSOR_INT830x3データ型 int8 のテンソルです。
WINML_TENSOR_UINT1640x4データ型 uint16 のテンソルです。
WINML_TENSOR_INT1650x5データ型 int16 のテンソルです。
WINML_TENSOR_INT3260x6データ型 int32 のテンソルです。
WINML_TENSOR_INT6470x7データ型 int64 のテンソルです。
WINML_TENSOR_STRING80x8データ型 string のテンソルです。
WINML_TENSOR_BOOLEAN90x9データ型 Boolean のテンソルです。
WINML_TENSOR_FLOAT16100xAデータ型 float16 のテンソルです。
WINML_TENSOR_DOUBLE110xBデータ型 double のテンソルです。
WINML_TENSOR_UINT32120xCデータ型 uint32 のテンソルです。
WINML_TENSOR_UINT64130xDデータ型 uint64 のテンソルです。
WINML_TENSOR_COMPLEX64140xEデータ型 complex64 のテンソルです。
WINML_TENSOR_COMPLEX128150xFデータ型 complex128 のテンソルです。

公式ドキュメント

これらの API は非推奨であり、今後は使用しないでください: 代わりに Windows.AI.MachineLearning を使用してください。

WinML テンソルのさまざまなデータ型を指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum WINML_TENSOR_DATA_TYPE : int {
    WINML_TENSOR_UNDEFINED = 0,
    WINML_TENSOR_FLOAT = 1,
    WINML_TENSOR_UINT8 = 2,
    WINML_TENSOR_INT8 = 3,
    WINML_TENSOR_UINT16 = 4,
    WINML_TENSOR_INT16 = 5,
    WINML_TENSOR_INT32 = 6,
    WINML_TENSOR_INT64 = 7,
    WINML_TENSOR_STRING = 8,
    WINML_TENSOR_BOOLEAN = 9,
    WINML_TENSOR_FLOAT16 = 10,
    WINML_TENSOR_DOUBLE = 11,
    WINML_TENSOR_UINT32 = 12,
    WINML_TENSOR_UINT64 = 13,
    WINML_TENSOR_COMPLEX64 = 14,
    WINML_TENSOR_COMPLEX128 = 15
} WINML_TENSOR_DATA_TYPE;
public enum WINML_TENSOR_DATA_TYPE : int
{
    WINML_TENSOR_UNDEFINED = 0,
    WINML_TENSOR_FLOAT = 1,
    WINML_TENSOR_UINT8 = 2,
    WINML_TENSOR_INT8 = 3,
    WINML_TENSOR_UINT16 = 4,
    WINML_TENSOR_INT16 = 5,
    WINML_TENSOR_INT32 = 6,
    WINML_TENSOR_INT64 = 7,
    WINML_TENSOR_STRING = 8,
    WINML_TENSOR_BOOLEAN = 9,
    WINML_TENSOR_FLOAT16 = 10,
    WINML_TENSOR_DOUBLE = 11,
    WINML_TENSOR_UINT32 = 12,
    WINML_TENSOR_UINT64 = 13,
    WINML_TENSOR_COMPLEX64 = 14,
    WINML_TENSOR_COMPLEX128 = 15,
}
Public Enum WINML_TENSOR_DATA_TYPE As Integer
    WINML_TENSOR_UNDEFINED = 0
    WINML_TENSOR_FLOAT = 1
    WINML_TENSOR_UINT8 = 2
    WINML_TENSOR_INT8 = 3
    WINML_TENSOR_UINT16 = 4
    WINML_TENSOR_INT16 = 5
    WINML_TENSOR_INT32 = 6
    WINML_TENSOR_INT64 = 7
    WINML_TENSOR_STRING = 8
    WINML_TENSOR_BOOLEAN = 9
    WINML_TENSOR_FLOAT16 = 10
    WINML_TENSOR_DOUBLE = 11
    WINML_TENSOR_UINT32 = 12
    WINML_TENSOR_UINT64 = 13
    WINML_TENSOR_COMPLEX64 = 14
    WINML_TENSOR_COMPLEX128 = 15
End Enum
import enum

class WINML_TENSOR_DATA_TYPE(enum.IntEnum):
    WINML_TENSOR_UNDEFINED = 0
    WINML_TENSOR_FLOAT = 1
    WINML_TENSOR_UINT8 = 2
    WINML_TENSOR_INT8 = 3
    WINML_TENSOR_UINT16 = 4
    WINML_TENSOR_INT16 = 5
    WINML_TENSOR_INT32 = 6
    WINML_TENSOR_INT64 = 7
    WINML_TENSOR_STRING = 8
    WINML_TENSOR_BOOLEAN = 9
    WINML_TENSOR_FLOAT16 = 10
    WINML_TENSOR_DOUBLE = 11
    WINML_TENSOR_UINT32 = 12
    WINML_TENSOR_UINT64 = 13
    WINML_TENSOR_COMPLEX64 = 14
    WINML_TENSOR_COMPLEX128 = 15
// WINML_TENSOR_DATA_TYPE
pub const WINML_TENSOR_UNDEFINED: i32 = 0;
pub const WINML_TENSOR_FLOAT: i32 = 1;
pub const WINML_TENSOR_UINT8: i32 = 2;
pub const WINML_TENSOR_INT8: i32 = 3;
pub const WINML_TENSOR_UINT16: i32 = 4;
pub const WINML_TENSOR_INT16: i32 = 5;
pub const WINML_TENSOR_INT32: i32 = 6;
pub const WINML_TENSOR_INT64: i32 = 7;
pub const WINML_TENSOR_STRING: i32 = 8;
pub const WINML_TENSOR_BOOLEAN: i32 = 9;
pub const WINML_TENSOR_FLOAT16: i32 = 10;
pub const WINML_TENSOR_DOUBLE: i32 = 11;
pub const WINML_TENSOR_UINT32: i32 = 12;
pub const WINML_TENSOR_UINT64: i32 = 13;
pub const WINML_TENSOR_COMPLEX64: i32 = 14;
pub const WINML_TENSOR_COMPLEX128: i32 = 15;
// WINML_TENSOR_DATA_TYPE
const (
	WINML_TENSOR_UNDEFINED int32 = 0
	WINML_TENSOR_FLOAT int32 = 1
	WINML_TENSOR_UINT8 int32 = 2
	WINML_TENSOR_INT8 int32 = 3
	WINML_TENSOR_UINT16 int32 = 4
	WINML_TENSOR_INT16 int32 = 5
	WINML_TENSOR_INT32 int32 = 6
	WINML_TENSOR_INT64 int32 = 7
	WINML_TENSOR_STRING int32 = 8
	WINML_TENSOR_BOOLEAN int32 = 9
	WINML_TENSOR_FLOAT16 int32 = 10
	WINML_TENSOR_DOUBLE int32 = 11
	WINML_TENSOR_UINT32 int32 = 12
	WINML_TENSOR_UINT64 int32 = 13
	WINML_TENSOR_COMPLEX64 int32 = 14
	WINML_TENSOR_COMPLEX128 int32 = 15
)
const
  WINML_TENSOR_UNDEFINED = 0;
  WINML_TENSOR_FLOAT = 1;
  WINML_TENSOR_UINT8 = 2;
  WINML_TENSOR_INT8 = 3;
  WINML_TENSOR_UINT16 = 4;
  WINML_TENSOR_INT16 = 5;
  WINML_TENSOR_INT32 = 6;
  WINML_TENSOR_INT64 = 7;
  WINML_TENSOR_STRING = 8;
  WINML_TENSOR_BOOLEAN = 9;
  WINML_TENSOR_FLOAT16 = 10;
  WINML_TENSOR_DOUBLE = 11;
  WINML_TENSOR_UINT32 = 12;
  WINML_TENSOR_UINT64 = 13;
  WINML_TENSOR_COMPLEX64 = 14;
  WINML_TENSOR_COMPLEX128 = 15;
// WINML_TENSOR_DATA_TYPE
pub const WINML_TENSOR_UNDEFINED: i32 = 0;
pub const WINML_TENSOR_FLOAT: i32 = 1;
pub const WINML_TENSOR_UINT8: i32 = 2;
pub const WINML_TENSOR_INT8: i32 = 3;
pub const WINML_TENSOR_UINT16: i32 = 4;
pub const WINML_TENSOR_INT16: i32 = 5;
pub const WINML_TENSOR_INT32: i32 = 6;
pub const WINML_TENSOR_INT64: i32 = 7;
pub const WINML_TENSOR_STRING: i32 = 8;
pub const WINML_TENSOR_BOOLEAN: i32 = 9;
pub const WINML_TENSOR_FLOAT16: i32 = 10;
pub const WINML_TENSOR_DOUBLE: i32 = 11;
pub const WINML_TENSOR_UINT32: i32 = 12;
pub const WINML_TENSOR_UINT64: i32 = 13;
pub const WINML_TENSOR_COMPLEX64: i32 = 14;
pub const WINML_TENSOR_COMPLEX128: i32 = 15;
const
  WINML_TENSOR_UNDEFINED* = 0
  WINML_TENSOR_FLOAT* = 1
  WINML_TENSOR_UINT8* = 2
  WINML_TENSOR_INT8* = 3
  WINML_TENSOR_UINT16* = 4
  WINML_TENSOR_INT16* = 5
  WINML_TENSOR_INT32* = 6
  WINML_TENSOR_INT64* = 7
  WINML_TENSOR_STRING* = 8
  WINML_TENSOR_BOOLEAN* = 9
  WINML_TENSOR_FLOAT16* = 10
  WINML_TENSOR_DOUBLE* = 11
  WINML_TENSOR_UINT32* = 12
  WINML_TENSOR_UINT64* = 13
  WINML_TENSOR_COMPLEX64* = 14
  WINML_TENSOR_COMPLEX128* = 15
enum WINML_TENSOR_DATA_TYPE : int {
    WINML_TENSOR_UNDEFINED = 0,
    WINML_TENSOR_FLOAT = 1,
    WINML_TENSOR_UINT8 = 2,
    WINML_TENSOR_INT8 = 3,
    WINML_TENSOR_UINT16 = 4,
    WINML_TENSOR_INT16 = 5,
    WINML_TENSOR_INT32 = 6,
    WINML_TENSOR_INT64 = 7,
    WINML_TENSOR_STRING = 8,
    WINML_TENSOR_BOOLEAN = 9,
    WINML_TENSOR_FLOAT16 = 10,
    WINML_TENSOR_DOUBLE = 11,
    WINML_TENSOR_UINT32 = 12,
    WINML_TENSOR_UINT64 = 13,
    WINML_TENSOR_COMPLEX64 = 14,
    WINML_TENSOR_COMPLEX128 = 15,
}
#define global WINML_TENSOR_UNDEFINED  0x0
#define global WINML_TENSOR_FLOAT      0x1
#define global WINML_TENSOR_UINT8      0x2
#define global WINML_TENSOR_INT8       0x3
#define global WINML_TENSOR_UINT16     0x4
#define global WINML_TENSOR_INT16      0x5
#define global WINML_TENSOR_INT32      0x6
#define global WINML_TENSOR_INT64      0x7
#define global WINML_TENSOR_STRING     0x8
#define global WINML_TENSOR_BOOLEAN    0x9
#define global WINML_TENSOR_FLOAT16    0xA
#define global WINML_TENSOR_DOUBLE     0xB
#define global WINML_TENSOR_UINT32     0xC
#define global WINML_TENSOR_UINT64     0xD
#define global WINML_TENSOR_COMPLEX64  0xE
#define global WINML_TENSOR_COMPLEX128 0xF