Stay organized with collections
Save and categorize content based on your preferences.
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)
|
(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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-21 UTC.
[null,null,["Last updated 2020-04-21 UTC."],[],[],null,["# tensorflow::ops::Placeholder::Attrs Struct Reference\n\ntensorflow::ops::Placeholder::Attrs\n===================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [Placeholder](/versions/r1.15/api_docs/cc/class/tensorflow/ops/placeholder#classtensorflow_1_1ops_1_1_placeholder).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------------------|----------------------|\n| [shape_](#structtensorflow_1_1ops_1_1_placeholder_1_1_attrs_1a6a6c519ecc364678035bee0c2e15fd62)` = ::tensorflow::PartialTensorShape()` | `PartialTensorShape` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Shape](#structtensorflow_1_1ops_1_1_placeholder_1_1_attrs_1a231b90321d75fb62c9c3e71fc94536d7)`(PartialTensorShape x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/placeholder/attrs#structtensorflow_1_1ops_1_1_placeholder_1_1_attrs) (Optional) The shape of the tensor. |\n\nPublic attributes\n-----------------\n\n### shape_\n\n```scdoc\nPartialTensorShape tensorflow::ops::Placeholder::Attrs::shape_ = ::tensorflow::PartialTensorShape()\n``` \n\nPublic functions\n----------------\n\n### Shape\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Placeholder::Attrs::Shape(\n PartialTensorShape x\n)\n``` \n(Optional) The shape of the tensor.\n\nIf the shape has 0 dimensions, the shape is unconstrained.\n\nDefaults to"]]