Skip to content

AndroidDL.js v1.2.0 – Introducing RNN, GRU & LSTM Support

Latest

Choose a tag to compare

@AkashPrajapathi AkashPrajapathi released this 31 Oct 19:50

AndroidDL.js v1.2.0

This release brings a major upgrade to AndroidDL.js with support for recurrent neural networks and new tensor operations.

🚀 What's New

Recurrent Neural Networks

  • Added RNNCell and RNN.
  • Added GRUCell and GRU.
  • Added LSTMCell and LSTM.
  • Added sequence processing and backpropagation through time (BPTT).
  • Added support for initial hidden and cell states.

Tensor Operations

  • Added concatenate and stack.
  • Added squeeze and unsqueeze.
  • Improved tensor slicing with multidimensional and negative-step support.
  • Improved handling of non-contiguous tensors and strided views.

Autograd & Testing

  • Extended gradient propagation through recurrent layers.
  • Added numerical gradient checks.
  • Expanded test coverage across tensor operations and recurrent networks.

📦 What's Included

  • Core Tensor and autograd engine
  • Neural network modules
  • SGD optimizer
  • MSE and Cross Entropy losses
  • Categorical distribution
  • RNN, GRU and LSTM architectures

🎯 What's Next?

Continuing to build a lightweight, PyTorch-inspired deep learning library in JavaScript — one operation at a time.

Build your own PyTorch. Understand every operation.

Thanks for following the AndroidDL.js journey!

Repository: https://github.com/AkashPrajapathi/androiddl-js