NextStack

tensorflow-java v0.4.0

minor PublishedNov 28, 2021 Sourcetensorflow/java

tensorflow-java v0.4.0

TensorFlow Java is still only available as an alpha release and is not covered by the TensorFlow API stability guarantees

Major Features

  • Upgrade to TensorFlow 2.7.0
  • Add support for creating and running native function graphs
  • Automatic initialization of the variables when running a graph for the first time (no need of tf.init anymore)
  • Register custom gradient computations in Java for operations lacking one in the TensorFlow C++ runtime library
  • Add new metrics and regularizers to the TensorFlow Java Framework

Other Features

  • Operation inputs and attributes accessors
  • Allow output targets in Session runner
  • Generate operation wrappers in Java, instead of using a custom C++ binary
  • Move out Java NdArray to its own repository
  • Add graph walking functions to Graph and GraphOperation
  • Security updates
  • Various bug and memory leak fixes, and other improvements

Thanks to our contributors

Ryan Nett (@rnett) Karl Lessard (@karllessard) Samuel Audet (@saudet) Adam Pocock (@Craigacp) Jim Clarke (@JimClarke5) Till Brychcy (@brychcy) Mark Daoust (@MarkDaoust) Avi Perl (@aviperl) P. Oscar Boykin (@johnynek)


Source tensorflow/java · v0.4.0 · 2021-11-28 · upstream release

Mirrored verbatim for indexing. All rights belong to the upstream project.

Release notes are published by the upstream project and mirrored here for indexing. All rights belong to their authors.