Implement backward for Bhattacharyya distance

29 views
Skip to first unread message

Saeed Izadi

unread,
Oct 11, 2016, 8:10:06 AM10/11/16
to Caffe Users
Hi, 
I aim to implement my custom Bhattacharyya loss function using python layer. I've seen the following examples as guides:


Here is the cost function and its partial derivative for stochastic gradient decent:


I have implemented the forward function, but don't know how to deal with the backward function. Please help me with this implementation.
Thanks

Reply all
Reply to author
Forward
0 new messages