public class LayerValidation extends Object
| Constructor and Description |
|---|
LayerValidation() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertNInNOutSet(String layerType,
String layerName,
int layerIndex,
int nIn,
int nOut)
Asserts that the layer nIn and nOut values are set for the layer
|
static void |
generalValidation(String layerName,
Layer layer,
IDropout iDropout,
double l2,
double l2Bias,
double l1,
double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
static void |
generalValidation(String layerName,
Layer layer,
IDropout iDropOut,
Double l2,
Double l2Bias,
Double l1,
Double l1Bias,
Distribution dist,
List<LayerConstraint> allParamConstraints,
List<LayerConstraint> weightConstraints,
List<LayerConstraint> biasConstraints) |
public static void assertNInNOutSet(String layerType, String layerName, int layerIndex, int nIn, int nOut)
layerType - Type of layer ("DenseLayer", etc)layerName - Name of the layer (may be null if not set)layerIndex - Index of the layernIn - nIn valuenOut - nOut valuepublic static void generalValidation(String layerName, Layer layer, IDropout iDropOut, Double l2, Double l2Bias, Double l1, Double l1Bias, Distribution dist, List<LayerConstraint> allParamConstraints, List<LayerConstraint> weightConstraints, List<LayerConstraint> biasConstraints)
public static void generalValidation(String layerName, Layer layer, IDropout iDropout, double l2, double l2Bias, double l1, double l1Bias, Distribution dist, List<LayerConstraint> allParamConstraints, List<LayerConstraint> weightConstraints, List<LayerConstraint> biasConstraints)
Copyright © 2018. All rights reserved.