Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
flux tensoriel : : opérations : : MaxPoolAvecArgmax :: Attributs
#include <nn_ops.h>
Setters d'attributs facultatifs pour MaxPoolWithArgmax .
Résumé
Fonctions publiques |
---|
IncludeBatchInIndex (bool x) | S'il faut inclure la dimension du lot dans l'index aplati de argmax . |
Targmax (DataType x) | La valeur par défaut est DT_INT64. |
Attributs publics
Targmax_
DataType tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax_ = DT_INT64
include_batch_in_index_
bool tensorflow::ops::MaxPoolWithArgmax::Attrs::include_batch_in_index_ = false
Fonctions publiques
InclureBatchInIndex
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::IncludeBatchInIndex(
bool x
)
S'il faut inclure la dimension du lot dans l'index aplati de argmax
.
La valeur par défaut est false
Targmax
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax(
DataType x
)
La valeur par défaut est DT_INT64.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 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."]]