FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TensorFlow.NET/src/TensorFlowNET.Core/Tensors/TF_DataType.cs at master · feelsyt/TensorFlow.NET · GitHub
feelsyt
/
TensorFlow.NET
Public
forked from
SciSharp/TensorFlow.NET
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Tensors
/
TF_DataType.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
63 lines (61 loc) · 1.95 KB
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Tensors
/
TF_DataType.cs
Copy path
File metadata and controls
63 lines (61 loc) · 1.95 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
using
Newtonsoft
.
Json
;
using
Tensorflow
.
Keras
.
Saving
.
Common
;
namespace
Tensorflow
{
/// <summary>
/// TF_DataType holds the type for a scalar value. E.g., one slot in a tensor.
/// The enum values here are identical to corresponding values in types.proto.
/// </summary>
[
JsonConverter
(
typeof
(
CustomizedDTypeJsonConverter
)
)
]
public
enum
TF_DataType
{
DtInvalid
=
0
,
TF_FLOAT
=
1
,
TF_DOUBLE
=
2
,
TF_INT32
=
3
,
// Int32 tensors are always in 'host' memory.
TF_UINT8
=
4
,
TF_INT16
=
5
,
TF_INT8
=
6
,
TF_STRING
=
7
,
TF_COMPLEX64
=
8
,
// Single-precision complex
TF_COMPLEX
=
8
,
// Old identifier kept for API backwards compatibility
TF_INT64
=
9
,
TF_BOOL
=
10
,
TF_QINT8
=
11
,
// Quantized int8
TF_QUINT8
=
12
,
// Quantized uint8
TF_QINT32
=
13
,
// Quantized int32
TF_BFLOAT16
=
14
,
// Float32 truncated to 16 bits. Only for cast ops.
TF_QINT16
=
15
,
// Quantized int16
TF_QUINT16
=
16
,
// Quantized uint16
TF_UINT16
=
17
,
TF_COMPLEX128
=
18
,
// Double-precision complex
TF_HALF
=
19
,
TF_RESOURCE
=
20
,
TF_VARIANT
=
21
,
TF_UINT32
=
22
,
TF_UINT64
=
23
,
DtFloatRef
=
101
,
// DT_FLOAT_REF
DtDoubleRef
=
102
,
// DT_DOUBLE_REF
DtInt32Ref
=
103
,
// DT_INT32_REF
DtUint8Ref
=
104
,
DtInt16Ref
=
105
,
DtInt8Ref
=
106
,
DtStringRef
=
107
,
DtComplex64Ref
=
108
,
DtInt64Ref
=
109
,
// DT_INT64_REF
DtBoolRef
=
110
,
DtQint8Ref
=
111
,
DtQuint8Ref
=
112
,
DtQint32Ref
=
113
,
DtBfloat16Ref
=
114
,
DtQint16Ref
=
115
,
DtQuint16Ref
=
116
,
DtUint16Ref
=
117
,
DtComplex128Ref
=
118
,
DtHalfRef
=
119
,
DtResourceRef
=
120
,
DtVariantRef
=
121
,
DtUint32Ref
=
122
,
DtUint64Ref
=
123
,
}
}
Back
|
FazBrowse Home
|
New Git URL