CastReluCastFusionPass 融合模式该融合规则将Cast+Relu+Cast算子融合为Relu算子,即消除Relu前后的Cast算子。 使用约束Relu本身的数据类型是float32,前后的Cast算子分别是float16转float和float转float16。 父主题: 图融合规则说明