Browse Source

Update tf.js

Lutz Roeder 3 years ago
parent
commit
7a8c48f6d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/tf.js

+ 1 - 0
source/tf.js

@@ -1254,6 +1254,7 @@ tf.Tensor = class {
                     }
                     case DataType.DT_INT8:
                     case DataType.DT_UINT8:
+                    case DataType.DT_INT16:
                     case DataType.DT_INT32: {
                         this._data = tensor.int_val || null;
                         break;