Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::MaxPoolGradGradWithArgmax

#include <nn_ops.h>

Вычисляет градиенты второго порядка функции maxpooling.

Summary

Arguments:

  • scope: An object Scope
  • input: Исходный вход.
  • grad: 4-мерный с формой [batch, height, width, channels]. Градиенты по отношению к входу max_pool.
  • argmax: Индексы максимальных значений, выбранных для каждого выхода max_pool.
  • ksize: Размер окна для каждой размерности входного тензора.
  • strides: Шаг скользящего окна для каждой размерности входного тензора.
  • padding: Тип алгоритма заполнения.

Дополнительные атрибуты (см. Attrs):

  • include_batch_in_index: Включать ли размерность пакет в сглаженный индекс argmax.

Returns:

  • 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

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
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/max-pool-grad-grad-with-argmax

Spec-Zone.ru

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