# \#sig\_jvm

**URL:** https://discuss.ai.google.dev/tag/sig-jvm/286.md

[Latest](https://discuss.ai.google.dev/latest.md) · [Categories](https://discuss.ai.google.dev/categories.md) · [Tags](https://discuss.ai.google.dev/tags.md)

---

## [Examples of Using the Batch Class for Inference](https://discuss.ai.google.dev/t/examples-of-using-the-batch-class-for-inference/32573)

<div class="topic-metadata">

**Author:** [@Yusufu\_Shehu](https://discuss.ai.google.dev/u/Yusufu_Shehu)\
**Replies:** 2\
**Last updated:** [August 12, 2023, 3:42pm UTC](https://discuss.ai.google.dev/t/examples-of-using-the-batch-class-for-inference/32573 "2023-08-12T15:42:18Z")

</div>

Hi everyone, I am looking for examples of how to use the Batch class for inference. My model takes in three TFloat32 inputs and returns an TFloat32 array of probabilities. \` public static TFloat32 runPredict(TFlo…

---

## [TensorFlow Java 0.4.0 released!](https://discuss.ai.google.dev/t/tensorflow-java-0-4-0-released/26148)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 3\
**Last updated:** [June 21, 2023, 1:22pm UTC](https://discuss.ai.google.dev/t/tensorflow-java-0-4-0-released/26148 "2023-06-21T13:22:57Z")

</div>

Hi everyone! I’m announcing that TensorFlow Java 0.4.0 has now been released and is now available on Maven Central. Many improvements have been added to this new version, including native function graphs and custom gra…

---

## [TensorFlow Java 0.5.0 and Java NdArray 0.4.0 Released!](https://discuss.ai.google.dev/t/tensorflow-java-0-5-0-and-java-ndarray-0-4-0-released/27720)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 0\
**Last updated:** [February 21, 2023, 3:04am UTC](https://discuss.ai.google.dev/t/tensorflow-java-0-5-0-and-java-ndarray-0-4-0-released/27720 "2023-02-21T03:04:27Z")

</div>

Hi everyone, I’m pleased to announce that TensorFlow Java version 0.5.0 has been released, with its companion library Java NdArray 0.4.0. Please take a look at the respective release notes for more details!

---

## [Decode JPEG from byte\[\]?](https://discuss.ai.google.dev/t/decode-jpeg-from-byte/31508)

<div class="topic-metadata">

**Author:** [@sebastian-sz](https://discuss.ai.google.dev/u/sebastian-sz)\
**Replies:** 2\
**Last updated:** [January 19, 2023, 9:54am UTC](https://discuss.ai.google.dev/t/decode-jpeg-from-byte/31508 "2023-01-19T09:54:08Z")

</div>

Hello, I am having raw JPEG bytes (as byte\[\]), which I am trying to decode for inference. I was thinking of loading them into a TString tensor and using tf.image.DecodeImage. Or is there a better way? I’m trying to re…

---

## [Activate FFT related OPs for C++](https://discuss.ai.google.dev/t/activate-fft-related-ops-for-c/30763)

<div class="topic-metadata">

**Author:** [@nothin2sy](https://discuss.ai.google.dev/u/nothin2sy)\
**Replies:** 2\
**Last updated:** [May 28, 2022, 5:08am UTC](https://discuss.ai.google.dev/t/activate-fft-related-ops-for-c/30763 "2022-05-28T05:08:39Z")

</div>

Hi, I’m new to the TensorFlow world and I’m trying to enable the spectral OP which includes FFT-related OP kernels for C++. I found both FFT OPkernels and OPs are registered but they are not available for C++ APIs. I spe…

---

## [TensorFlow Java 0.4.1 Released](https://discuss.ai.google.dev/t/tensorflow-java-0-4-1-released/25892)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 0\
**Last updated:** [March 29, 2022, 1:49pm UTC](https://discuss.ai.google.dev/t/tensorflow-java-0-4-1-released/25892 "2022-03-29T13:49:27Z")

</div>

Hey everyone, We have just released TF Java 0.4.1, which is mainly an upgrade of 0.4.0 to TensorFlow 2.7.1 for fixing the last CVE issues. You can take a look at the release notes here. Enjoy! Karl

---

## [ScriptException when calling a python script from Java](https://discuss.ai.google.dev/t/scriptexception-when-calling-a-python-script-from-java/30033)

<div class="topic-metadata">

**Author:** [@Ashish1](https://discuss.ai.google.dev/u/Ashish1)\
**Replies:** 2\
**Last updated:** [February 16, 2022, 2:59pm UTC](https://discuss.ai.google.dev/t/scriptexception-when-calling-a-python-script-from-java/30033 "2022-02-16T14:59:38Z")

</div>

I am calling python from Java using the ScriptEngine. The python script uses tensorflow and it runs fine if I run the python script directly. When this script is called from Java, the ScriptEngine eval() throws the follo…

---

## [Creating float tensors from BufferedImage in Java/Kotlin](https://discuss.ai.google.dev/t/creating-float-tensors-from-bufferedimage-in-java-kotlin/31807)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 10\
**Last updated:** [January 19, 2022, 7:50am UTC](https://discuss.ai.google.dev/t/creating-float-tensors-from-bufferedimage-in-java-kotlin/31807 "2022-01-19T07:50:22Z")

</div>

Continuing a thread started on Gitter: Hello, I want to run a Tensorflow model I found with a Java app, but I am having difficulty with getting the input just right. Below you can see the result from the layer analysis…

---

## [SIG-JVM August Meeting - 08/27/21 at 9am PDT](https://discuss.ai.google.dev/t/sig-jvm-august-meeting-08-27-21-at-9am-pdt/27318)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 0\
**Last updated:** [August 26, 2021, 4:55pm UTC](https://discuss.ai.google.dev/t/sig-jvm-august-meeting-08-27-21-at-9am-pdt/27318 "2021-08-26T16:55:38Z")

</div>

SIG-JVM’s next meeting is tomorrow, 27th August at 9am PDT. The meeting call-in details and agenda are here , feel free to add additional topics. Among other things, we will be planning the next release of TF Java (0.4.0…

---

## [SIG-JVM July Meeting - 07/23/21 at 9am PDT](https://discuss.ai.google.dev/t/sig-jvm-july-meeting-07-23-21-at-9am-pdt/25757)

<div class="topic-metadata">

**Author:** [@craigacp](https://discuss.ai.google.dev/u/craigacp)\
**Replies:** 0\
**Last updated:** [July 22, 2021, 3:31pm UTC](https://discuss.ai.google.dev/t/sig-jvm-july-meeting-07-23-21-at-9am-pdt/25757 "2021-07-22T15:31:48Z")

</div>

SIG-JVM’s next meeting is tomorrow, 23rd July at 9am PDT. The meeting call-in details and agenda are here, feel free to add additional topics. Our current focus is on improving the inference experience in TensorFlow-Java…

---

## [TensorFlow Java 0.3.2 released](https://discuss.ai.google.dev/t/tensorflow-java-0-3-2-released/29974)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 0\
**Last updated:** [July 12, 2021, 1:20pm UTC](https://discuss.ai.google.dev/t/tensorflow-java-0-3-2-released/29974 "2021-07-12T13:20:12Z")

</div>

Hi everyone, I’m announcing that TensorFlow Java 0.3.2 has now been released and is now available on Maven Central. This release is a hot-fix for a memory leak that occurs when closing saved model bundles loaded from di…

---

## [How well is MKL supported by TensorFlow? (now disabled in Java)](https://discuss.ai.google.dev/t/how-well-is-mkl-supported-by-tensorflow-now-disabled-in-java/11255)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 5\
**Last updated:** [June 24, 2021, 4:48pm UTC](https://discuss.ai.google.dev/t/how-well-is-mkl-supported-by-tensorflow-now-disabled-in-java/11255 "2021-06-24T16:48:14Z")

</div>

Hi everyone, At SIG JVM, we have just decided to stop supporting and building native TensorFlow MKL-enabled artifacts for the following reasons: At pretty much each new release of TensorFlow, the MKL build is broken …

---

## [TensorFlow Java 0.3.1 released](https://discuss.ai.google.dev/t/tensorflow-java-0-3-1-released/28963)

<div class="topic-metadata">

**Author:** [@karllessard](https://discuss.ai.google.dev/u/karllessard)\
**Replies:** 0\
**Last updated:** [March 29, 2021, 11:24pm UTC](https://discuss.ai.google.dev/t/tensorflow-java-0-3-1-released/28963 "2021-03-29T23:24:17Z")

</div>

TensorFlow Java 0.3.1 has been released and is available on Maven Central, please take a look at the release notes. This release is a hot fix to prevent a memory leak with string tensors that was introduced in 0.3.0. 0…
