protected void read ( ObjectInputStream s ) throws IOException , ClassNotFoundException { data = Nd4j . createBuffer ( length , false ) ; data . read ( s ) ; }
Custom deserialization for Java serialization