forked from huawei/mindspore2022
!26554 [MSLITE] delegate conv fp16 weight bug
Merge pull request !26554 from ling/r1.5
This commit is contained in:
commit
bde4563e04
|
|
@ -136,7 +136,6 @@ void Convolution1x1FP16CPUKernel::PackWeight() {
|
|||
int Convolution1x1FP16CPUKernel::Init() {
|
||||
CHECK_LESS_RETURN(in_tensors_.size(), 2);
|
||||
CHECK_LESS_RETURN(out_tensors_.size(), 1);
|
||||
UpdateOriginWeightAndBias();
|
||||
#ifdef ENABLE_ARM64
|
||||
if (out_tensors_.front()->format() == NC4HW4) {
|
||||
row_tile_ = C16NUM;
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@ int ConvolutionFP16CPUKernel::InitTmpBuffer() {
|
|||
int ConvolutionFP16CPUKernel::Init() {
|
||||
CHECK_LESS_RETURN(in_tensors_.size(), 2);
|
||||
CHECK_LESS_RETURN(out_tensors_.size(), 1);
|
||||
UpdateOriginWeightAndBias();
|
||||
#ifdef ENABLE_ARM64
|
||||
row_tile_ = C16NUM;
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -143,7 +143,6 @@ int ConvolutionWinogradFP16CPUKernel::ConfigInputOutput() {
|
|||
int ConvolutionWinogradFP16CPUKernel::Init() {
|
||||
CHECK_LESS_RETURN(in_tensors_.size(), 2);
|
||||
CHECK_LESS_RETURN(out_tensors_.size(), 1);
|
||||
UpdateOriginWeightAndBias();
|
||||
col_tile_ = C8NUM;
|
||||
#ifdef ENABLE_ARM64
|
||||
row_tile_ = C16NUM;
|
||||
|
|
|
|||
Loading…
Reference in New Issue