tensor akışı:: işlem:: SigortalıTopluNormGrad

#include <nn_ops.h>

Toplu normalleştirme için gradyan.

Özet

4D Tensörlerin boyutunun "NHWC" veya "NCHW" ile tanımlandığını unutmayın. 1D Tensörlerin boyutu, 4D Tensörlerin C boyutuyla eşleşir.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • y_backprop: y'ye göre eğim için bir 4D Tensör .
  • x: Giriş verileri için bir 4D Tensör .
  • ölçek: Normalleştirilmiş x'i ölçeklendirmek için ölçeklendirme faktörü için bir 1D Tensör .
  • Reserve_space_1: is_training True olduğunda, hesaplanan toplu iş için bir 1D Tensörün gradyan hesaplamasında yeniden kullanılması anlamına gelir. is_training False olduğunda, popülasyona yönelik bir 1D Tensörün hem 1. hem de 2. derece gradyan hesaplamasında yeniden kullanılması anlamına gelir.
  • Reserve_space_2: is_training True olduğunda, gradyan hesaplamasında yeniden kullanılacak hesaplanan toplu varyans (cuDNN durumunda ters çevrilmiş varyans) için bir 1D Tensör . is_training False olduğunda, popülasyon varyansı için hem 1. hem de 2. derece gradyan hesaplamasında yeniden kullanılacak bir 1D Tensör .

İsteğe bağlı özellikler (bkz. Attrs ):

  • epsilon: X'in varyansına eklenen küçük bir kayan sayı.
  • data_format: y_backprop, x, x_backprop için veri formatı. "NHWC" (varsayılan) veya "NCHW".
  • is_training: İşlemin eğitim (varsayılan) veya çıkarım amaçlı olduğunu gösteren bir bool değeri.

İadeler:

Yapıcılar ve Yıkıcılar

FusedBatchNormGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input y_backprop, :: tensorflow::Input x, :: tensorflow::Input scale, :: tensorflow::Input reserve_space_1, :: tensorflow::Input reserve_space_2)
FusedBatchNormGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input y_backprop, :: tensorflow::Input x, :: tensorflow::Input scale, :: tensorflow::Input reserve_space_1, :: tensorflow::Input reserve_space_2, const FusedBatchNormGrad::Attrs & attrs)

Genel özellikler

offset_backprop
operation
reserve_space_3
reserve_space_4
scale_backprop
x_backprop

Genel statik işlevler

DataFormat (StringPiece x)
Epsilon (float x)
IsTraining (bool x)

Yapılar

tensorflow:: ops:: FusedBatchNormGrad:: Öznitelikler

FusedBatchNormGrad için isteğe bağlı öznitelik ayarlayıcılar.

Genel özellikler

offset_backprop

::tensorflow::Output offset_backprop

operasyon

Operation operation

rezerve_space_3

::tensorflow::Output reserve_space_3

rezerve_space_4

::tensorflow::Output reserve_space_4

Scale_backprop

::tensorflow::Output scale_backprop

x_backprop

::tensorflow::Output x_backprop

Kamu işlevleri

SigortalıTopluNormGrad

 FusedBatchNormGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input y_backprop,
  ::tensorflow::Input x,
  ::tensorflow::Input scale,
  ::tensorflow::Input reserve_space_1,
  ::tensorflow::Input reserve_space_2
)

SigortalıTopluNormGrad

 FusedBatchNormGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input y_backprop,
  ::tensorflow::Input x,
  ::tensorflow::Input scale,
  ::tensorflow::Input reserve_space_1,
  ::tensorflow::Input reserve_space_2,
  const FusedBatchNormGrad::Attrs & attrs
)

Genel statik işlevler

Veri formatı

Attrs DataFormat(
  StringPiece x
)

Epsilon

Attrs Epsilon(
  float x
)

Eğitim

Attrs IsTraining(
  bool x
)