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 4b3f75b commit 8111fc9
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 @@ -109,7 +109,7 @@ function to_python_str_ms(graphs::AbstractVector{<:AbstractGraph})
input = join(input,",")
output = ["out$(i)" for i in 1:rootidx-1]
output = join(output,",")
head *="def graphfunc($input)\n"
head *="def graphfunc($input):\n"
tail = " return $output\n"
# tail*= "def to_StaticGraph(leaf):\n"
# tail*= " output = graphfunc(leaf)\n"
Expand Down

0 comments on commit 8111fc9

Please sign in to comment.