flux tensoriel : : opérations : : MaxPoolGradGradWithArgmax

#include <nn_ops.h>

Calcule les gradients de second ordre de la fonction maxpooling.

Résumé

Arguments:

  • scope : un objet Scope
  • entrée : l'entrée d'origine.
  • grade : 4-D avec forme [batch, height, width, channels] . Dégradés 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.
  • foulées : la foulée de la fenêtre glissante pour chaque dimension du tenseur d'entrée.
  • padding : Le type d’algorithme de remplissage à utiliser.

Attributs facultatifs (voir Attrs ) :

  • include_batch_in_index : s'il faut inclure la dimension du lot dans l'index aplati de argmax .

Retour:

  • Output : Dégradés de dégradés 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

Setters d'attributs facultatifs pour MaxPoolGradGradWithArgmax .

Attributs publics

opération

Operation operation

sortir

::tensorflow::Output output

Fonctions publiques

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
)

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
)