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
3f52e871
You need to sign in or sign up before continuing.
Commit
3f52e871
authored
Dec 01, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs
parent
e323c134
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
docs/tutorial/input-source.md
docs/tutorial/input-source.md
+3
-2
No files found.
docs/tutorial/input-source.md
View file @
3f52e871
...
...
@@ -74,6 +74,7 @@ Let's take a look at what users are asking for:
*
[
Handle dataset that's not a multiple of batch size
](
https://github.com/tensorflow/tensorflow/issues/13745
)
*
[
Different levels of determinism
](
https://github.com/tensorflow/tensorflow/issues/13932
)
*
[
Sort/skip some data
](
https://github.com/tensorflow/tensorflow/issues/14250
)
*
[
Write data to files
](
https://github.com/tensorflow/tensorflow/issues/15014
)
To support all these features which could've been done with 3 lines of code in Python, you need either a new TF
API, or ask
[
Dataset.from_generator
](
https://www.tensorflow.org/versions/r1.4/api_docs/python/tf/contrib/data/Dataset#from_generator
)
...
...
@@ -94,9 +95,9 @@ You just need the right interface to connect Python to the graph directly, effic
For example,
1.
[
FeedInput
](
../modules/input_source.html#tensorpack.input_source.FeedInput
)
:
Come from a DataFlow and
been
fed to the graph.
Come from a DataFlow and
get
fed to the graph.
2.
[
QueueInput
](
../modules/input_source.html#tensorpack.input_source.QueueInput
)
:
Come from a DataFlow and
been
prefetched on CPU by a TF queue.
Come from a DataFlow and
get
prefetched on CPU by a TF queue.
3.
[
StagingInput
](
../modules/input_source.html#tensorpack.input_source.StagingInput
)
:
Come from some
`InputSource`
, then prefetched on GPU by a TF StagingArea.
4.
Come from a DataFlow, and further processed by
`tf.data.Dataset`
.
...
...
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