This commit is contained in:
Mike J Innes 2016-10-04 22:50:49 +01:00
parent 2a375c4eb2
commit 409c44d362
1 changed files with 2 additions and 3 deletions

View File

@ -86,9 +86,8 @@ Though further from the equations, this has the advantage of further reuse and c
When it comes time to train the model, we have a number of options for tweaking its implementation, like the backend used, or batching and unrolling settings. In Flux this is as simple as calling some functions on the original model: When it comes time to train the model, we have a number of options for tweaking its implementation, like the backend used, or batching and unrolling settings. In Flux this is as simple as calling some functions on the original model:
```julia ```julia
model = unroll(model, 10) model = unroll(model, 10) # Statically unroll the model
model = batch(model, 100) model = tf(model) # Convert the model to TensorFlow
model = mxnet(model)
Flux.train!(model, ...) Flux.train!(model, ...)
``` ```