Releases
v0.11.1
Add capability to save and load tf.Model
s using the following mediums:
browser Local Storage
browser IndexedDB
browser file downloads and uploads
HTTP requests
See Tutorial Page for more details. (#181 ).
Core (0.8.3 ==> 0.11.0)
Features
Add tf.unstack (#1018 ). Thanks, @Lewuathe .
Add tf.losses.logLoss (#1021 ). Thanks, @manrajgrover .
Add tf.losses.hingeLoss (#1008 ). Thanks, @manrajgrover .
Gradient for tf.gather (#981 ). Thanks, @jgartman .
Add resizeBilinear gradient implementation. (#996 ).
Add tf.losses.cosineDistance (#1005 ). Thanks, @manrajgrover .
Add tf.losses.meanSquaredError (#991 ). Thanks, @manrajgrover .
Add tf.disposeVariables which disposes all registered variables. (#988 ). Thanks, @Lewuathe .
Add tensor.round() (chaining was missing for round) (#994 ). Thanks, @manrajgrover .
Add support for loading quantized weights (#965 ).
Add tf.linalg.gramSchmidt and tf.eye (#1024 ).
Add tf.io.browserHTTPRequest (#1030 ).
Add tf.io.browserDownloads() and tf.io.browserFiles() (#1012 ).
Add IOHandler subtype BrowserLocalStorage. (#1003 ).
Add tf.cumsum (#1032 ).
Add tf.io.browserIndexedDB (#1017 ).
Add support for StridedSlice (#1026 ).
Add model store managers (#1038 ).
Breaking changes
The symbol "tfc" becomes "tf" for ES5 tf-core.js bundle users. [Convert core to use rollup for bundling.] (#1037 ).
Export GPGPUContext and add getCanvas() to the WebGLBackend. (#982 ).
Bug fixes
Fix bug: transpose(scalar|1d) should return a clone. (#1033 ).
Remove explicit dispose in tf.grad to fix second-order gradient (#1013 ). Thanks, @Lewuathe .
Clean up tensor leak in tf.toPixels() (#1031 ).
Fix the import/export of gpgpu_util. (#1009 ). Thanks, @Nicola17 .
Fix a bug with backendCPU.conv2dDerInput (#1014 ).
Fix tensor2d/3d/4d to require shape to have the correct length (#1004 ).
Checks if window location is not undefined (#1002 ). Thanks, @manrajgrover .
Default behavior changed with newest NVidia Drivers in Mac OS >=10.13.4 so we have to check for NaN explicitly. [Fix nan propagation in tf.relu] ([#1001 ]
Improve the WebGL random number generator (#993 ). Thanks, @Nicola17 .
Fix build issue where module-import code gets dropped from the bundle (#987 ).
(tensorflow/tfjs-core#1001 )).
Align tf.resizeNearestNeighbor with TF. (#1000 ). Thanks, @Lewuathe .
Return 0 for tf.sign(NaN) to align with TF (#998 ).
Performance
Optimize CPU conv2dDerInput on CPU to be 100x faster (#995 ). Thanks, @piscisaureus .
Quantizing weights reduces model size and improves model download time [Add support for loading quantized weights] (#965 ).
Development
adds template to pull request message [adds pull request template] (#1036 ).
Travis: run tests on Node.js 10 as well (#1039 ). Thanks, @DanielRuf .
Travis: use yarn cache (#1040 ). Thanks, @DanielRuf .
Travis: clone only last 5 commits (#1041 ). Thanks, @DanielRuf .
Documentation
Fix typo in tf.tile documentation. (#1043 ). Thanks, @sorig .
Remove erroneous endpoint parameter from linspace JSDoc (#1020 ). Thanks, @Lewuathe .
Removed duplicate typo in tf.buffer docs (#1023 ). Thanks, @HarshaLaxman .
Fixe bug in oneHot doc example (#1015 ). Thanks, @manrajgrover .
Fix code snippet in docs where indices should be int32 (#989 ). Thanks, @nbardy .
Fix typo in comments of io module. (#1006 ). Thanks, @Lewuathe .
Update a comment in environment.ts reference deeplearn.js. (#1007 ). Thanks, @jgartman .
Add logic operation code snippets in jsdocs (#900 ). Thanks, @nbardy .
Update docstring for tf.setBackend() re disposing the old backend. (#1029 ).
Misc
Export GPGPUContext and add getCanvas() to the WebGLBackend. (#982 ).
Add IS_BROWSER to ENV; add scheme-based URL router to tf.io.* modules (#1034 ).
Add tf.pad test for 4d tensor and test memory (#1025 ).
Exports operation decorator for use in tfjs-layers (#1027 ).
Add serialization infrastructure to core (#997 ).
Add tests for tf.conv1d gradients (#992 ). Thanks, @easadler .
Add basic types and helper methods for model exporting (#990 ).
Layers (0.5.2 ==> 0.6.1)
Features
Add version string (e.g., 'tfjs-layers 0.10.3') to the keras_version
field of JSONs from model serialization.(#157 ).
added tf.layers.cropping2D
(#155 ). Thanks, @zaidalyafeai .
Breaking changes
"tfl" => "tf" for es5 bundle users. (#191 ).
Remove the exporting of the backend symbols (#193 ).
Model.fit(): Change default epochs to 1 (#156 ).
Bug fixes
Fix axis in Softmax activation layer (#177 ). Thanks, @janhuenermann .
Fix slowness in Orthgonal
initializer for some RNN layers. (#172 ).
The padding mode is called 'causal' not 'casual' (#152 ). Thanks, @piscisaureus .
Development
chore: use yarn cache (#187 ). Thanks, @DanielRuf .
chore: add Node.js 10 (#189 ). Thanks, @DanielRuf .
adds default pull request template to help remind contributors to use PR commit message tags. (#180 ).
Add integration_test/tfjs2keras. (#173 ).
Documentation
Add code snippet for tf.layers.reshape
. (#198 ).
Clarify that the default value of useBias
is true
for (#162 ).
Clarify that filters
is a required field for non-depthwise (#162 ).
Fixes #165 : Document model.fit callbacks (#149 ). Thanks, @manrajgrover .
Misc
You can’t perform that action at this time.