tensorflow:: ops:: DepthwiseConv2dNativeBackpropInput

#include <nn_ops.h>

Calcola i gradienti della convoluzione depthwise rispetto all'input.

Riepilogo

Argomentazioni:

  • ambito: un oggetto Scope
  • input_sizes: Un vettore di interi che rappresenta la forma input , in base a data_format . Ad esempio, se data_format è 'NHWC', input è un tensore 4D [batch, height, width, channels] .
  • filtro: 4-D con forma [filter_height, filter_width, in_channels, depthwise_multiplier] .
  • out_backprop: 4-D con forma basata su data_format . Ad esempio, se data_format è 'NHWC', la forma di out_backprop è [batch, out_height, out_width, out_channels] . Gradienti rispetto all'output della convoluzione.
  • passi: Il passo della finestra scorrevole per ciascuna dimensione dell'input della convoluzione.
  • padding: Il tipo di algoritmo di padding da utilizzare.

Attributi opzionali (vedere Attrs ):

  • data_format: Specifica il formato dei dati di input e output. Con il formato predefinito "NHWC", i dati vengono memorizzati nell'ordine: [batch, altezza, larghezza, canali]. In alternativa, il formato potrebbe essere "NCHW", con un ordine di memorizzazione dei dati pari a: [batch, canali, altezza, larghezza].
  • dilatazioni: tensore 1-D di lunghezza 4. Il fattore di dilatazione per ogni dimensione input . Se impostato su k > 1, ci saranno k-1 celle saltate tra ogni elemento del filtro su quella dimensione. L'ordine delle dimensioni è determinato dal valore di data_format , vedere sopra per i dettagli. Le dilatazioni nelle dimensioni batch e depth devono essere 1.

Resi:

  • Output : 4D con forma in base a data_format . Ad esempio, se data_format è 'NHWC', la forma dell'output è [batch, in_height, in_width, in_channels] . Gradiente rispetto all'input della convoluzione.

Costruttori e distruttori

DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropInput::Attrs & attrs)

attributi pubblici

operation
output

Funzioni pubbliche

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

Funzioni statiche pubbliche

DataFormat (StringPiece x)
Dilations (const gtl::ArraySlice< int > & x)

Strutture

tensorflow:: ops:: DepthwiseConv2dNativeBackpropInput:: Attrs

Impostatori di attributi opzionali per DepthwiseConv2dNativeBackpropInput .

attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

DepthwiseConv2dNativeBackpropInput

 DepthwiseConv2dNativeBackpropInput(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_sizes,
  ::tensorflow::Input filter,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

DepthwiseConv2dNativeBackpropInput

 DepthwiseConv2dNativeBackpropInput(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_sizes,
  ::tensorflow::Input filter,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const DepthwiseConv2dNativeBackpropInput::Attrs & attrs
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensoreflusso::output

 operator::tensorflow::Output() const 

Funzioni statiche pubbliche

Formato dati

Attrs DataFormat(
  StringPiece x
)

Dilatazioni

Attrs Dilations(
  const gtl::ArraySlice< int > & x
)