public final class
RangeDataset
Creates a dataset with a range of values. Corresponds to python's xrange.
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
Output<TType> |
asOutput()
Returns the symbolic handle of the tensor.
|
static RangeDataset | |
Output<?> |
handle()
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Constant Value:
"RangeDataset"
Public Methods
public Output<TType> asOutput ()
Returns the symbolic handle of the tensor.
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.
public static RangeDataset create (Scope scope, Operand<TInt64> start, Operand<TInt64> stop, Operand<TInt64> step, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes)
Factory method to create a class wrapping a new RangeDataset operation.
Parameters
scope | current scope |
---|---|
start | corresponds to start in python's xrange(). |
stop | corresponds to stop in python's xrange(). |
step | corresponds to step in python's xrange(). |
Returns
- a new instance of RangeDataset