Restez organisé à l'aide des collections Enregistrez et classez les contenus selon vos préférences.

tensorflow :: opérations :: MaxPoolGradGradWithArgmax

#include <nn_ops.h>

Calcule les gradients de second ordre de la fonction maxpool.

Résumé

Arguments:

  • scope: un objet Scope
  • input: l'entrée d'origine.
  • grad: 4-D avec forme [batch, height, width, channels] . Les dégradés correspondent à 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 : Gradients 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)

Structs

tensorflow :: ops :: MaxPoolGradGradWithArgmax :: Attrs

Définisseurs d' attributs facultatifs pour MaxPoolGradGradWithArgmax .

Attributs publics

opération

Operation operation

production

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

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Output

 operator::tensorflow::Output() const 

Fonctions statiques publiques

IncludeBatchInIndex

Attrs IncludeBatchInIndex(
  bool x
)