Skip to content

Commit

Permalink
pnnx enhance functionize (#5387)
Browse files Browse the repository at this point in the history
* pnnx fix some undefined dtype

* fix ncnn convdw1d dynamic weight loading
  • Loading branch information
nihui committed Mar 27, 2024
1 parent 02ba676 commit 84256b1
Show file tree
Hide file tree
Showing 9 changed files with 291 additions and 97 deletions.
3 changes: 3 additions & 0 deletions src/layer/convolutiondepthwise1d.cpp
Expand Up @@ -59,6 +59,9 @@ int ConvolutionDepthWise1D::load_param(const ParamDict& pd)

int ConvolutionDepthWise1D::load_model(const ModelBin& mb)
{
if (dynamic_weight)
return 0;

weight_data = mb.load(weight_data_size, 0);
if (weight_data.empty())
return -100;
Expand Down

0 comments on commit 84256b1

Please sign in to comment.