MindSpore训练自定义Transformer模型时报错"RuntimeError: Memory allocation failed"

参与帖:MindSpore训练模型时报错”RuntimeError: Memory allocation failed”分析和解决