に移動しまし た。tf.nn.rnn_cell 以下にあるファイルを 使ってください。 • TensorFlow 0.10 moved the recurrent network operations from tf.models.rnn into the tf.nn package where they live along the other neural network operations now. Cells can now be found in tf.nn.rnn_cell.
出力ゲート ピープホール ブロックからの出力 g h 入力 再帰入力 入力 再帰入力 入力 再帰入力 入力 再帰入力 出力 再帰入力へ 1.0 g c i f y o • 入力ゲート i = s ( ) • 忘却ゲート f = s ( ) • 出力ゲート o = s ( ) • 入力全体 g = f ( ) • セル c = f @ c + i @ g • 出力 y = o @ f ( ) https://github.com/ShinAsakawa/rnncamp2
hidden units with “memory cells” that can store an analog value. 2. Each memory cell has its own input and output gates that control. 3. There is a forget gate which the analog value stored in the memory cell decays. 4. For periods when the input and output gates are off and the forget gate is not causing decay, a memory cell simply holds its value over time. Le, Jaitly, & Hinton (2015)
y r: reset gate input output uupdate gate u t = s (W u + u u ) h t = f (W h + u h (u t @ ) r t = s (W r + u r h t-1 ) tilde(h) = (1- r t ) h t + r t tilde(h t-1 ) y t = W y tilde(h t )
t − 1) x ( t ) y( t ) h( t ) h( t − 1) x ( t ) y( t ) h( t ) h( t − 1) x ( t ) ( a ) ( b ) ( c ) y( t ) h( t ) h( t − 1) x ( t ) y( t ) h( t − 1) x ( t ) z( t ) z( t ) h( t ) ( d ) ( e ) 図 4.27 パスカヌらの文献 108) の図 2 を改変