Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
f5fb36e8
"git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "988accbc1eb1a9f9a20087166e9c23f71cb8eb01"
Unverified
Commit
f5fb36e8
authored
May 15, 2020
by
dyning
Committed by
GitHub
May 15, 2020
Browse files
Update program.py
parent
28ab6a3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/program.py
tools/program.py
+2
-2
No files found.
tools/program.py
View file @
f5fb36e8
...
...
@@ -191,8 +191,8 @@ def build_export(config, main_prog, startup_prog):
func_infor
=
config
[
'Architecture'
][
'function'
]
model
=
create_module
(
func_infor
)(
params
=
config
)
image
,
outputs
=
model
(
mode
=
'export'
)
fetches_var
=
sorted
([
outputs
[
name
]
for
name
in
outputs
])
fetches_var
_name
=
[
name
for
name
in
fetches_var
]
fetches_var
_name
=
sorted
([
name
for
name
in
outputs
])
fetches_var
=
[
outputs
[
name
]
for
name
in
fetches_var
_name
]
feeded_var_names
=
[
image
.
name
]
target_vars
=
fetches_var
return
feeded_var_names
,
target_vars
,
fetches_var_name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment