컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: 패딩FIFO큐:: 속성
#include <data_flow_ops.h>
PaddingFIFOQueue 에 대한 선택적 속성 설정자입니다.
요약
공공 기능 |
---|
Capacity (int64 x) | 이 큐에 있는 요소 수의 상한입니다. |
Container (StringPiece x) | 비어 있지 않은 경우 이 큐는 지정된 컨테이너에 배치됩니다. |
Shapes (const gtl::ArraySlice< PartialTensorShape > & x) | 값의 각 구성 요소 모양입니다. |
SharedName (StringPiece x) | 비어 있지 않은 경우 이 대기열은 여러 세션에서 지정된 이름으로 공유됩니다. |
공개 속성
용량_
int64 tensorflow::ops::PaddingFIFOQueue::Attrs::capacity_ = -1
컨테이너_
StringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::container_ = ""
모양_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::PaddingFIFOQueue::Attrs::shapes_ = {}
공유_이름_
StringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::shared_name_ = ""
공공 기능
용량
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Capacity(
int64 x
)
이 큐에 있는 요소 수의 상한입니다.
음수는 제한이 없음을 의미합니다.
기본값은 -1입니다.
컨테이너
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Container(
StringPiece x
)
비어 있지 않은 경우 이 큐는 지정된 컨테이너에 배치됩니다.
그렇지 않으면 기본 컨테이너가 사용됩니다.
기본값은 ""입니다.
모양
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Shapes(
const gtl::ArraySlice< PartialTensorShape > & x
)
값의 각 구성 요소 모양입니다.
이 속성의 길이는 0이거나 component_types의 길이와 동일해야 합니다. 모양 차원을 -1로 설정하면 고정 순위이지만 가변 크기의 모양이 허용됩니다. 이 경우 입력의 모양은 주어진 차원에 따라 달라질 수 있으며 DequeueMany는 주어진 배치에 있는 모든 요소의 최대 모양까지 주어진 차원을 0으로 채웁니다. 이 속성의 길이가 0인 경우 여러 대기열 요소는 서로 다른 순위와 모양을 가질 수 있지만 한 번에 하나의 요소만 대기열에서 제거할 수 있습니다.
기본값은 []
공유 이름
TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::SharedName(
StringPiece x
)
비어 있지 않은 경우 이 대기열은 여러 세션에서 지정된 이름으로 공유됩니다.
기본값은 ""입니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[],[],null,["# tensorflow::ops::PaddingFIFOQueue::Attrs Struct Reference\n\ntensorflow::ops::PaddingFIFOQueue::Attrs\n========================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [PaddingFIFOQueue](/versions/r2.2/api_docs/cc/class/tensorflow/ops/padding-f-i-f-o-queue#classtensorflow_1_1ops_1_1_padding_f_i_f_o_queue).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| [capacity_](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a4f3d638a9ca754c89d42d2eba51d695d)` = -1` | `int64` |\n| [container_](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1abbdf45e1046ad7f88ff4affee8a46c61)` = \"\"` | `StringPiece` |\n| [shapes_](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a3b2834168ccf43cf2e88e937a57e25a2)` = {}` | `gtl::ArraySlice\u003c PartialTensorShape \u003e` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a4049c026c1262b7411d61a0af36660c3)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Capacity](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a37b197e3528b7d7f8c8203b12e954701)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs) The upper bound on the number of elements in this queue. |\n| [Container](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1ae869c780a3baabe5b04cbee60e17b35e)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs) If non-empty, this queue is placed in the given container. |\n| [Shapes](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1ab5518933cf19c007b1bb4ba142200a63)`(const gtl::ArraySlice\u003c PartialTensorShape \u003e & x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs) The shape of each component in a value. |\n| [SharedName](#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a4ad3be8f42b64182901f8843d58b0a0b)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs) If non-empty, this queue will be shared under the given name across multiple sessions. |\n\nPublic attributes\n-----------------\n\n### capacity_\n\n```scdoc\nint64 tensorflow::ops::PaddingFIFOQueue::Attrs::capacity_ = -1\n``` \n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::container_ = \"\"\n``` \n\n### shapes_\n\n```scdoc\ngtl::ArraySlice\u003c PartialTensorShape \u003e tensorflow::ops::PaddingFIFOQueue::Attrs::shapes_ = {}\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Capacity\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Capacity(\n int64 x\n)\n``` \nThe upper bound on the number of elements in this queue.\n\nNegative numbers mean no limit.\n\nDefaults to -1 \n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Container(\n StringPiece x\n)\n``` \nIf non-empty, this queue is placed in the given container.\n\nOtherwise, a default container is used.\n\nDefaults to \"\" \n\n### Shapes\n\n```gdscript\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Shapes(\n const gtl::ArraySlice\u003c PartialTensorShape \u003e & x\n)\n``` \nThe shape of each component in a value.\n\nThe length of this attr must be either 0 or the same as the length of component_types. Shapes of fixed rank but variable size are allowed by setting any shape dimension to -1. In this case, the inputs' shape may vary along the given dimension, and DequeueMany will pad the given dimension with zeros up to the maximum shape of all elements in the given batch. If the length of this attr is 0, different queue elements may have different ranks and shapes, but only one element may be dequeued at a time.\n\nDefaults to \\[\\] \n\n### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::SharedName(\n StringPiece x\n)\n``` \nIf non-empty, this queue will be shared under the given name across multiple sessions.\n\nDefaults to \"\""]]