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
8d888d30
Commit
8d888d30
authored
Apr 19, 2019
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix links in docs
parent
d9e48a59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
docs/tutorial/extend/input-source.md
docs/tutorial/extend/input-source.md
+8
-8
No files found.
docs/tutorial/extend/input-source.md
View file @
8d888d30
...
@@ -87,19 +87,19 @@ You just need the right interface to connect Python to the graph directly, effic
...
@@ -87,19 +87,19 @@ You just need the right interface to connect Python to the graph directly, effic
`InputSource`
is an abstract interface used by tensorpack trainers, to describe where the inputs come from and how they enter the graph.
`InputSource`
is an abstract interface used by tensorpack trainers, to describe where the inputs come from and how they enter the graph.
Some choices are:
Some choices are:
1.
[
FeedInput
](
../modules/input_source.html#tensorpack.input_source.FeedInput
)
:
1.
[
FeedInput
](
../
../
modules/input_source.html#tensorpack.input_source.FeedInput
)
:
Data come from a DataFlow and get fed to the graph (slow).
Data come from a DataFlow and get fed to the graph (slow).
2.
[
QueueInput
](
../modules/input_source.html#tensorpack.input_source.QueueInput
)
:
2.
[
QueueInput
](
../
../
modules/input_source.html#tensorpack.input_source.QueueInput
)
:
Data come from a DataFlow and get buffered on CPU by a TF queue.
Data come from a DataFlow and get buffered on CPU by a TF queue.
3.
[
StagingInput
](
../modules/input_source.html#tensorpack.input_source.StagingInput
)
:
3.
[
StagingInput
](
../
../
modules/input_source.html#tensorpack.input_source.StagingInput
)
:
Come from some other
`InputSource`
, then prefetched on GPU by a TF StagingArea.
Come from some other
`InputSource`
, then prefetched on GPU by a TF StagingArea.
4.
[
TFDatasetInput
](
../modules/input_source.html#tensorpack.input_source.TFDatasetInput
)
4.
[
TFDatasetInput
](
../
../
modules/input_source.html#tensorpack.input_source.TFDatasetInput
)
Come from a
`tf.data.Dataset`
.
Come from a
`tf.data.Dataset`
.
5.
[
dataflow_to_dataset
](
../modules/input_source.html#tensorpack.input_source.TFDatasetInput.dataflow_to_dataset
)
5.
[
dataflow_to_dataset
](
../
../
modules/input_source.html#tensorpack.input_source.TFDatasetInput.dataflow_to_dataset
)
Come from a DataFlow, and then
l
further processed by utilities in
`tf.data.Dataset`
.
Come from a DataFlow, and then further processed by utilities in
`tf.data.Dataset`
.
6.
[
TensorInput
](
../modules/input_source.html#tensorpack.input_source.TensorInput
)
:
6.
[
TensorInput
](
../
../
modules/input_source.html#tensorpack.input_source.TensorInput
)
:
Come from some tensors you define (can be reading ops, for example).
Come from some tensors you define (can be reading ops, for example).
7.
[
ZMQInput
](
../modules/input_source.html#tensorpack.input_source.ZMQInput
)
7.
[
ZMQInput
](
../
../
modules/input_source.html#tensorpack.input_source.ZMQInput
)
Come from some ZeroMQ pipe, where the reading/preprocessing may happen in a different process or even a different machine.
Come from some ZeroMQ pipe, where the reading/preprocessing may happen in a different process or even a different machine.
Typically, we recommend using
`DataFlow + QueueInput`
as it's good for most use cases.
Typically, we recommend using
`DataFlow + QueueInput`
as it's good for most use cases.
...
...
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