diff --git a/src/TensorFlowNET.Core/NumPy/Persistence/NpyFormat.cs b/src/TensorFlowNET.Core/NumPy/Persistence/NpyFormat.cs index 1886e4b4..10de0e7d 100644 --- a/src/TensorFlowNET.Core/NumPy/Persistence/NpyFormat.cs +++ b/src/TensorFlowNET.Core/NumPy/Persistence/NpyFormat.cs @@ -70,7 +70,7 @@ public class NpyFormat if (type == typeof(bool)) return "|b1"; else if (type == typeof(byte)) - return "|i1"; + return "|u1"; else if (type == typeof(short)) return "