tensorflow:: ops:: DepthwiseConv2dNative:: Attrs

#include <nn_ops.h>

Impostatori di attributi opzionali per DepthwiseConv2dNative .

Riepilogo

attributi pubblici

data_format_ = "NHWC"
StringPiece
dilations_ = Default_dilations()
gtl::ArraySlice< int >
explicit_paddings_ = {}
gtl::ArraySlice< int >

Funzioni pubbliche

DataFormat (StringPiece x)
TF_MUST_USE_RESULT Attrs
Specificare il formato dei dati di input e output.
Dilations (const gtl::ArraySlice< int > & x)
TF_MUST_USE_RESULT Attrs
Tensore unidimensionale di lunghezza 4.
ExplicitPaddings (const gtl::ArraySlice< int > & x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è [].

attributi pubblici

formato_dati_

StringPiece tensorflow::ops::DepthwiseConv2dNative::Attrs::data_format_ = "NHWC"

dilatazioni_

gtl::ArraySlice< int > tensorflow::ops::DepthwiseConv2dNative::Attrs::dilations_ = Default_dilations()

paddings_espliciti

gtl::ArraySlice< int > tensorflow::ops::DepthwiseConv2dNative::Attrs::explicit_paddings_ = {}

Funzioni pubbliche

Formato dati

TF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::DataFormat(
  StringPiece x
)

Specificare 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 l'ordine di memorizzazione dei dati: [batch, canali, altezza, larghezza].

Il valore predefinito è "NHWC"

Dilatazioni

TF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::Dilations(
  const gtl::ArraySlice< int > & x
)

Tensore unidimensionale di lunghezza 4.

Il fattore di dilatazione per ogni dimensione input . Se impostato su k > 1, verranno saltate k-1 celle 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.

Il valore predefinito è [1, 1, 1, 1]

ExplicitPaddings

TF_MUST_USE_RESULT Attrs tensorflow::ops::DepthwiseConv2dNative::Attrs::ExplicitPaddings(
  const gtl::ArraySlice< int > & x
)

Il valore predefinito è [].