tf.compat.v1.train.start_queue_runners
Stay organized with collections
Save and categorize content based on your preferences.
Starts all queue runners collected in the graph. (deprecated)
tf . compat . v1 . train . start_queue_runners (
sess = None , coord = None , daemon = True , start = True ,
collection = tf . GraphKeys . QUEUE_RUNNERS
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the tf.data
module.
This is a companion method to add_queue_runner()
. It just starts
threads for all queue runners collected in the graph. It returns
the list of all threads.
Args
sess
Session
used to run the queue ops. Defaults to the
default session.
coord
Optional Coordinator
for coordinating the started threads.
daemon
Whether the threads should be marked as daemons
, meaning
they don't block program exit.
start
Set to False
to only create the threads, not start them.
collection
A GraphKey
specifying the graph collection to
get the queue runners from. Defaults to GraphKeys.QUEUE_RUNNERS
.
Raises
ValueError
if sess
is None and there isn't any default session.
TypeError
if sess
is not a tf.compat.v1.Session
object.
Returns
A list of threads.
Raises
RuntimeError
If called with eager execution enabled.
ValueError
If called without a default tf.compat.v1.Session
registered.
Eager Compatibility
Not compatible with eager execution. To ingest data under eager execution,
use the tf.data
API instead.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2020-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]