コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::プレースホルダー::属性
#include <array_ops.h>
Placeholderのオプションの属性セッター。
まとめ
パブリック属性 |
---|
shape_ = ::tensorflow::PartialTensorShape() | PartialTensorShape |
公共機能 |
---|
Shape (PartialTensorShape x) | (オプション) テンソルの形状。 |
パブリック属性
形_
PartialTensorShape tensorflow::ops::Placeholder::Attrs::shape_ = ::tensorflow::PartialTensorShape()
公共機能
形
TF_MUST_USE_RESULT Attrs tensorflow::ops::Placeholder::Attrs::Shape(
PartialTensorShape x
)
(オプション) テンソルの形状。
形状の次元が 0 の場合、形状は拘束されません。
デフォルトは
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 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"]]