tf.raw_ops.Stage
Stay organized with collections
Save and categorize content based on your preferences.
Stage values similar to a lightweight Enqueue.
tf.raw_ops.Stage(
values,
capacity=0,
memory_limit=0,
container='',
shared_name='',
name=None
)
The basic functionality of this Op is similar to a queue with many
fewer capabilities and options. This Op is optimized for performance.
Args |
values
|
A list of Tensor objects. a list of tensors
dtypes A list of data types that inserted values should adhere to.
|
capacity
|
An optional int that is >= 0 . Defaults to 0 .
Maximum number of elements in the Staging Area. If > 0, inserts
on the container will block when the capacity is reached.
|
memory_limit
|
An optional int that is >= 0 . Defaults to 0 .
The maximum number of bytes allowed for Tensors in the Staging Area.
If > 0, inserts will block until sufficient space is available.
|
container
|
An optional string . Defaults to "" .
If non-empty, this queue is placed in the given container. Otherwise,
a default container is used.
|
shared_name
|
An optional string . Defaults to "" .
It is necessary to match this name to the matching Unstage Op.
|
name
|
A name for the operation (optional).
|
Returns |
The created Operation.
|
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. Some content is licensed under the numpy license.
Last updated 2024-04-26 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 2024-04-26 UTC."],[],[]]