Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: MaxPoolWithArgmax:: Atrybuty
#include <nn_ops.h>
Opcjonalne moduły ustawiające atrybuty dla MaxPoolWithArgmax .
Streszczenie
Funkcje publiczne |
---|
IncludeBatchInIndex (bool x) | Czy uwzględnić wymiar wsadowy w spłaszczonym indeksie argmax . |
Targmax (DataType x) | Domyślnie jest to DT_INT64. |
Atrybuty publiczne
Targmax_
DataType tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax_ = DT_INT64
include_batch_in_index_
bool tensorflow::ops::MaxPoolWithArgmax::Attrs::include_batch_in_index_ = false
Funkcje publiczne
UwzględnijBatchInIndex
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::IncludeBatchInIndex(
bool x
)
Czy uwzględnić wymiar wsadowy w spłaszczonym indeksie argmax
.
Domyślnie jest to fałsz
Targmax
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax(
DataType x
)
Domyślnie jest to DT_INT64.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::MaxPoolWithArgmax::Attrs Struct Reference\n\ntensorflow::ops::MaxPoolWithArgmax::Attrs\n=========================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [MaxPoolWithArgmax](/versions/r2.3/api_docs/cc/class/tensorflow/ops/max-pool-with-argmax#classtensorflow_1_1ops_1_1_max_pool_with_argmax).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------------|------------|\n| [Targmax_](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a88f1f25def0bcad5ffb5f00653b83159)` = DT_INT64` | `DataType` |\n| [include_batch_in_index_](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a81e26016c695bd0e1b5c06660d1830b7)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [IncludeBatchInIndex](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a8a5fb21c00b703a7715971775a9d9a7f)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/max-pool-with-argmax/attrs#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs) Whether to include batch dimension in flattened index of `argmax`. |\n| [Targmax](#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs_1a74d7ddeb549b848bb1a3973df5747df9)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/max-pool-with-argmax/attrs#structtensorflow_1_1ops_1_1_max_pool_with_argmax_1_1_attrs) Defaults to DT_INT64. |\n\nPublic attributes\n-----------------\n\n### Targmax_\n\n```scdoc\nDataType tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax_ = DT_INT64\n``` \n\n### include_batch_in_index_\n\n```scdoc\nbool tensorflow::ops::MaxPoolWithArgmax::Attrs::include_batch_in_index_ = false\n``` \n\nPublic functions\n----------------\n\n### IncludeBatchInIndex\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::IncludeBatchInIndex(\n bool x\n)\n``` \nWhether to include batch dimension in flattened index of `argmax`.\n\nDefaults to false \n\n### Targmax\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax(\n DataType x\n)\n``` \nDefaults to DT_INT64."]]