| Modifier and Type | Class | Description |
|---|---|---|
static class |
RandomShuffleQueue.Options |
Optional attributes for
RandomShuffleQueue |
operation| Modifier and Type | Method | Description |
|---|---|---|
Output<java.lang.Object> |
asOutput() |
Returns the symbolic handle of a tensor.
|
static RandomShuffleQueue.Options |
capacity(java.lang.Long capacity) |
|
static RandomShuffleQueue.Options |
container(java.lang.String container) |
|
static RandomShuffleQueue |
create(Scope scope,
java.util.List<java.lang.Class<?>> componentTypes,
RandomShuffleQueue.Options... options) |
Factory method to create a class to wrap a new RandomShuffleQueue operation to the graph.
|
Output<?> |
handle() |
The handle to the queue.
|
static RandomShuffleQueue.Options |
minAfterDequeue(java.lang.Long minAfterDequeue) |
|
static RandomShuffleQueue.Options |
seed(java.lang.Long seed) |
|
static RandomShuffleQueue.Options |
seed2(java.lang.Long seed2) |
|
static RandomShuffleQueue.Options |
shapes(java.util.List<Shape> shapes) |
|
static RandomShuffleQueue.Options |
sharedName(java.lang.String sharedName) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static RandomShuffleQueue create(Scope scope, java.util.List<java.lang.Class<?>> componentTypes, RandomShuffleQueue.Options... options)
scope - current graph scopecomponentTypes - The type of each component in a value.options - carries optional attributes valuespublic static RandomShuffleQueue.Options shapes(java.util.List<Shape> shapes)
shapes - The shape of each component in a value. The length of this attr must
be either 0 or the same as the length of component_types. If the length of
this attr is 0, the shapes of queue elements are not constrained, and
only one element may be dequeued at a time.public static RandomShuffleQueue.Options capacity(java.lang.Long capacity)
capacity - The upper bound on the number of elements in this queue.
Negative numbers mean no limit.public static RandomShuffleQueue.Options minAfterDequeue(java.lang.Long minAfterDequeue)
minAfterDequeue - Dequeue will block unless there would be this
many elements after the dequeue or the queue is closed. This
ensures a minimum level of mixing of elements.public static RandomShuffleQueue.Options seed(java.lang.Long seed)
seed - If either seed or seed2 is set to be non-zero, the random number
generator is seeded by the given seed. Otherwise, a random seed is used.public static RandomShuffleQueue.Options seed2(java.lang.Long seed2)
seed2 - A second seed to avoid seed collision.public static RandomShuffleQueue.Options container(java.lang.String container)
container - If non-empty, this queue is placed in the given container.
Otherwise, a default container is used.public static RandomShuffleQueue.Options sharedName(java.lang.String sharedName)
sharedName - If non-empty, this queue will be shared under the given name
across multiple sessions.public Output<?> handle()
public Output<java.lang.Object> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<java.lang.Object>OperationBuilder.addInput(Output)