tensorflow::ops::Range

#include <math_ops.h>

Creates a sequence of numbers.

Summary

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]

Arguments:

  • scope: A Scope object
  • 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:

Constructors and Destructors

Range(const ::tensorflow::Scope & scope, ::tensorflow::Input start, ::tensorflow::Input limit, ::tensorflow::Input delta)

Public attributes

operation
output

Public functions

node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

Range

 Range(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input start,
  ::tensorflow::Input limit,
  ::tensorflow::Input delta
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const