Skip to content
Projekte

Über uns

Neural Network primitives with multiple backends

Systeme und Infrastruktur

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
-1

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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 (AD), this package defines gradients for its functions. AD packages are supported in two tiers:

  • First tier: Zygote.jl and Enzyme.jl. Gradient tests check both. Zygote uses the rules defined with ChainRules.jl, which other ChainRules-based packages also use. Enzyme's rules are in a package extension that using Enzyme loads.
  • Second tier, experimental: Mooncake.jl, loaded with using Mooncake. It has its own, smaller test suite. Expect missing rules and bugs, and please report them.

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.

Ähnliche Projekte entdecken

Wird geladen…