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
Tensorveyatile aynı şekle sahip birTensor. Kırpma için kullanılacak minimum değer. - clip_value_max: 0 boyutlu (skaler) bir
Tensorveyatile aynı şekle sahip birTensor. Kırpma için kullanılacak maksimum değer.
İadeler:
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