@Operator(group="io") public final class IdentityReader extends PrimitiveOp implements Operand<Object>
To use, enqueue strings in a Queue. ReaderRead will take the front work string and output (work, work).
Modifier and Type | Class and Description |
---|---|
static class |
IdentityReader.Options
Optional attributes for
IdentityReader |
operation
Modifier and Type | Method and Description |
---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static IdentityReader.Options |
container(String container) |
static IdentityReader |
create(Scope scope,
IdentityReader.Options... options)
Factory method to create a class wrapping a new IdentityReader operation.
|
Output<?> |
readerHandle()
The handle to reference the Reader.
|
static IdentityReader.Options |
sharedName(String sharedName) |
equals, hashCode, op, toString
public static IdentityReader create(Scope scope, IdentityReader.Options... options)
scope
- current scopeoptions
- carries optional attributes valuespublic static IdentityReader.Options container(String container)
container
- If non-empty, this reader is placed in the given container.
Otherwise, a default container is used.public static IdentityReader.Options sharedName(String sharedName)
sharedName
- If non-empty, this reader is named in the given bucket
with this shared_name. Otherwise, the node name is used instead.public Output<?> readerHandle()
public Output<Object> asOutput()
Operand
Inputs 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<Object>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.