MoyanZitto / keras-cn

Chinese keras documents with more examples, explanations and tips.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于Backend文档的部分内容没有更新

chenguanzhou opened this issue · comments

页面:http://keras-cn.readthedocs.io/en/latest/backend/#kera

比如页面里的Conv2D,还写的是Keras1.x老API:
conv2d(x, kernel, strides=(1, 1), border_mode='valid', dim_ordering='th', image_shape=None, filter_shape=None)

正确的应该为:
def conv2d(x, kernel, strides=(1, 1), padding='valid', data_format=None, dilation_rate=(1, 1))

这次之外,页面中deconv2d,conv3d啥的,都有这个问题

  1. 有很多呀。比如https://keras-cn.readthedocs.io/en/latest/layers/pooling_layer/,

padding都写成border_mode

  1. 另外同一页的strides=None并没有解释这个默认的None是什么意思。源文件里面写到`If

None, it will default to "pool_size".` 但是我不知道这个pool_size是什么。

怎么这么久还没有人更新呢?

  1. 对于padding我看很多默认都是same, 还有其他比如kernel_initializertruncated_normal, 为什么keras不把默认值改成大家最常用的呢,是为了兼容th还是别的原因吗