You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR removes LayersOptimizers.
We will push serialization logic down into core optimizers (getConfig and fromConfig). Now, we allow any subclass of `tf.Optimizer` to be passed and we don't whitelist the core optimizers by constructor name (which causes problems with bundlizing).
This fixestensorflow/tfjs#82
easadler
pushed a commit
to easadler/tfjs
that referenced
this issue
Apr 12, 2018
* Make sure to launch http server after initial bundle
Since demo code depends on the bundle.js, http server should be launched
just after initial bundle creation.
TensorFlow.js version
0.6.1 - using minified bundle
Describe the problem or feature request
We are using constructor.name here which gets minified when using the standalone bundle:
https://github.com/tensorflow/tfjs-layers/blob/8e8b1a3265440573950ef5c1e41c2efd9a6a6a47/src/optimizers.ts#L466
Then it throws an error :)
Code to reproduce the bug / link to feature request
The text was updated successfully, but these errors were encountered: