is there a substraction operation between Deep Learning layers?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi guys,
I'm trying to build a DeepLearning network which contains a subtraction operation between two layers, and I can't find a way to do that while MATLAB has just an addition operation (additionLayer)?
for more clarification, the equation below discribes the step that I should do:
C = X - AvgPooling(X)
any suggestions guys?
2 commentaires
Réponses (1)
Hao You
le 10 Oct 2020
I think maybe you can define a custom layer that implement a layer multiplicated by -1, then use additionLayer to get what you want.
0 commentaires
Voir également
Catégories
En savoir plus sur Image Data Workflows dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!