przepływ tensorowy:: ops:: Filtr DepthwiseConv2dNativeBackprop

#include <nn_ops.h>

Oblicza gradienty splotu wgłębnego względem filtra.

Streszczenie

Argumenty:

  • zakres: Obiekt Scope
  • dane wejściowe: 4-D z kształtem opartym na data_format . Na przykład, jeśli data_format to „NHWC”, wówczas input jest tensor 4-D [batch, in_height, in_width, in_channels] .
  • filter_sizes: wektor całkowity reprezentujący kształt tensora filter , gdzie filter jest tensorem 4-D [filter_height, filter_width, in_channels, depthwise_multiplier] .
  • out_backprop: 4-D z kształtem opartym na data_format . Na przykład, jeśli data_format to „NHWC”, wówczas kształt out_backprop to [batch, out_height, out_width, out_channels] . Gradienty stanowią wynik splotu.
  • kroki: krok przesuwanego okna dla każdego wymiaru wejścia splotu.
  • dopełnienie: typ algorytmu dopełniania, który ma zostać użyty.

Opcjonalne atrybuty (patrz Attrs ):

  • data_format: Określ format danych wejściowych i wyjściowych. Przy domyślnym formacie „NHWC” dane są zapisywane w kolejności: [partia, wysokość, szerokość, kanały]. Alternatywnie formatem może być „NCHW”, a kolejność przechowywania danych: [partia, kanały, wysokość, szerokość].
  • dylatacje: tensor 1-D długości 4. Współczynnik dylatacji dla każdego wymiaru input . Jeśli ustawione na k > 1, pomiędzy każdym elementem filtrującym w tym wymiarze zostanie pominiętych komórek k-1. Kolejność wymiarów jest określona przez wartość data_format , szczegóły znajdziesz powyżej. Dylatacje w wymiarach partii i głębokości muszą wynosić 1.

Zwroty:

  • Output : 4-D o kształcie [filter_height, filter_width, in_channels, out_channels] . Gradient wrt wejścia filter splotu.

Konstruktory i destruktory

DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropFilter::Attrs & attrs)

Atrybuty publiczne

operation
output

Funkcje publiczne

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

Publiczne funkcje statyczne

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

Struktury

tensorflow:: ops:: DepthwiseConv2dNativeBackpropFilter:: Attrs

Opcjonalne moduły ustawiające atrybuty dla DepthwiseConv2dNativeBackpropFilter .

Atrybuty publiczne

operacja

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

Filtr DepthwiseConv2dNativeBackprop

 DepthwiseConv2dNativeBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

Filtr DepthwiseConv2dNativeBackprop

 DepthwiseConv2dNativeBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const DepthwiseConv2dNativeBackpropFilter::Attrs & attrs
)

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

Format danych

Attrs DataFormat(
  StringPiece x
)

Dylatacje

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