tensorflow::ops::MaxPoolGradGradWithArgmax
#include <nn_ops.h>
Вычисляет градиенты второго порядка функции maxpooling.
Краткое описание
Аргументы:
- scope: объект Scope
- input: исходный входной тензор.
- grad: тензор размерности 4 с формой
[batch, height, width, channels]. Градиенты относительно входного тензораmax_pool. - argmax: индексы максимальных значений, выбранных для каждого выходного элемента
max_pool. - ksize: размер окна для каждого измерения входного тензора.
- strides: шаг скользящего окна для каждого измерения входного тензора.
- padding: тип используемого алгоритма дополнения.
Необязательные атрибуты (см. Attrs):
- include_batch_in_index: указывает, следует ли включать размерность пакета в плоский индекс
argmax.
Возвращает:
-
Output: градиенты градиентов относительно входного тензораmax_pool.
| Конструкторы и деструкторы | |
|---|---|
MaxPoolGradGradWithArgmax(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPoolGradGradWithArgmax(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Общедоступные статические функции | |
|---|---|
IncludeBatchInIndex(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs | Методы установки необязательных атрибутов для MaxPoolGradGradWithArgmax. |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Общедоступные статические функции
IncludeBatchInIndex
Attrs IncludeBatchInIndex( bool x )
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/max-pool-grad-grad-with-argmax