Re: can't find the code for ClassNLLCriterion_updateGradInput

66 views
Skip to first unread message

Jonghoon Jin

unread,
Mar 25, 2015, 12:13:08 PM3/25/15
to torch7 on behalf of Benjamin Maréchal
The ClassNLLCriterion_updateGradInput is being triggered if input is CUDA tensor.

and it is defined here
https://github.com/torch/cunn/blob/master/ClassNLLCriterion.cu#L125

On Wed, Mar 25, 2015 at 9:11 AM, Benjamin Maréchal via torch7 <torch7+APn2wQdPVmI5VijXjF1HVmVOO...@googlegroups.com> wrote:
Hello!

In the ClassNLLCriterion.lua code, there's a call to a function ClassNLLCriterion_updateGradInput.
I though that I may found it in a file like ClassNLLCriterion.c but there is not. So I wonder what is executed during the call of ClassNLLCriterion_updateGradInput?

Can anyone open my eyes on this ?

Benjamin Maréchal.

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