컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
#include <image_ops.h>
ExtractGlimpse 에 대한 선택적 속성 설정자입니다.
요약
공공 기능 |
---|
Centered (bool x) | 오프셋 좌표가 이미지를 기준으로 중앙에 있는지 여부를 나타냅니다. 이 경우 (0, 0) 오프셋은 입력 이미지의 중심을 기준으로 합니다. |
Noise (StringPiece x) | 노이즈가 uniform 해야 하는지, gaussian 또는 zero 나타냅니다. |
Normalized (bool x) | 오프셋 좌표가 정규화되었는지 여부를 나타냅니다. |
UniformNoise (bool 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::ExtractGlimpse::Attrs Struct Reference\n\ntensorflow::ops::ExtractGlimpse::Attrs\n======================================\n\n`#include \u003cimage_ops.h\u003e`\n\nOptional attribute setters for [ExtractGlimpse](/versions/r2.2/api_docs/cc/class/tensorflow/ops/extract-glimpse#classtensorflow_1_1ops_1_1_extract_glimpse).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------|---------------|\n| [centered_](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1a091aa35c4372414f56642722f0662db5)` = true` | `bool` |\n| [noise_](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1ace5ce4b32f313d334089027e08a8afa9)` = \"uniform\"` | `StringPiece` |\n| [normalized_](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1aafca1aa3f4c17329062219124a884db9)` = true` | `bool` |\n| [uniform_noise_](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1a0a0566a1fa43743a25bcd5e8dd9643cb)` = true` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Centered](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1a8988355f28f34b1a6ed803cfa297436e)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/extract-glimpse/attrs#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs) indicates if the offset coordinates are centered relative to the image, in which case the (0, 0) offset is relative to the center of the input images. |\n| [Noise](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1aa3973de4d55127fbab22be6521c8450d)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/extract-glimpse/attrs#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs) indicates if the noise should `uniform`, `gaussian`, or `zero`. |\n| [Normalized](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1a2768807d142893eb4517d6a1ed7f6d06)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/extract-glimpse/attrs#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs) indicates if the offset coordinates are normalized. |\n| [UniformNoise](#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs_1abd5583b6d3fa73a9cc9064fdb8320394)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/extract-glimpse/attrs#structtensorflow_1_1ops_1_1_extract_glimpse_1_1_attrs) indicates if the noise should be generated using a uniform distribution or a Gaussian distribution. |\n\nPublic attributes\n-----------------\n\n### centered_\n\n```scdoc\nbool tensorflow::ops::ExtractGlimpse::Attrs::centered_ = true\n``` \n\n### noise_\n\n```scdoc\nStringPiece tensorflow::ops::ExtractGlimpse::Attrs::noise_ = \"uniform\"\n``` \n\n### normalized_\n\n```scdoc\nbool tensorflow::ops::ExtractGlimpse::Attrs::normalized_ = true\n``` \n\n### uniform_noise_\n\n```scdoc\nbool tensorflow::ops::ExtractGlimpse::Attrs::uniform_noise_ = true\n``` \n\nPublic functions\n----------------\n\n### Centered\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::Centered(\n bool x\n)\n``` \nindicates if the offset coordinates are centered relative to the image, in which case the (0, 0) offset is relative to the center of the input images.\n\nIf false, the (0,0) offset corresponds to the upper left corner of the input images.\n\nDefaults to true \n\n### Noise\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::Noise(\n StringPiece x\n)\n``` \nindicates if the noise should `uniform`, `gaussian`, or `zero`.\n\nThe default is `uniform` which means the the noise type will be decided by `uniform_noise`.\n\nDefaults to \"uniform\" \n\n### Normalized\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::Normalized(\n bool x\n)\n``` \nindicates if the offset coordinates are normalized.\n\nDefaults to true \n\n### UniformNoise\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::UniformNoise(\n bool x\n)\n``` \nindicates if the noise should be generated using a uniform distribution or a Gaussian distribution.\n\nDefaults to true"]]