Spec-Zone.ru › TensorFlow C++ 2.9

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
Operation
output
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Публичные статические функции
IncludeBatchInIndex(bool x)
Attrs
Структуры
tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs

Дополнительные атрибуты для установки MaxPoolGradGradWithArgmax.

Публичные атрибуты

operation

Operation operation

выход

::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
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Input

operator::tensorflow::Input() const 

оператор::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/versions/r2.9/api_docs/cc/class/tensorflow/ops/max-pool-grad-grad-with-argmax

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API