Browse Source

dtypes.cs: Added missing type conversion

tags/v0.12
Eli Belash 6 years ago
parent
commit
b7ccf3bc9a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/TensorFlowNET.Core/Tensors/dtypes.cs

+ 2
- 0
src/TensorFlowNET.Core/Tensors/dtypes.cs View File

@@ -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:


Loading…
Cancel
Save