컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: FractionalMaxPool:: 속성
#include <nn_ops.h>
FractionalMaxPool 에 대한 선택적 속성 설정자입니다.
요약
공공 기능 |
---|
Deterministic (bool x) | |
Overlapping (bool x) | True로 설정하면 풀링할 때 인접한 풀링 셀 경계의 값이 두 셀 모두에서 사용된다는 의미입니다. |
PseudoRandom (bool x) | True로 설정하면 의사 무작위 방식으로 풀링 시퀀스를 생성하고, 그렇지 않으면 무작위 방식으로 생성합니다. |
Seed (int64 x) | Seed 또는 Seed2가 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다. |
Seed2 (int64 x) | 시드 충돌을 피하기 위한 두 번째 시드입니다. |
공개 속성
결정론적_
bool tensorflow::ops::FractionalMaxPool::Attrs::deterministic_ = false
겹치는_
bool tensorflow::ops::FractionalMaxPool::Attrs::overlapping_ = false
의사_랜덤_
bool tensorflow::ops::FractionalMaxPool::Attrs::pseudo_random_ = false
씨앗2_
int64 tensorflow::ops::FractionalMaxPool::Attrs::seed2_ = 0
씨앗_
int64 tensorflow::ops::FractionalMaxPool::Attrs::seed_ = 0
공공 기능
결정적
TF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Deterministic(
bool x
)
겹치는
TF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Overlapping(
bool x
)
True로 설정하면 풀링할 때 인접한 풀링 셀 경계의 값이 두 셀 모두에서 사용된다는 의미입니다.
예를 들어:
index 0 1 2 3 4
value 20 5 16 3 7
풀링 시퀀스가 [0, 2, 4]이면 인덱스 2의 16이 두 번 사용됩니다. 분수 최대 풀링의 경우 결과는 [20, 16]입니다.
기본값은 거짓
의사랜덤
TF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::PseudoRandom(
bool x
)
씨앗
TF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Seed(
int64 x
)
Seed 또는 Seed2가 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다.
그렇지 않으면 무작위 시드에 의해 시드됩니다.
기본값은 0입니다.
시드2
TF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Seed2(
int64 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::FractionalMaxPool::Attrs Struct Reference\n\ntensorflow::ops::FractionalMaxPool::Attrs\n=========================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [FractionalMaxPool](/versions/r1.15/api_docs/cc/class/tensorflow/ops/fractional-max-pool#classtensorflow_1_1ops_1_1_fractional_max_pool).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------|---------|\n| [deterministic_](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1aafd4ee41920c87adbef0c771e0e4aba4)` = false` | `bool` |\n| [overlapping_](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1a6b8769b5907abc5c5cee931232163a05)` = false` | `bool` |\n| [pseudo_random_](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1a6c151417d34e214907edbe5759f54558)` = false` | `bool` |\n| [seed2_](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1aefa7cfbd921aed44c3aa965112aae471)` = 0` | `int64` |\n| [seed_](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1a16a5faf4dbc78aa4273a0b4bd1b6bb16)` = 0` | `int64` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Deterministic](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1a9706cde32d80300611dd0f402e11c260)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fractional-max-pool/attrs#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs) When set to True, a fixed pooling region will be used when iterating over a [FractionalMaxPool](/versions/r1.15/api_docs/cc/class/tensorflow/ops/fractional-max-pool#classtensorflow_1_1ops_1_1_fractional_max_pool) node in the computation graph. |\n| [Overlapping](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1a88e7b77529a3eaad0c669ce58de7c8d6)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fractional-max-pool/attrs#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs) When set to True, it means when pooling, the values at the boundary of adjacent pooling cells are used by both cells. |\n| [PseudoRandom](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1a79febe1b4fc14f85af705bf34afcb0cb)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fractional-max-pool/attrs#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs) When set to True, generates the pooling sequence in a pseudorandom fashion, otherwise, in a random fashion. |\n| [Seed](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1a2ddc35d0c34cc172bddeb5d1fe3efb47)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fractional-max-pool/attrs#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs) If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed. |\n| [Seed2](#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs_1ac3ab59fffb91f5171c0b93e5867dda8c)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/fractional-max-pool/attrs#structtensorflow_1_1ops_1_1_fractional_max_pool_1_1_attrs) An second seed to avoid seed collision. |\n\nPublic attributes\n-----------------\n\n### deterministic_\n\n```scdoc\nbool tensorflow::ops::FractionalMaxPool::Attrs::deterministic_ = false\n``` \n\n### overlapping_\n\n```scdoc\nbool tensorflow::ops::FractionalMaxPool::Attrs::overlapping_ = false\n``` \n\n### pseudo_random_\n\n```scdoc\nbool tensorflow::ops::FractionalMaxPool::Attrs::pseudo_random_ = false\n``` \n\n### seed2_\n\n```scdoc\nint64 tensorflow::ops::FractionalMaxPool::Attrs::seed2_ = 0\n``` \n\n### seed_\n\n```scdoc\nint64 tensorflow::ops::FractionalMaxPool::Attrs::seed_ = 0\n``` \n\nPublic functions\n----------------\n\n### Deterministic\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Deterministic(\n bool x\n)\n``` \nWhen set to True, a fixed pooling region will be used when iterating over a [FractionalMaxPool](/versions/r1.15/api_docs/cc/class/tensorflow/ops/fractional-max-pool#classtensorflow_1_1ops_1_1_fractional_max_pool) node in the computation graph.\n\nMainly used in unit test to make [FractionalMaxPool](/versions/r1.15/api_docs/cc/class/tensorflow/ops/fractional-max-pool#classtensorflow_1_1ops_1_1_fractional_max_pool) deterministic.\n\nDefaults to false \n\n### Overlapping\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Overlapping(\n bool x\n)\n``` \nWhen set to True, it means when pooling, the values at the boundary of adjacent pooling cells are used by both cells.\n\nFor example:\n\n\n`index 0 1 2 3 4`\n\n\n`value 20 5 16 3 7`\n\nIf the pooling sequence is \\[0, 2, 4\\], then 16, at index 2 will be used twice. The result would be \\[20, 16\\] for fractional max pooling.\n\nDefaults to false \n\n### PseudoRandom\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::PseudoRandom(\n bool x\n)\n``` \nWhen set to True, generates the pooling sequence in a pseudorandom fashion, otherwise, in a random fashion.\n\nCheck paper [Benjamin Graham, Fractional Max-Pooling](http://arxiv.org/abs/1412.6071) for difference between pseudorandom and random.\n\nDefaults to false \n\n### Seed\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Seed(\n int64 x\n)\n``` \nIf either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed.\n\nOtherwise, it is seeded by a random seed.\n\nDefaults to 0 \n\n### Seed2\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FractionalMaxPool::Attrs::Seed2(\n int64 x\n)\n``` \nAn second seed to avoid seed collision.\n\nDefaults to 0"]]