Skip to content

Commit b7ccf3b

Browse files
committed
dtypes.cs: Added missing type conversion
1 parent 4204c98 commit b7ccf3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/TensorFlowNET.Core/Tensors/dtypes.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ public static Type as_numpy_dtype(this TF_DataType type)
4545
return typeof(bool);
4646
case TF_DataType.TF_UINT8:
4747
return typeof(byte);
48+
case TF_DataType.TF_INT8:
49+
return typeof(sbyte);
4850
case TF_DataType.TF_INT64:
4951
return typeof(long);
5052
case TF_DataType.TF_UINT64:

0 commit comments

Comments
 (0)