[v1.x] Fix for fc with sum when types are incompatible#21042
[v1.x] Fix for fc with sum when types are incompatible#21042bgawrych merged 3 commits intoapache:v1.xfrom
Conversation
|
Hey @DominikaJedynak , Thanks for submitting the PR
CI supported jobs: [centos-cpu, website, windows-cpu, unix-cpu, unix-gpu, clang, miscellaneous, centos-gpu, sanity, windows-gpu, edge] Note: |
|
@mxnet-bot run ci [centos-gpu, centos-cpu, clang, unix-cpu, website] |
|
Jenkins CI successfully triggered : [website, centos-gpu, centos-cpu, clang, unix-cpu] |
82f69cf to
5577ab6
Compare
|
@mxnet-bot run ci [centos-cpu, edge, unix-gpu] |
|
Jenkins CI successfully triggered : [edge, unix-gpu, centos-cpu] |
|
@mxnet-bot run ci [unix-gpu] |
|
Jenkins CI successfully triggered : [unix-gpu] |
|
@mxnet-bot run ci [unix-gpu] |
|
@mxnet-bot run ci [centos-cpu, unix-gpu] |
|
Jenkins CI successfully triggered : [unix-gpu, centos-cpu] |
|
@mxnet-bot run ci [unix-gpu] |
|
Jenkins CI successfully triggered : [unix-gpu] |
|
@mxnet-bot run ci [unix-gpu] |
|
Jenkins CI successfully triggered : [unix-gpu] |
|
@mxnet-bot run ci [unix-gpu] |
|
Jenkins CI successfully triggered : [unix-gpu] |
|
@mxnet-bot run ci [unix-gpu] |
|
Jenkins CI successfully triggered : [unix-gpu] |
Description
This PR fixes the problem occurring when data_2, which is to be added to quantized fc output, happens to be all non-negative (and treated as u8) while fc output is s8. In this situation, data_2 will be rescaled to s8 as well to prevent truncation of fc output.
This change also prevents the situation when fc output is u8 and data_2 is s8.