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