protected void read ( ObjectInputStream s ) throws IOException , ClassNotFoundException { val header = BaseDataBuffer . readHeader ( s ) ; data = Nd4j . createBuffer ( header . getRight ( ) , length , false ) ; data . read ( s , header . getLeft ( ) , header . getMiddle ( ) , header . getRight ( ) ) ; }
Custom deserialization for Java serialization