Generates values in an interval.
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.raw_ops.LinSpace(
start, stop, num, name=None
)
A sequence of num
evenly-spaced values are generated beginning at start
.
If num > 1
, the values in the sequence increase by
(stop - start) / (num - 1)
, so that the last one is exactly stop
.
For example:
tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0 11.0 12.0]
Returns | |
---|---|
A Tensor . Has the same type as start .
|