File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
pkg/workloads/cortex/tf_api Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 67
67
}
68
68
69
69
DTYPE_TO_TF_TYPE = {
70
- "DT_INT32" : tf .int32 ,
71
- "DT_INT64" : tf .int64 ,
72
70
"DT_FLOAT" : tf .float32 ,
71
+ "DT_DOUBLE" : tf .float64 ,
72
+ "DT_INT32" : tf .int32 ,
73
+ "DT_UINT8" : tf .uint8 ,
74
+ "DT_INT16" : tf .int16 ,
75
+ "DT_INT8" : tf .int8 ,
73
76
"DT_STRING" : tf .string ,
77
+ "DT_COMPLEX64" : tf .complex64 ,
78
+ "DT_INT64" : tf .int64 ,
74
79
"DT_BOOL" : tf .bool ,
80
+ "DT_QINT8" : tf .qint8 ,
81
+ "DT_QUINT8" : tf .quint8 ,
82
+ "DT_QINT32" : tf .qint32 ,
83
+ "DT_BFLOAT16" : tf .bfloat16 ,
84
+ "DT_QINT16" : tf .qint16 ,
85
+ "DT_QUINT16" : tf .quint16 ,
86
+ "DT_UINT16" : tf .uint16 ,
87
+ "DT_COMPLEX128" : tf .complex128 ,
88
+ "DT_HALF" : tf .float16 ,
89
+ "DT_RESOURCE" : tf .resource ,
90
+ "DT_VARIANT" : tf .variant ,
91
+ "DT_UINT32" : tf .uint32 ,
92
+ "DT_UINT64" : tf .uint64 ,
75
93
}
76
94
77
95
You can’t perform that action at this time.
0 commit comments