Tensorflow :: ops :: ClipByValue
#include <math_ops.h>
Schneidet die Tensorwerte auf ein bestimmtes min und max.
Zusammenfassung
Bei einem Tensor t
gibt diese Operation einen Tensor des gleichen Typs und der gleichen Form wie t
dessen Werte auf clip_value_min
und clip_value_max
. Alle Werte unter clip_value_min
werden auf clip_value_min
. Alle Werte größer als clip_value_max
werden auf clip_value_max
.
Argumente:
- scope: Ein Scope- Objekt
- t: Ein
Tensor
. - clip_value_min: Ein 0-D-
Tensor
(skalar) oder einTensor
mit der gleichen Form wiet
. Der Mindestwert, nach dem abgeschnitten werden soll. - clip_value_max: Ein 0-D-
Tensor
(skalar) oder einTensor
mit der gleichen Form wiet
. Der maximale Wert, nach dem abgeschnitten werden soll.
Kehrt zurück:
Konstruktoren und Destruktoren | |
---|---|
ClipByValue (const :: tensorflow::Scope & scope, :: tensorflow::Input t, :: tensorflow::Input clip_value_min, :: tensorflow::Input clip_value_max) |
Öffentliche Attribute | |
---|---|
operation | |
output |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
ClipByValue
ClipByValue( const ::tensorflow::Scope & scope, ::tensorflow::Input t, ::tensorflow::Input clip_value_min, ::tensorflow::Input clip_value_max )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const