Goi*_*Way 4 deep-learning keras
在keras的Convolution2D 文档中,我发现没有关于定义的详细信息padding
keras.layers.convolutional.Convolution2D(nb_filter,
nb_row,
nb_col,
init='glorot_uniform',
activation=None,
weights=None,
border_mode='valid',
subsample=(1, 1),
dim_ordering='default',
W_regularizer=None,
b_regularizer=None,
activity_regularizer=None,
W_constraint=None,
b_constraint=None,
bias=True)
Run Code Online (Sandbox Code Playgroud)
该subsample参数是
长度为 2 的元组。对输出进行二次采样的因子。在别处也称为大步。
我认为这是大步。
而border_mode论点是
“有效”、“相同”或“完整”。('full' 需要 Theano 后端。)
valid并且same也是 TensorFlow 的 conv2d 函数中的参数。
如何定义padding,如何设置它的值?
| 归档时间: |
|
| 查看次数: |
7574 次 |
| 最近记录: |