In the above code, if outer_dim == 1, then scale_diff will be replaced instead of adding by caffe_cpu_gemv's result since BETA param of gemv is zero. This seems wrong. The same happens
in gpu version.
Steps to reproduce
Just code review.
Tried solutions
System configuration
Operating system:
Compiler:
CUDA version (if applicable):
CUDNN version (if applicable):
BLAS:
Python version (if using pycaffe):
MATLAB version (if using matcaffe):
Issue checklist
[ ] read the guidelines and removed the first paragraph
[ ] written a short summary and detailed steps to reproduce
[ ] explained how solutions to related problems failed (tick if found none)
[ ] filled system configuration
[ ] attached relevant logs/config files (tick if not applicable)
Issue summary
I read scale layer code recently. I found some suspicious code. Here is it:
In the above code, if outer_dim == 1, then scale_diff will be replaced instead of adding by caffe_cpu_gemv's result since BETA param of gemv is zero. This seems wrong. The same happens in gpu version.
Steps to reproduce
Just code review.
Tried solutions
System configuration
Issue checklist