【发布时间】:2017-05-21 14:55:33
【问题描述】:
我一直在从各种教程中学习 Tensorflow,我想知道是否可以定义一个自定义过滤器供卷积网络使用。例如,如果我知道特征中存在有意义的结构,使得所有其他特征都相关,我想定义一个看起来像 [0 1 0 1 0 1] 的过滤器。
tf.nn.conv2d(input, filter, strides, padding, use_cudnn_on_gpu=None, data_format=None, name=None)
到目前为止我看到的所有示例都使用:
tf.random_normal
或
tf.truncated_normal
用于过滤器参数。我可以将 [0 1 0 1] 放在 filter 参数中吗?
【问题讨论】:
标签: tensorflow