#include <ops.h>
Represents a tensor value that can be used as an operand to an Operation.
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, int i, DataType dt) Constructor specifying a node name, index and datatype. |
Public functions | |
---|---|
data_type() const | DataType |
index() const | int |
node() const | Node * |
node_name() const | string |
status() const | |
tensor() const | const Tensor & |
Structs | |
---|---|
tensorflow::Input::Initializer | 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. |
Input( const Output & o )
Input( const T & v )
Input( const Initializer & init )
Input( const Tensor & t )
Input( const std::initializer_list< Initializer > & init )
Input( const string & name, int 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.
DataType data_type() const
int index() const
Node * node() const
string node_name() const
Status status() const
const Tensor & tensor() const
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/input.html