is there a substraction operation between Deep Learning layers?
조회 수: 2 (최근 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에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!