前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
Created by: Haichao-Zhang
added type compatibility check for ParamAttr as well as test case in layers_test.