Creates a sequence of numbers.
This operation creates a sequence of numbers that begins at `start` and extends by increments of `delta` up to but not including `limit`.
For example:
# 'start' is 3
# 'limit' is 18
# 'delta' is 3
tf.range(start, limit, delta) ==> [3, 6, 9, 12, 15]
Public Methods
Inherited Methods
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public Output<T> asOutput ()
Returns the symbolic handle of a 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 Range<T> create (Scope scope, Operand<T> start, Operand<T> limit, Operand<T> delta)
Factory method to create a class wrapping a new Range operation.
Parameters
scope | current scope |
---|---|
start | 0-D (scalar). First entry in the sequence. |
limit | 0-D (scalar). Upper limit of sequence, exclusive. |
delta | 0-D (scalar). Optional. Default is 1. Number that increments `start`. |
Returns
- a new instance of Range