Class NonNeg
java.lang.Object
org.tensorflow.framework.constraints.AbstractConstraint
org.tensorflow.framework.constraints.NonNeg
- All Implemented Interfaces:
Constraint
Constrains the weights to be non-negative.
-
Field Summary
Fields inherited from class AbstractConstraint
EPSILON -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractConstraint
clip, norm, sqrtModifier and TypeMethodDescriptionGets the element-wise value clipping.Calculates the norm of the weights along the axesGets the element-wise square root.
-
Constructor Details
-
NonNeg
public NonNeg()Create a NonNeg constraint
-
-
Method Details
-
call
-