tensorflow::ops::Placeholder::Attrs
#include <array_ops.h>
Optional attribute setters for Placeholder.
Summary
Public attributes | |
---|---|
shape_ = ::tensorflow::PartialTensorShape() | PartialTensorShape |
Public functions | |
---|---|
Shape(PartialTensorShape x) | TF_MUST_USE_RESULT Attrs (Optional) The shape of the tensor. |
Public attributes
shape_
PartialTensorShape tensorflow::ops::Placeholder::Attrs::shape_ = ::tensorflow::PartialTensorShape()
Public functions
Shape
TF_MUST_USE_RESULT Attrs tensorflow::ops::Placeholder::Attrs::Shape( PartialTensorShape x )
(Optional) The shape of the tensor.
If the shape has 0 dimensions, the shape is unconstrained.
Defaults to
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/placeholder/attrs