Discussion:
[theano-users] Convolution with input shape = output shape
Tayeb Benzenati
2018-05-04 09:14:25 UTC
Permalink
i want create a cnn using theano , but i want to keep the same shape of the
input and the output image.
conv_out = conv2d(input=X, filters=W)
with W.shape = (48, 3, 5, 5)
How can i do that ?
Thank's
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2018-05-04 12:37:41 UTC
Permalink
You can use the parameter border_mode=... to do what you want.

see:
http://deeplearning.net/software/theano/library/tensor/nnet/conv.html#theano.tensor.nnet.conv2d
Post by Tayeb Benzenati
i want create a cnn using theano , but i want to keep the same shape of
the input and the output image.
conv_out = conv2d(input=X, filters=W)
with W.shape = (48, 3, 5, 5)
How can i do that ?
Thank's
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...