how to make the output of a deep learning layer negative?

2 views (last 30 days)
hello guys,
I am building a Deep learning network which has a subtraction operation C = X - AvgPooling(X), I coulden't find any subtraction operation to do that, so I disided to make the output of AvgPooling(X) negative so I can do the addition (which already available in the Neural Network Toolbox).
any ideas or recommendations?

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!