github tensorflow/tfjs tfjs-v2.5.0

latest releases: tfjs-v4.22.0, tfjs-v4.22.0-rc.0, tfjs-v4.21.0...
4 years ago

Please disable CPU forwarding if you are using WebGL backend. There is a bug related to CPU forwarding in the 2.5.0 release.

tf.env().set('WEBGPU_CPU_FORWARD', false);

Core (2.4.0 ==> 2.5.0)

Features

  • support uint8 input for saved model execution (#3974).
  • [webgl] Modularize reshape, add refCounter. (#3910).

Bug fixes

  • fix Promise type backend init in Angular (#3993). Thanks, @deel77.

Documentation

  • Improve error message for missing kernels (#3916).

Security

  • update node fetch version (#3971).

Misc

  • Update monorepo to 2.5.0. (#4027).
  • Increase timeout. (#3976).
  • Add retry to karma. (#3954).
  • [cpu] Modularize cast, complex, concat, add, sub, multiply, notEqual, slice, fft, ifft. (#3868).

Data (2.4.0 ==> 2.5.0)

Bug fixes

Security

  • update node fetch version (#3971).

Misc

  • Update release branch tfjs_2.5.0 lock files.
  • Update monorepo to 2.5.0. (#4027).

Layers (2.4.0 ==> 2.5.0)

Features

Bug fixes

Misc

  • Update release branch tfjs_2.5.0 lock files.
  • Update monorepo to 2.5.0. (#4027).
  • [Refactoring] Clean up recurrent cells and layers getConfig (#3880). Thanks, @dikatok.
  • fix lint errors (#3955).
  • [cpu] Modularize cast, complex, concat, add, sub, multiply, notEqual, slice, fft, ifft. (#3868).

Converter (2.4.0 ==> 2.5.0)

Features

  • update the tf deps and moved PyInquirer to extra_requires (#3965).

Bug fixes

  • fix numpy version mismatch (#4021).
  • Fix build-npm script (#3934). Thanks, @haoyunfeix.
  • fix output tensor get disposed if output name contains index (#3920).

Security

  • update node fetch version (#3971).

Misc

  • Update release branch tfjs_2.5.0 lock files.
  • Update monorepo to 2.5.0. (#4027).
  • [converter]Support table initializer in converter. (#3958).
  • Semver-based upper constraints for dependencies (#4017). Thanks, @chongkong.
  • relex tfhub dep (#3992).

Node (2.4.0 ==> 2.5.0)

Features

  • support int64 dtype for saved model execution (#4008).
  • support uint8 input for saved model execution (#3974).

Bug fixes

  • support int64 dtype for saved model execution (#4008).
  • Fix build-npm script (#3934). Thanks, @haoyunfeix.

Security

  • update node fetch version (#3971).

Misc

  • Update release branch tfjs_2.5.0 lock files.
  • Update monorepo to 2.5.0. (#4027).
  • [tfjs-node]Support cnpm registry (#3832). Thanks, @SirM2z.

Wasm (2.4.0 ==> 2.5.0)

Bug fixes

  • [wasm] Pin rules_cc version. (#4012).

Documentation

  • Fixed typo in backend_wasm.ts (#4006). Thanks, @pabloegpf1.
  • [wasm] Fix documentation of setWasmPaths. (#3935).
  • update docs for wasm webpack setup (#3936).

Misc

  • Update release branch tfjs_2.5.0 lock files.
  • Update monorepo to 2.5.0. (#4027).
  • Add retry to karma. (#3954).
  • [cpu] Modularize cast, complex, concat, add, sub, multiply, notEqual, slice, fft, ifft. (#3868).

Cpu (2.4.0 ==> 2.5.0)

Misc

  • Update release branch tfjs_2.5.0 lock files.
  • Update monorepo to 2.5.0. (#4027).
  • Modularize MaxPool, MaxPoolBackprop, AvgPool, AvgPoolBackprop cpu kernels. (#3973). Thanks, @jinjingforever.
  • Modularize BatchNorm in cpu and webgl backend (#3960). Thanks, @jinjingforever.
  • Modularize the remaining unary ops in cpu backend (#3946). Thanks, @jinjingforever.
  • [cpu] Modularize cast, complex, concat, add, sub, multiply, notEqual, slice, fft, ifft. (#3868).
  • [cpu] Modularize NotEqual. (#3919).

Webgl (2.4.0 ==> 2.5.0)

Features

  • Check for null returned from canvas.getContext (#3970). Thanks, @jameshfisher.
  • Log error caught when creating WebGL context (#3969). Thanks, @jameshfisher.
  • [webgl] Modularize reshape, add refCounter. (#3910).

Misc

  • Update release branch tfjs_2.5.0 lock files.
  • Update monorepo to 2.5.0. (#4027).
  • [webgl] Modularize MaxPool, MaxPoolBackprop, AvgPool, AvgPoolBackprop webgl kernels (#3984). Thanks, @jinjingforever.
  • Modularize BatchNorm in cpu and webgl backend (#3960). Thanks, @jinjingforever.
  • Increase timeout. (#3963).
  • Add retry to karma. (#3954).
  • Modularize more ops in webgl backend (#3932). Thanks, @jinjingforever.
  • [cpu] Modularize cast, complex, concat, add, sub, multiply, notEqual, slice, fft, ifft. (#3868).
  • Modularize "Cos" for webgl backend. (#3921). Thanks, @jinjingforever

Don't miss a new tfjs release

NewReleases is sending notifications on new releases.