Class LayerValidation


  • public class LayerValidation
    extends Object
    • Method Detail

      • assertNInNOutSet

        public static void assertNInNOutSet​(String layerType,
                                            String layerName,
                                            long layerIndex,
                                            long nIn,
                                            long nOut)
        Asserts that the layer nIn and nOut values are set for the layer
        Parameters:
        layerType - Type of layer ("DenseLayer", etc)
        layerName - Name of the layer (may be null if not set)
        layerIndex - Index of the layer
        nIn - nIn value
        nOut - nOut value
      • assertNOutSet

        public static void assertNOutSet​(String layerType,
                                         String layerName,
                                         long layerIndex,
                                         long nOut)
        Asserts that the layer nOut value is set for the layer
        Parameters:
        layerType - Type of layer ("DenseLayer", etc)
        layerName - Name of the layer (may be null if not set)
        layerIndex - Index of the layer
        nOut - nOut value