Class BaseConvolutionConfig
- java.lang.Object
-
- org.nd4j.linalg.api.ops.impl.layers.convolution.config.BaseConvolutionConfig
-
- Direct Known Subclasses:
Conv1DConfig,Conv2DConfig,Conv3DConfig,DeConv2DConfig,DeConv3DConfig,LocalResponseNormalizationConfig,Pooling2DConfig,Pooling3DConfig
public abstract class BaseConvolutionConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description BaseConvolutionConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ObjectgetValue(Field property)Get the value for a given property for this functionvoidsetValueFor(Field target, Object value)Set the value for this function.abstract Map<String,Object>toProperties()protected abstract voidvalidate()
-
-
-
Method Detail
-
getValue
public Object getValue(Field property)
Get the value for a given property for this function- Parameters:
property- the property to get- Returns:
- the value for the function if it exists
-
setValueFor
public void setValueFor(Field target, Object value)
Set the value for this function. Note that if value is null anND4JIllegalStateExceptionwill be thrown.- Parameters:
target- the target fieldvalue- the value to set
-
validate
protected abstract void validate()
-
-