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

On Fri, May 4, 2018 at 5:14 AM Tayeb Benzenati <devta...@gmail.com> wrote:

> 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+unsubscr...@googlegroups.com.
> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to