jazzsaxmafia / show_attend_and_tell

10 stars 6 forks source link

f_init = theano.function([ctx], [ctx]+init_state+init_memory, name='f_init', profile=False) #4

Open shaoxuan92 opened 6 years ago

shaoxuan92 commented 6 years ago

Excuse me, I don't quite understand what the output of [ctx]+init_state+init_memory means in this theano.function finit .Besides in functions of rval = f_init(ctx0),ctx0 = rval[0],next_state.append(rval[1+lidx]), what exactly is f_init. As far as I am concerned,init_state andinit_memory are just we want. Why do we bother to add them up? Thank you.