#Lux beginner questions

1 messages · Page 1 of 1 (latest)

cunning harbor
#

hi, i'm really new to Lux.jl, but i am convinced the following snippet should work, but it doesn't. can anyone try it out?

using Lux, Random

model = Lux.Chain(RNNCell(3 => 10), Dense(10 => 3))
ps, st = Lux.setup(Xoshiro(0), model)

x = rand(Float32, 3)
y, st = Lux.apply(model, x, ps, st)
final dove
#

what does it give?