</script><linkhref="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css"rel="stylesheet"type="text/css"/><linkhref="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono"rel="stylesheet"type="text/css"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"rel="stylesheet"type="text/css"/><linkhref="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"rel="stylesheet"type="text/css"/><script>documenterBaseURL="."</script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.2.0/require.min.js"data-main="assets/documenter.js"></script><scriptsrc="siteinfo.js"></script><scriptsrc="../versions.js"></script><linkhref="assets/documenter.css"rel="stylesheet"type="text/css"/><linkhref="../flux.css"rel="stylesheet"type="text/css"/></head><body><navclass="toc"><h1>Flux</h1><selectid="version-selector"onChange="window.location.href=this.value"style="visibility: hidden"></select><formclass="search"id="search-form"action="search.html"><inputid="search-query"name="q"type="text"placeholder="Search docs"/></form><ul><liclass="current"><aclass="toctext"href="index.html">Home</a><ulclass="internal"><liclass="toplevel"><aclass="toctext"href="#Installation-1">Installation</a></li></ul></li><li><spanclass="toctext">Building Models</span><ul><li><aclass="toctext"href="models/basics.html">Basics</a></li><li><aclass="toctext"href="models/recurrence.html">Recurrence</a></li><li><aclass="toctext"href="models/layers.html">Model Reference</a></li></ul></li><li><spanclass="toctext">Training Models</span><ul><li><aclass="toctext"href="training/optimisers.html">Optimisers</a></li><li><aclass="toctext"href="training/training.html">Training</a></li></ul></li><li><aclass="toctext"href="data/onehot.html">One-Hot Encoding</a></li><li><aclass="toctext"href="gpu.html">GPU Support</a></li><li><aclass="toctext"href="community.html">Community</a></li></ul></nav><articleid="docs"><header><nav><ul><li><ahref="index.html">Home</a></li></ul><aclass="edit-page"href="https://github.com/FluxML/Flux.jl/blob/master/docs/src/index.md"><spanclass="fa"></span> Edit on GitHub</a></nav><hr/><divid="topbar"><span>Home</span><aclass="fa fa-bars"href="#"></a></div></header><h1><aclass="nav-anchor"id="Flux:-The-Julia-Machine-Learning-Library-1"href="#Flux:-The-Julia-Machine-Learning-Library-1">Flux: The Julia Machine Learning Library</a></h1><p>Flux is a library for machine learning. It comes "batteries-included" with many useful tools built in, but also lets you use the full power of the Julia language where you need it. The whole stack is implemented in clean Julia code (right down to the <ahref="https://github.com/FluxML/CuArrays.jl">GPU kernels</a>) and any part can be tweaked to your liking.</p><h1><aclass="nav-anchor"id="Installation-1"href="#Installation-1">Installation</a></h1><p>Install <ahref="https://julialang.org/downloads/">Julia 0.6.0 or later</a>, if you haven't already.</p><pre><codeclass="language-julia">Pkg.add("Flux")
Pkg.test("Flux") # Check things installed correctly</code></pre><p>Start with the <ahref="models/basics.html">basics</a>. The <ahref="https://github.com/FluxML/model-zoo/">model zoo</a> is also a good starting point for many common kinds of models.</p><footer><hr/><aclass="next"href="models/basics.html"><spanclass="direction">Next</span><spanclass="title">Basics</span></a></footer></article></body></html>