src/main/java/convnet/Data.java
/**
     * Writes new 3d data for operation.
     * @param newData
     */
Writes new 3d data for operation.
@param newData
Writes new 3d data for operation . @param newData
public void write(double[][][] newData) {
        if (this.data3d == null) {
            this.data3d = newData;
            setDimensions3d();
        } else {
            throw new RuntimeException("Data already exists. Cannot overwrite.");
        }
    }
public void write ( double [ ] [ ] [ ] newData ) { if ( this . data3d == null ) { this . data3d = newData ; setDimensions3d ( ) ; } else { throw new RuntimeException ( "Data already exists. Cannot overwrite." ) ; } }
Writes new 3d data for operation.
Writes new 3d data for operation .