github tensorflow/tfjs tfjs-v2.8.0

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

DEPRECATED

This release has been deprecated due to regressions in tf.image.cropAndResize. More details are available in issue #4418.

Core (2.7.0 ==> 2.8.0)

Features

  • core: Disable checkComputationForErrors for webgpu backend. (#4303). Thanks, @qjia7.
  • Add bincount and denseBincount op. (#4348).
  • Add dilation2d to webgl. (#4334).
  • Add modelInitializer loading and saving for all io methods. (#4332).
  • Add Leakyrelu support to fused ops. (#4322).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • [core] ResizeBilinear add support for halfCenterPixel=True. (#4152).
  • [core] Remove fromPixelsAsync (#4211).
  • Allow user to provide metadata and store in model.json (#4187).
  • Add string support to slice. (#4172).
  • WebGPU: Add fromPixelsAsync for tfjs webgpu (#4139). Thanks, @shaoboyan.
  • add kernelNames getter to profile object (#4144).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).

Bug fixes

  • fix typo (#4202). Thanks, @WenheLI.
  • Changed the function conditionalRounding to function round,function round will default truncate value. (#4282). Thanks, @BruceDai.
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • update side effects to fix tree shaking errors (#4258).
  • added support for batch_dims param on GatherV2 op (#4233).

Development

  • Extend jasmine timeout for slow test. (#4387).
  • Modularize Mean (#4377).
  • switch from runKernelFunc to runKernel (part 7) (#4372).
  • switch from runKernelFunc to runKernel (part 6) (#4371).
  • switch from runKernelFunc to runKernel (part 5) (#4370).
  • switch from runKernelFunc to runKernel (part 4) (#4369).
  • switch runKernelFunc to runKernel (part 3) (#4368).
  • use runKernel instead of runKernelFunc (part 2) (#4367).
  • make attrs argument in runKernel optional (#4365).
  • [webgl] modularize unpack/unstack (#4331).
  • [webgl] modularize split, gather, complexAbs and more (#4329).
  • Modularize unsortedSegmentSum kernel (#4307).
  • Modularize gatherV2 (#4263).
  • Stack (#4291).
  • [webgl] modularize fill related kernels and gatherNd/scatterNd (#4302).
  • Modularize NonMaxSuppression (#4288).
  • Modularize split and linSpace. (#4289).
  • Modularize expandDims kernel. (#4277).
  • Modularize topK kernel. (#4278).
  • Modularize tile kernel. (#4281).
  • Modularize 8 more kernels. (#4265).
  • modularize complex kernels in node (#4220).
  • Modularize stridedslice. (#4215).
  • Modularize unpack and prod. (#4205).
  • modularize fusedBatchMatMul, neg, ... (#4196).
  • modularize conv3d node kernels (#4194).
  • modularize pooling kernels in node (#4190).
  • modularize depthToSpace, sparseToDense, ... (#4184).
  • modularize more node kernels
  • modularize batchNorm, LRN (#4175).
  • modularize resizeNearestNeighbor, resizeBilinear (#4174).
  • modularize more node kernels (#4158).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Modularize node.js backend kernels (#4143).

Documentation

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run a single browser per Karma server (#4389).
  • Run ts-node tests with --transpile-only to increase speed (#4272).
  • Update karma-browserstack-launcher to 1.6.0 (#4300).
  • [Fixed] Run CI on a single machine by generating cloudbuild files (#4186).
  • Revert "Run CI on a single machine by generating cloudbuild files. " (#4163) (#4147).

Data (2.7.0 ==> 2.8.0)

Development

  • Modularize binary ops. (#4181).

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run ts-node tests with --transpile-only to increase speed (#4272).
  • Update karma-browserstack-launcher to 1.6.0 (#4300).

Layers (2.7.0 ==> 2.8.0)

Features

  • added support bilinear interpolation for upsample2d layer (#4388).

Bug fixes

  • added support bilinear interpolation for upsample2d layer (#4388).

Development

  • [webgl] modularize kernels (#4268).
  • Modularize expandDims kernel. (#4277).
  • Modularize binary ops. (#4181).

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run ts-node tests with --transpile-only to increase speed (#4272).
  • Update karma-browserstack-launcher to 1.6.0 (#4300).
  • Merge branch 'master' of github.com:tensorflow/tfjs
  • update
  • Upgrade karma-browserstack-launcher to 1.6.0 (#4297).

Converter (2.7.0 ==> 2.8.0)

Features

  • Add bincount and denseBincount op. (#4348).
  • Add EmptyTensorList op. (#4341).
  • Add Leakyrelu support to fused ops. (#4322).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • [core] ResizeBilinear add support for halfCenterPixel=True. (#4152).
  • Allow user to provide metadata and store in model.json (#4187).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).

Bug fixes

  • Quantization fix (#4285). Thanks, @patlevin.
  • ensure the intitializer object contains the node field (#4301).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • clean up relu6 and clipByValue ops (#4254).
  • added support for batch_dims param on GatherV2 op (#4233).
  • fix the Reverse op mismatch with python (#4244).
  • Remove return statement from optimize_graph (#4188). Thanks, @Dhruvin2910.
  • allow TFHUB saved_models with no tags converted properly (#4141).

Development

  • Modularize binary ops. (#4181).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).

Documentation

  • update the supported ops doc and script (#4273).

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run ts-node tests with --transpile-only to increase speed (#4272).
  • Update karma-browserstack-launcher to 1.6.0 (#4300).
  • conv2d ops with explicit padding support (#4255).
  • [Fixed] Run CI on a single machine by generating cloudbuild files (#4186).
  • TFJS converter: Nit: code cleanup (#4207). Thanks, @wangtz.
  • Revert "Run CI on a single machine by generating cloudbuild files. " (#4163) (#4147).

Node (2.7.0 ==> 2.8.0)

Features

  • Add bincount and denseBincount op. (#4348).
  • Support int64 output tensor type for node (#4357).
  • Add Leakyrelu support to fused ops. (#4322).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • [core] ResizeBilinear add support for halfCenterPixel=True. (#4152).
  • Allow user to provide metadata and store in model.json (#4187).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).

Bug fixes

  • Changed the function conditionalRounding to function round,function round will default truncate value. (#4282). Thanks, @BruceDai.
  • make sure node 14.x are supported on win32 (#4294).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • added support for batch_dims param on GatherV2 op (#4233).

Development

  • [node] modularize identity (#4366).
  • [webgl] modularize unpack/unstack (#4331).
  • Stack (#4291).
  • Modularize expandDims kernel. (#4277).
  • modularize complex kernels in node (#4220).
  • modularize fusedBatchMatMul, neg, ... (#4196).
  • modularize conv3d node kernels (#4194).
  • modularize pooling kernels in node (#4190).
  • modularize depthToSpace, sparseToDense, ... (#4184).
  • modularize more node kernels
  • Modularize binary ops. (#4181).
  • modularize batchNorm, LRN (#4175).
  • modularize resizeNearestNeighbor, resizeBilinear (#4174).
  • modularize conv2d, depthwiseConv2d (#4170).
  • modularize more node kernels (#4158).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • modularize node kernels (#4154).
  • Modularize node.js backend kernels (#4143).

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run ts-node tests with --transpile-only to increase speed (#4272).
  • [Fixed] Run CI on a single machine by generating cloudbuild files (#4186).
  • Revert "Run CI on a single machine by generating cloudbuild files. " (#4163) (#4147).

Wasm (2.7.0 ==> 2.8.0)

Features

  • [wasm] Add mean kernel. (#4379).
  • Add Leakyrelu support to fused ops. (#4322).
  • [core] ResizeBilinear add support for halfCenterPixel=True. (#4152).
  • Add string support to slice. (#4172).
  • Add Prod kernel to WASM backend. (#4138). Thanks, @miaowzhang.

Bug fixes

  • update side effects to fix tree shaking errors (#4258).
  • added support for batch_dims param on GatherV2 op (#4233).

Development

  • [webgl] modularize unpack/unstack (#4331).
  • [webgl] modularize split, gather, complexAbs and more (#4329).
  • Add halfPixelCenters to resizeBilinear. (#4323).
  • Stack (#4291).
  • [webgl] modularize fill related kernels and gatherNd/scatterNd (#4302).
  • Modularize expandDims kernel. (#4277).
  • modularize fusedBatchMatMul, neg, ... (#4196).

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run a single browser per Karma server (#4389).
  • Run ts-node tests with --transpile-only to increase speed (#4272).
  • Add topk support for the WASM backend (#4264). Thanks, @jinjingforever.
  • Update karma-browserstack-launcher to 1.6.0 (#4300).
  • Implement the Floor kernel in tfjs-backend-wasm (#4198).

Cpu (2.7.0 ==> 2.8.0)

Features

  • Add bincount and denseBincount op. (#4348).
  • Add Leakyrelu support to fused ops. (#4322).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • [core] ResizeBilinear add support for halfCenterPixel=True. (#4152).
  • Add string support to slice. (#4172).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).

Bug fixes

  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • added support for batch_dims param on GatherV2 op (#4233).

Development

  • Modularize Mean (#4377).
  • make attrs argument in runKernel optional (#4365).
  • [webgl] modularize unsortedSegmentSum (#4330).
  • [webgl] modularize unpack/unstack (#4331).
  • Modularize unsortedSegmentSum kernel (#4307).
  • Modularize gatherV2 (#4263).
  • Modularize scatter kernels. (#4286).
  • Stack (#4291).
  • [webgl] modularize fill related kernels and gatherNd/scatterNd (#4302).
  • Modularize 4 more kernels. (#4287).
  • Modularize NonMaxSuppression (#4288).
  • Modularize split and linSpace. (#4289).
  • Modularize expandDims kernel. (#4277).
  • Modularize resize kernels. (#4274).
  • Modularize topK kernel. (#4278).
  • Modularize tile kernel. (#4281).
  • Modularize pool kernels. (#4267).
  • Modularize 8 more kernels. (#4265).
  • Modularize 10 more kernels. (#4247).
  • modularize complex kernels in node (#4220).
  • Modularize stridedslice. (#4215).
  • Modularize unpack and prod. (#4205).
  • modularize fusedBatchMatMul, neg, ... (#4196).
  • modularize conv3d node kernels (#4194).
  • modularize pooling kernels in node (#4190).
  • Modularize binary ops. (#4181).
  • Modularize Reverse. (#4164).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Run CI on a single machine by generating cloudbuild files. (#4147).
  • Modularize Sum and Softmax. (#4148).
  • Modularize OneHot. (#4142).

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run ts-node tests with --transpile-only to increase speed (#4272).
  • Update karma-browserstack-launcher to 1.6.0 (#4300).
  • [Fixed] Run CI on a single machine by generating cloudbuild files (#4186).
  • Revert "Run CI on a single machine by generating cloudbuild files. " (#4163) (#4147).

Webgl (2.7.0 ==> 2.8.0)

Features

  • Add bincount and denseBincount op. (#4348).
  • Add dilation2d to webgl. (#4334).
  • Add Leakyrelu support to fused ops. (#4322).
  • [webgl] Modularize argMin, argMax, reverse, stridedSlice. (#4328).
  • [webgl] Modularize conv kernels. (#4252).
  • [webgl] Modularize remaining pool kernels. (#4249).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • [core] ResizeBilinear add support for halfCenterPixel=True. (#4152).
  • [webgl] Modularize slice. (#4180).
  • [webgl] Modularize Tile. (#4179).
  • Add string support to slice. (#4172).
  • [webgl] Modularize Conv2D and FusedConv2D. (#4162).
  • [webgl] Modularize batchMatMul, sum. (#4140).

Bug fixes

  • [webgl] fix cpu forwarding path for prod (#4346).
  • added support of halpPixelCenters to resizeNearestNeighbor op (#4262).
  • added support for batch_dims param on GatherV2 op (#4233).
  • [webgl] Slice fix. (#4204).

Development

  • make attrs argument in runKernel optional (#4365).
  • Temporarily remove android from webgl tests (#4345).
  • [webgl] modularize unsortedSegmentSum (#4330).
  • [webgl] modularize unpack/unstack (#4331).
  • [webgl] modularize split, gather, complexAbs and more (#4329).
  • [webgl] modularize maximum, minimum, min, any, all, prod
  • [webgl] modularize exp, linSpace, multinomial, softmax (#4305).
  • Modularize gatherV2 (#4263).
  • Stack (#4291).
  • [webgl] modularize fill related kernels and gatherNd/scatterNd (#4302).
  • [webgl] modularize resize* and other kernels (#4299).
  • Modularize NonMaxSuppression (#4288).
  • Modularize split and linSpace. (#4289).
  • [webgl] modularize kernels (#4268).
  • Modularize expandDims kernel. (#4277).
  • Modularize topK kernel. (#4278).
  • Modularize tile kernel. (#4281).
  • Modularize 8 more kernels. (#4265).
  • [WebGL] modularize binary kernels (#4261).
  • [webgl] Modularize oneHot and cropAndResize (#4243).
  • Modularize stridedslice. (#4215).
  • Modularize unpack and prod. (#4205).
  • modularize fusedBatchMatMul, neg, ... (#4196).
  • modularize pooling kernels in node (#4190).
  • Modularize binary ops. (#4181).

Misc

  • Update lockfiles branch tfjs_2.8.0_lockfiles lock files. (#4404).
  • Update monorepo to 2.8.0. (#4393).
  • Run a single browser per Karma server (#4389).
  • [webgl] Modularize sqrt (#4356).
  • [webgl] Implement more unary kernels: (#4344).
  • [webgl] Modularize the following kernels: (#4306).
  • Update karma-browserstack-launcher to 1.6.0 (#4300).
  • [webgl] Modularize several unary kernels (#4260).
  • [WebGL] Modularize Sign and Floor (#4231).

Don't miss a new tfjs release

NewReleases is sending notifications on new releases.