Forráskód Böngészése

Fix TensorFlow metadata (#840)

Lutz Roeder 4 éve
szülő
commit
5198db554e
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      source/tf.js

+ 1 - 0
source/tf.js

@@ -1983,6 +1983,7 @@ tf.GraphMetadata = class {
             this._functions.set(name, new tf.Function(this, name, null));
             return this._functions.get(name);
         }
+        return type;
     }
 
     attribute(type, name) {