Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
118aae66
Commit
118aae66
authored
Oct 29, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build_graph args (#459)
parent
5b5d203f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tensorpack/graph_builder/model_desc.py
tensorpack/graph_builder/model_desc.py
+1
-1
No files found.
tensorpack/graph_builder/model_desc.py
View file @
118aae66
...
@@ -98,7 +98,7 @@ class ModelDescBase(object):
...
@@ -98,7 +98,7 @@ class ModelDescBase(object):
arg
=
args
[
0
]
arg
=
args
[
0
]
if
isinstance
(
arg
,
InputSource
):
if
isinstance
(
arg
,
InputSource
):
inputs
=
arg
.
get_input_tensors
()
# remove in the future?
inputs
=
arg
.
get_input_tensors
()
# remove in the future?
if
isinstance
(
arg
,
(
list
,
tuple
)):
el
if
isinstance
(
arg
,
(
list
,
tuple
)):
inputs
=
arg
inputs
=
arg
else
:
else
:
inputs
=
[
arg
]
inputs
=
[
arg
]
...
...
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