michetonu / gradient_reversal_keras_tf

Keras implementation of a gradient reversal layer for the Tensorflow backend
GNU General Public License v3.0
90 stars 24 forks source link

Does this layer have weights of its own? #6

Open javierjsa opened 6 years ago

javierjsa commented 6 years ago

Hi,

I've read the layer implementation, but as I'm not familiar with Keras inner workings, I'm not sure if I did understand it correctly.

This layer has no weights of its own. Whatever gradients it receives during the backward pass are inverted on the fly. So, this layer may need some computing power, but the memory footprint is negible. Is that correct?

Regards