Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::MaxPoolWithArgmax::Attrs
#include <nn_ops.h>
Optional attribute setters for MaxPoolWithArgmax.
Summary
Public functions
|
IncludeBatchInIndex(bool x)
|
Whether to include batch dimension in flattened index of argmax .
|
Targmax(DataType x)
|
Defaults to DT_INT64.
|
Public attributes
Targmax_
DataType tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax_ = DT_INT64
include_batch_in_index_
bool tensorflow::ops::MaxPoolWithArgmax::Attrs::include_batch_in_index_ = false
Public functions
IncludeBatchInIndex
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::IncludeBatchInIndex(
bool x
)
Whether to include batch dimension in flattened index of argmax
.
Defaults to false
Targmax
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolWithArgmax::Attrs::Targmax(
DataType x
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 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](/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](/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](/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."]]