Constant Multiplication NN Module

48 views
Skip to first unread message

Pedro Porto Buarque de Gusmão

unread,
Oct 2, 2015, 11:20:06 AM10/2/15
to torch7
Hi,

its there an NN module that just multiplies the input by a constant? I would like to plug this module in the middle of the network with a constant value.

Thanks,
 
Pedro

Pedro Porto Buarque de Gusmão

unread,
Oct 2, 2015, 11:21:30 AM10/2/15
to torch7
In CUNN if possible...?

soumith

unread,
Oct 2, 2015, 11:23:21 AM10/2/15
to torch7 on behalf of Pedro Porto Buarque de Gusmão
nn.MulConstant https://github.com/torch/nn/blob/master/MulConstant.lua , supports cuda as well.

--
You received this message because you are subscribed to the Google Groups "torch7" group.
To unsubscribe from this group and stop receiving emails from it, send an email to torch7+un...@googlegroups.com.
To post to this group, send email to tor...@googlegroups.com.
Visit this group at http://groups.google.com/group/torch7.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages