lucidrains/lambda-networks
A PyTorch implementation of LambdaNetworks, a novel attention-based deep learning architecture for efficient image recognition.

This repository provides a PyTorch implementation of LambdaNetworks, a new approach to image recognition that achieves state-of-the-art performance on ImageNet with reduced computational cost. The core innovation is the lambda layer, which captures interactions between inputs and context by transforming contexts into linear functions (lambdas) and applying them to each input element. The implementation supports both global and localized context variants, and includes both PyTorch and TensorFlow/Keras versions.
Frequently asked
- What is lucidrains/lambda-networks?
- A PyTorch implementation of LambdaNetworks, a novel attention-based deep learning architecture for efficient image recognition.
- Is lambda-networks open source?
- Yes — lucidrains/lambda-networks is open source, released under the MIT license.
- What language is lambda-networks written in?
- lucidrains/lambda-networks is primarily written in Python.
- How popular is lambda-networks?
- lucidrains/lambda-networks has 1.5k stars on GitHub.
- Where can I find lambda-networks?
- lucidrains/lambda-networks is on GitHub at https://github.com/lucidrains/lambda-networks.