From b7ccf3bc9ab05973b98c04966594daed85dd4b1f Mon Sep 17 00:00:00 2001 From: Eli Belash Date: Sun, 1 Sep 2019 22:45:22 +0300 Subject: [PATCH] dtypes.cs: Added missing type conversion --- src/TensorFlowNET.Core/Tensors/dtypes.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TensorFlowNET.Core/Tensors/dtypes.cs b/src/TensorFlowNET.Core/Tensors/dtypes.cs index 37f1ca61..69ce7d79 100644 --- a/src/TensorFlowNET.Core/Tensors/dtypes.cs +++ b/src/TensorFlowNET.Core/Tensors/dtypes.cs @@ -45,6 +45,8 @@ namespace Tensorflow return typeof(bool); case TF_DataType.TF_UINT8: return typeof(byte); + case TF_DataType.TF_INT8: + return typeof(sbyte); case TF_DataType.TF_INT64: return typeof(long); case TF_DataType.TF_UINT64: