tensorflow:: Input
#include <ops.h>
Represents a tensor value that can be used as an operand to an Operation.
Summary
Constructors and Destructors |
|
---|---|
Input(const Output & o)
All of Input's constructors are implicit.
|
|
Input(const T & v)
|
|
Input(const Initializer & init)
|
|
Input(const Tensor & t)
|
|
Input(const std::initializer_list< Initializer > & init)
|
|
Input(const string & name, int32 i, DataType dt)
Constructor specifying a node name, index and datatype.
|
Public functions |
|
---|---|
data_type() const
|
DataType
|
index() const
|
int32
|
node() const
|
Node *
|
node_name() const
|
string
|
status() const
|
|
tensor() const
|
const Tensor &
|
Structs |
|
---|---|
tensorflow:: |
Initializer enables constructing an Input object from various kinds of C++ constants such as simple primitive constants and nested initializer lists representing a multi-dimensional array. |
Public functions
Input
Input( const Output & o )
Input
Input( const T & v )
Input
Input( const Initializer & init )
Input
Input( const Tensor & t )
Input
Input( const std::initializer_list< Initializer > & init )
Input
Input( const string & name, int32 i, DataType dt )
Constructor specifying a node name, index and datatype.
This should only be used for specifying a backward edge, needed by control flow.
data_type
DataType data_type() const
index
int32 index() const
node
Node * node() const
node_name
string node_name() const
status
Status status() const
tensor
const Tensor & tensor() const