diff --git a/src/backend/toMindspore.jl b/src/backend/toMindspore.jl index b3c19f1c..4df4ab48 100644 --- a/src/backend/toMindspore.jl +++ b/src/backend/toMindspore.jl @@ -103,7 +103,7 @@ function to_python_str_ms(graphs::AbstractVector{<:AbstractGraph}) end end tail = " return graph_list\n" - tail*= "def to_StaticGraph(leaf)\n" + tail*= "def to_StaticGraph(leaf):\n" tail*= " output = graphfunc(leaf)\n" tail*= " return output" expr = head * body * tail