diff --git a/mindspore/ccsrc/plugin/device/gpu/optimizer/clip_by_norm_fission.h b/mindspore/ccsrc/plugin/device/gpu/optimizer/clip_by_norm_fission.h index 5a4992e0341..cfe54f8bf96 100644 --- a/mindspore/ccsrc/plugin/device/gpu/optimizer/clip_by_norm_fission.h +++ b/mindspore/ccsrc/plugin/device/gpu/optimizer/clip_by_norm_fission.h @@ -26,7 +26,7 @@ // This pass will split `ClipByNorm` op to smaller ops, such as `square`, `sqrt`, `reducesum` to achieve same function namespace mindspore { namespace opt { -class BACKEND_EXPORT ClipByNormFission : public PatternProcessPass { +class ClipByNormFission : public PatternProcessPass { public: explicit ClipByNormFission(bool multigraph = true) : PatternProcessPass("clip_by_norm_fission", multigraph) {} ~ClipByNormFission() override = default;