rcurtin_irc changed the topic of #mlpack to: mlpack: a scalable machine learning library (https://www.mlpack.org/) -- channel logs: https://libera.irclog.whitequark.org/mlpack -- NOTE: messages sent here might not be seen by bridged users on matrix, gitter, or slack
System123 has joined #mlpack
System123 has quit [Ping timeout: 268 seconds]
System123 has joined #mlpack
System123 has quit [Ping timeout: 268 seconds]
System123 has joined #mlpack
System12_ has joined #mlpack
System123 has quit [Ping timeout: 265 seconds]
System12_ has quit [Ping timeout: 268 seconds]
System123 has joined #mlpack
System12_ has joined #mlpack
System123 has quit [Ping timeout: 252 seconds]
System12_ has quit [Ping timeout: 265 seconds]
dave7895 has joined #mlpack
System123 has joined #mlpack
System123 has quit [Ping timeout: 268 seconds]
<zoq[m]1> Hello, for the optimization part we rely on https://github.com/mlpack/ensmallen; ensmallen expects that a user defines a simple interface Evaluate/Gradient, what you return as a Gradient is defined by the user.
<zoq[m]1> https://ensmallen.org/docs.html#function-type-documentation has some super simple examples how the function interface looks like.
dave7895 has quit [Ping timeout: 256 seconds]
<zoq[m]1> Hm, that is an interesting problem, because you need the gradient of the image with respect to the activations.
System123 has joined #mlpack
<zoq[m]1> It's only the activation right?
<zoq[m]1> Maybe I'm missing something, but I think you don't have to change much (it will not be fast, because there are some extra copies involved). Like if you update the weights (to use the activations) before https://github.com/mlpack/mlpack/blob/45de6e11e49d430ebc069f3a991e845e0989a26d/src/mlpack/methods/ann/ffn_impl.hpp#L394 it might already do the right thing.
System123 has quit [Ping timeout: 268 seconds]
System123 has joined #mlpack
System12_ has joined #mlpack
System12_ has quit [Remote host closed the connection]
System12_ has joined #mlpack
System123 has quit [Ping timeout: 265 seconds]
System12_ has quit [Ping timeout: 260 seconds]