public static void assertNOutSet ( String layerType , String layerName , long layerIndex , long nOut ) { if ( nOut <= 0 ) { if ( layerName == null ) layerName = "(name not set)" ; throw new DL4JInvalidConfigException ( layerType + " (index=" + layerIndex + ", name=" + layerName + ") nOut=" + nOut + "; nOut must be > 0" ) ; } }
Asserts that the layer nOut value is set for the layer