tensorflow::ops::ClipByValue

#include <math_ops.h>

Tensor değerlerini belirtilen minimum ve maksimum değerlere kırpar.

Özet

Verilen bir t tensörü için, bu işlem, değerleri clip_value_min ve clip_value_max kırpılmış, t ile aynı tür ve şekle sahip bir tensör döndürür. clip_value_min küçük olan tüm değerler clip_value_min , clip_value_max büyük olan tüm değerler ise clip_value_max ayarlanır.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • t: Bir Tensor .
  • clip_value_min: 0 boyutlu (skaler) bir Tensor veya t ile aynı şekle sahip bir Tensor . Kırpma için kullanılacak minimum değer.
  • clip_value_max: 0 boyutlu (skaler) bir Tensor veya t ile aynı şekle sahip bir Tensor . Kırpma için kullanılacak maksimum değer.

İadeler:

  • Output : Giriş 't' ile aynı şekle sahip kırpılmış bir Tensor .

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

ClipByValue (const :: tensorflow::Scope & scope, :: tensorflow::Input t, :: tensorflow::Input clip_value_min, :: tensorflow::Input clip_value_max)

Genel özellikler

operation
output

Kamusal işlevler

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

ClipByValue

 ClipByValue(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input t,
  ::tensorflow::Input clip_value_min,
  ::tensorflow::Input clip_value_max
)

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const