is there a substraction operation between Deep Learning layers?
1 回表示 (過去 30 日間)
古いコメントを表示
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?
回答 (1 件)
Hao You
2020 年 10 月 10 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!