public class LayerValidation
extends java.lang.Object
Constructor and Description |
---|
LayerValidation() |
Modifier and Type | Method and Description |
---|---|
static void |
assertNInNOutSet(java.lang.String layerType,
java.lang.String layerName,
int layerIndex,
int nIn,
int nOut)
Asserts that the layer nIn and nOut values are set for the layer
|
public static void assertNInNOutSet(java.lang.String layerType, java.lang.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 value