[theano-users] Re: How can I calculate the size of output of convolutional operation in theano?

2017-06-30 Thread Pascal Lamblin

On Monday, June 26, 2017 at 3:36:21 PM UTC-4, Sunjeet Jena wrote:
>
> Is there any way I can calculate the size of the output after the 
> Convolution Operation?
>

You can check theano.tensor.nnet.abstract_conv.get_conv_output_shape() 

-- 

--- 
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.


[theano-users] Re: How can I calculate the size of output of convolutional operation in theano?

2017-06-28 Thread Sym
You should check this out 
http://deeplearning.net/software/theano_versions/dev/tutorial/conv_arithmetic.html

The output size is in general o = (i - r + 2p)/s + 1 where i is the input 
size, o the output size, r the filter size, p the padding and s the stride 
of the convolution. This formula holds for every dimension (so for a 2D 
convolution, if the strides, padding, filters, etc.. are different you can 
apply this formula separately)

Le lundi 26 juin 2017 15:36:21 UTC-4, Sunjeet Jena a écrit :
>
> Is there any way I can calculate the size of the output after the 
> Convolution Operation?
>

-- 

--- 
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.