Skip to content

FluxML/NNlib.jl

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c5ec713 · Oct 8, 2023
Sep 11, 2023
Aug 11, 2023
May 6, 2023
Sep 4, 2023
Oct 7, 2023
Sep 4, 2023
Oct 3, 2023
Mar 26, 2019
Jun 14, 2023
Apr 15, 2019
Sep 30, 2023
Jun 14, 2023
Oct 7, 2023
Oct 7, 2023
Oct 7, 2023
Oct 7, 2023

Repository files navigation

NNlib.jl

Documentation CI Coverage

This package provides a library of functions useful for neural networks, such as softmax, sigmoid, batched multiplication, convolutions and pooling. Many of these are used by Flux.jl, which loads this package, but they may be used independently.

For use with automatic differentiation, this package defines gradients using ChainRules.jl. These will be seen by various packages including Zygote.jl.

GPU support is provided as package extensions (see the ext/ folder). In order to load the extensions, use the imports

using NNlib, CUDA, cuDNN

for CUDA support, or

using NNlib, AMDGPU

for AMDGPU support.