MoyanZitto / keras-cn

Chinese keras documents with more examples, explanations and tips.
1.57k stars 280 forks source link

K.function 文档需要更新 #116

Open allenwoods opened 7 years ago

allenwoods commented 7 years ago

K.function参数为更新

中文文档中:

inputs::列表,其元素为占位符或张量变量 outputs:输出张量的列表 updates:列表,其元素是形如(old_tensor, new_tensor)的tuple.

英文文档中为

inputs: List of placeholder tensors. outputs: List of output tensors. updates: List of update ops. **kwargs: Passed to tf.Session.run.

updates的输入形式发生了变化, 其元素为类似 <tf.Tensor 'AssignAdd_9:0' shape=() dtype=float32_ref> 的张量