未验证 提交 d8a9b134 编写于 作者: P Pei Yang 提交者: GitHub

fix trt instance_norm serialize bug. test=develop (#22152)

上级 cc1a9f42
......@@ -41,7 +41,8 @@ class InstanceNormPlugin : public PluginTensorRT {
protected:
size_t getSerializationSize() override {
return getBaseSerializationSize() + SerializedSize(eps_) +
SerializedSize(scale_) + SerializedSize(bias_);
SerializedSize(scale_) + SerializedSize(bias_) +
SerializedSize(getPluginType());
}
// TRT will call this func when we need to serialize the configuration of
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册