Relax! Flux is the ML library that doesn't make you tensor
Go to file
Mike J Innes 982c105c57 readme update 2017-03-06 16:05:31 +00:00
docs note 2017-03-04 14:05:39 +00:00
examples better alternative to basemodel 2017-02-28 16:42:48 +00:00
src this was wrong 2017-03-03 14:06:51 +00:00
test compile the forward pass again 2017-02-24 14:38:17 +00:00
.gitignore more structure for docs 2017-01-18 01:15:55 +00:00
.travis.yml don't clone master of DataFlow on travis 2017-03-01 06:39:09 -08:00
LICENSE.md Flux.jl generated files. 2016-03-22 19:58:58 +00:00
README.md readme update 2017-03-06 16:05:31 +00:00
REQUIRE juno req 2017-03-01 13:20:39 +00:00

README.md

Флукс

Build Status Join the chat at https://gitter.im/MikeInnes/Flux.jl

Flux is a high-level library for machine learning, implemented in Julia.

Flux is designed to get the best performance (by running on TensorFlow or MXNet) while still being intuitive to work with you get good error messages, can step through models with the debugger, and the notation is very close to what you'd find in a paper.

Check out the docs to get started. Flux is in alpha so please open issues liberally; if something is broken for you it can most likely be fixed easily, or if you're not sure how to do something we can help.

Brief Examples

Simple multi-layer-perceptron for MNIST:

Chain(
  Input(784),
  Affine(128), relu,
  Affine( 64), relu,
  Affine( 10), softmax)

LSTM example:

@net type LSTM
  Wxf; Wyf; bf
  Wxi; Wyi; bi
  Wxo; Wyo; bo
  Wxc; Wyc; bc
  y; state
  function (x)
    # Gates
    forget = σ( x * Wxf + y{-1} * Wyf + bf )
    input  = σ( x * Wxi + y{-1} * Wyi + bi )
    output = σ( x * Wxo + y{-1} * Wyo + bo )
    # State update and output
    state = tanh( x * Wxc + y{-1} * Wyc + bc )
    state  = forget .* state{-1} + input .* state
    y = output .* tanh(state)
  end
end

Chain(
  Input(N),
  LSTM(N, 256),
  LSTM(256, 256),
  Affine(256, N),
  softmax)