Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
peter0627ustc committed Nov 24, 2023
1 parent 46566ec commit b23453c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/toMindspore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b23453c

Please sign in to comment.