#include <array_ops.h>
A placeholder op for a value that will be fed into the computation.
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.
Arguments:
Optional attributes (see Attrs
):
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 | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
Shape(PartialTensorShape x) |
Structs | |
---|---|
tensorflow::ops::Placeholder::Attrs | Optional attribute setters for Placeholder. |
::tensorflow::Output output
Placeholder( const ::tensorflow::Scope & scope, DataType dtype )
Placeholder( const ::tensorflow::Scope & scope, DataType dtype, const Placeholder::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs Shape( PartialTensorShape x )
© 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/ops/placeholder.html