瀏覽代碼

Update tf.js

Lutz Roeder 3 年之前
父節點
當前提交
7649943087
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/tf.js

+ 1 - 1
source/tf.js

@@ -1135,7 +1135,7 @@ tf.Attribute = class {
                 break;
             }
             default: {
-                throw new tf.Error("Unknown attribute value type '" + JSON.stringify(value.value) + "'.");
+                throw new tf.Error("Unknown attribute value type '" + JSON.stringify(value).substring(0, 32) + "'.");
             }
         }
         if (schema) {