tensorflow::ops::MaxPoolGradGradWithArgmax

#include <nn_ops.h>

Calcule les gradients du second ordre de la fonction de maxpooling.

Résumé

Arguments :

  • portée : un objet Scope
  • entrée : L'entrée d'origine.
  • grad : 4D avec la forme [batch, height, width, channels] . Gradients par rapport à l'entrée de max_pool .
  • argmax : Les indices des valeurs maximales choisies pour chaque sortie de max_pool .
  • ksize : La taille de la fenêtre pour chaque dimension du tenseur d’entrée.
  • pas : Le pas de la fenêtre glissante pour chaque dimension du tenseur d'entrée.
  • padding : le type d’algorithme de padding à utiliser.

Attributs optionnels (voir Attrs ) :

  • include_batch_in_index : Indique s’il faut inclure la dimension batch dans l’index aplati de argmax .

Retours :

  • Output : Gradients des gradients par rapport à l'entrée de max_pool .

Constructeurs et destructeurs

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)

attributs publics

operation
output

fonctions publiques

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

fonctions statiques publiques

IncludeBatchInIndex (bool x)

Structures

tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs

Définiteurs d'attributs optionnels pour MaxPoolGradGradWithArgmax .

attributs publics

opération

Operation operation

sortir

::tensorflow::Output output

fonctions publiques

MaxPoolGradGradAvecArgmax

 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
)

MaxPoolGradGradAvecArgmax

 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
)

nœud

::tensorflow::Node * node() const 

opérateur::tensorflow::Entrée

 operator::tensorflow::Input() const 

opérateur::tensorflow::Sortie

 operator::tensorflow::Output() const 

fonctions statiques publiques

InclureBatchInIndex

Attrs IncludeBatchInIndex(
  bool x
)