Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::MaxPool3DGradGrad

#include <nn_ops.h>

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

Summary

Arguments:

  • scope: An object Scope
  • orig_input: Исходный тензор входных данных.
  • orig_output: Исходный тензор выходных данных.
  • grad: Output обратного распространения градиента формы [batch, depth, rows, cols, channels].
  • ksize: 1-мерный тензор длиной 5. Размер окна для каждого измерения тензора входных данных. Должен иметь ksize[0] = ksize[4] = 1.
  • strides: 1-мерный тензор длиной 5. Шаг скользящего окна для каждого измерения input. Должен иметь strides[0] = strides[4] = 1.
  • padding: Тип алгоритма заполнения.

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

  • data_format: Формат данных входных и выходных данных. С параметром по умолчанию "NDHWC", данные хранятся в порядке: [batch, in_depth, in_height, in_width, in_channels]. В качестве альтернативы, формат может быть "NCDHW", порядок хранения данных: [batch, in_channels, in_depth, in_height, in_width].

Returns:

  • Output: Градиенты градиентов по отношению к входу для max_pool.
Конструкторы и деструкторы
MaxPool3DGradGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input, ::tensorflow::Input orig_output, ::tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)
MaxPool3DGradGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input, ::tensorflow::Input orig_output, ::tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool3DGradGrad::Attrs & attrs)
Public attributes
operation
Operation
output
::tensorflow::Output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Public static functions
DataFormat(StringPiece x)
Attrs
Structs
tensorflow::ops::MaxPool3DGradGrad::Attrs

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

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

MaxPool3DGradGrad

 MaxPool3DGradGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

MaxPool3DGradGrad

 MaxPool3DGradGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const MaxPool3DGradGrad::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Public static functions

DataFormat

Attrs DataFormat(
  StringPiece 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/r2.3/api_docs/cc/class/tensorflow/ops/max-pool3-d-grad-grad

Spec-Zone.ru

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