Think in tensors.
A fluent Java API for tensor operations, linear algebra and neural networks.
A tensor API, automatic differentiation and JIT compilation in one Java 25 toolkit.
var function = Jit.compile(
x -> x.mul(x).add(3).tanh()
);
try (Tensor output = function.apply(input)) {
output.blockUntilReady();
}A fluent Java API for tensor operations, linear algebra and neural networks.
Gradients, JVPs, VJPs, Jacobians and Hessians. Compose transforms with JIT and batching.
CPU execution in core. Vulkan and wgpu validated in 0.2.1; optional CUDA, ROCm and SIMD have separate validation limits.
The core includes CPU kernels, graph capture, autodiff, linear algebra, neural network utilities and Adam. Native engines use Java’s Foreign Function & Memory API.
Setup and native access →<dependency>
<groupId>com.nablatensor</groupId>
<artifactId>jax4j-core</artifactId>
<version>0.2.1</version>
</dependency>Quant 0.4.0 owns the financial models: products, Monte Carlo valuation, calibration, risk and CVA. jax4j supplies the tensors, differentiation and compute backends underneath.
Explore Quant ↗Open QuantLab →