comments
This commit is contained in:
parent
2a375c4eb2
commit
409c44d362
|
@ -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, ...)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue