Browse Source

Update tf.js

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

+ 1 - 1
source/tf.js

@@ -1135,7 +1135,7 @@ tf.Attribute = class {
                 break;
                 break;
             }
             }
             default: {
             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) {
         if (schema) {