tensorflow:: ops:: Placeholder
#include <array_ops.h>
A placeholder op for a value that will be fed into the computation.
Summary
N.B. This operation will fail with an error if it is executed. It is intended as a way to represent a value that will always be fed, and to provide attrs that enable the fed value to be checked at runtime.
Args:
- scope: A Scope object
 - dtype: The type of elements in the tensor.
 
Optional attributes (see Attrs):
- shape: (Optional) The shape of the tensor. If the shape has 0 dimensions, the shape is unconstrained.
 
Returns:
Output: A placeholder tensor that must be replaced using the feed mechanism.
Constructors and Destructors | 
|
|---|---|
Placeholder(const ::tensorflow::Scope & scope, DataType dtype)
 | 
|
Placeholder(const ::tensorflow::Scope & scope, DataType dtype, const Placeholder::Attrs & attrs)
 | 
Public attributes | 
|
|---|---|
operation
 | 
|
output
 | 
|
Public functions | 
|
|---|---|
node() const 
 | 
::tensorflow::Node *
 | 
operator::tensorflow::Input() const 
 | 
 | 
operator::tensorflow::Output() const 
 | 
 | 
Public static functions | 
|
|---|---|
Shape(PartialTensorShape x)
 | 
|
Structs | 
|
|---|---|
| 
tensorflow:: | 
 Optional attribute setters for Placeholder.  | 
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
Placeholder
Placeholder( const ::tensorflow::Scope & scope, DataType dtype )
Placeholder
Placeholder( const ::tensorflow::Scope & scope, DataType dtype, const Placeholder::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
Shape
Attrs Shape( PartialTensorShape x )