tf.nn.conv2d

tf.nn.conv2d

tf.nn.conv2d

conv2d(
    input,
    filter,
    strides,
    padding,
    use_cudnn_on_gpu=None,
    data_format=None,
    name=None
)

Defined in tensorflow/python/ops/gen_nn_ops.py.

See the guide: Neural Network > Convolution

Computes a 2-D convolution given 4-D input and filter tensors.

Given an input tensor of shape [batch, in_height, in_width, in_channels] and a filter / kernel tensor of shape [filter_height, filter_width, in_channels, out_channels]登录查看完整内容