example predictions
This commit is contained in:
parent
2609d47ce9
commit
503265c964
|
@ -13,4 +13,10 @@ m = Chain(
|
|||
# Convert to TensorFlow
|
||||
model = tf(m)
|
||||
|
||||
# An example prediction pre-training
|
||||
model(data[1][1])
|
||||
|
||||
@time Flux.train!(model, train, test, η = 1e-3)
|
||||
|
||||
# An example prediction post-training
|
||||
model(data[1][1])
|
||||
|
|
Loading…
Reference in New Issue