github tensorflow/tfjs tfjs-v4.0.0

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

This release upgrades TypeScript to 4.8.4 and @webgpu/types to 0.1.21. If you don't use TypeScript, you can update to 4.0 without reading this.

Breaking changes

This release is breaking for projects that use typescript<4.4. All other projects should be unaffected.

Read our guide to upgrading to 4.0 here.

Core (3.21.0 ==> 4.0.0)

Features

Bug fixes

Misc

  • Update monorepo to 4.0.0. (#6929).
  • Upgrade tfjs repo to 4.0.0 (#6927).
  • Add kernel RaggedRange for CPU and WebGL backend (#6871).
  • Upstream google3 changes (#6912).
  • Add resource initializer support (#6904).

Data (3.21.0 ==> 4.0.0)

Misc

  • Update monorepo to 4.0.0. (#6929).
  • Upgrade tfjs repo to 4.0.0 (#6927).

Layers (3.21.0 ==> 4.0.0)

Misc

  • Update monorepo to 4.0.0. (#6929).
  • Upgrade tfjs repo to 4.0.0 (#6927).
  • Resizing Layer (#6879). Thanks, @koyykdy.
  • [layers] Consolidate loadLayersModel and loadLayersModelInternal (#6874).
  • Category Encoding Layer (#6855). Thanks, @AdamLang96.

Converter (3.21.0 ==> 4.0.0)

Misc

  • Update lockfiles branch tfjs_4.0.0_lockfiles lock files. (#6935).
  • Update monorepo to 4.0.0. (#6929).
  • Upgrade tfjs repo to 4.0.0 (#6927).
  • Add asset zipping functionality to TFJS converter (#6915).
  • Add resource initializer support (#6904).

Node (3.21.0 ==> 4.0.0)

Misc

  • Update lockfiles branch tfjs_4.0.0_lockfiles lock files. (#6935).
  • Update monorepo to 4.0.0. (#6929).
  • Upgrade tfjs repo to 4.0.0 (#6927).
  • Build tfjs-node node addon with the release docker (#6925).
  • Add kernel RaggedRange for CPU and WebGL backend (#6871).

Wasm (3.21.0 ==> 4.0.0)

Misc

  • Update lockfiles branch tfjs_4.0.0_lockfiles lock files. (#6935).
  • Update monorepo to 4.0.0. (#6929).
  • Add resource initializer support (#6904).

Cpu (3.21.0 ==> 4.0.0)

Misc

  • Update monorepo to 4.0.0. (#6929).
  • Add kernel RaggedRange for CPU and WebGL backend (#6871).

Webgl (3.21.0 ==> 4.0.0)

Features

Misc

  • Update lockfiles branch tfjs_4.0.0_lockfiles lock files. (#6935).
  • Update monorepo to 4.0.0. (#6929).
  • Upgrade tfjs repo to 4.0.0 (#6927).
  • Add kernel RaggedRange for CPU and WebGL backend (#6871).

Don't miss a new tfjs release

NewReleases is sending notifications on new releases.