Class NonNegativeConstraint
- java.lang.Object
-
- org.deeplearning4j.nn.conf.constraint.BaseConstraint
-
- org.deeplearning4j.nn.conf.constraint.NonNegativeConstraint
-
- All Implemented Interfaces:
Serializable
,Cloneable
,LayerConstraint
public class NonNegativeConstraint extends BaseConstraint
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.deeplearning4j.nn.conf.constraint.BaseConstraint
DEFAULT_EPSILON, dimensions, epsilon, params
-
-
Constructor Summary
Constructors Constructor Description NonNegativeConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(INDArray param)
NonNegativeConstraint
clone()
-
Methods inherited from class org.deeplearning4j.nn.conf.constraint.BaseConstraint
applyConstraint, getBroadcastDims
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.deeplearning4j.nn.api.layers.LayerConstraint
getParams, setParams
-
-
-
-
Method Detail
-
apply
public void apply(INDArray param)
- Specified by:
apply
in classBaseConstraint
-
clone
public NonNegativeConstraint clone()
- Specified by:
clone
in interfaceLayerConstraint
- Specified by:
clone
in classBaseConstraint
-
-