BashIntosh
BashIntosh

Reputation: 101

Difference between tf.nn.convolution and tf.nn.conv2d

Could someone explain me the difference between tf.nn.convolution and tf.nn.conv2d ?

Upvotes: 0

Views: 735

Answers (1)

Snow
Snow

Reputation: 1138

tf.nn.conv2d computes a 2-D convolution given 4-D input and filter tensors, while tf.nn.convolution computes sums of N-D convolutions. Both return a Tensor with same type of input.

See tt.nn.convolution and tt.nn.con2d for further understanding.

Upvotes: 1

Related Questions