!19593 fix matmul bug

Merge pull request !19593 from yeyunpeng2020/r1.3
This commit is contained in:
i-robot 2021-07-09 06:08:07 +00:00 committed by Gitee
commit c8776384e9
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void MatMulOpenCLKernel::PadWeight(std::vector<int> weight_shape_4d, int ci, int
int MatMulOpenCLKernel::InitWeights() {
if (!in_tensors_[1]->IsConst()) {
return RET_OK;
return InitBias();
}
// ABMCI @ ABCICO = ABMCO
auto allocator = ocl_runtime_->GetAllocator();