컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: 자리표시자:: 속성
#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이면 모양이 제한되지 않습니다.
기본값은
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]