1
近日,笔者从tensorflow.Part代码如下教程在https://www.tensorflow.org/tutorials/recurrent如何理解tensorflow的切片功能?
outputs = []
state = self._initial_state
with tf.variable_scope("RNN"):
for time_step in range(num_steps):
if time_step > 0: tf.get_variable_scope().reuse_variables()
(cell_output, state) = cell(inputs[:, time_step, :], state)#here!
outputs.append(cell_output)
了解RNN的代码,而更多的信息,我只是不能说undetstand如何inputs[:, time_step, :]
作品,例如,这些Args是什么意思? 您的回答将不胜感激。非常感谢!
非常感谢!你让我摆脱困惑。 – chuchienshu
对不起,我只是一个初学者到StackOverFlow,并且我只点击了上拉(没有显示,因为我的名声低于15)。现在,接受。谢谢 – chuchienshu