Skip to content

tfjs-v4.0.0

Compare
Choose a tag to compare
@mattsoulanille mattsoulanille released this 13 Oct 22:03
· 563 commits to master since this release
2092a70

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).