tensorflow :: ops :: ClipByValue
#include <math_ops.h>
Tensör değerlerini belirtilen bir min ve maks.
Özet
Bir tensör t
verildiğinde, bu işlem, değerleri clip_value_min
ve clip_value_max
kırpılmış olarak t
ile aynı tipte ve şekilde bir tensör döndürür. Herhangi az değerler clip_value_min
ayarlanır clip_value_min
. Herhangi daha büyük değerleri clip_value_max
ayarlanır clip_value_max
.
Argümanlar:
- kapsam: Bir Scope nesnesi
- t: Bir
Tensor
. - clip_value_min: Bir 0-D (skaler)
Tensor
veyat
ile aynı şekle sahip birTensor
. Kırpılacak minimum değer. - clip_value_max: 0-D (skaler)
Tensor
veyat
ile aynı şekle sahip birTensor
. Kırpı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
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const