public class BaseNDArrayProxy extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected char |
arrayOrdering |
protected int[] |
arrayShape
This is a proxy class so that ndarrays can be serialized and deserialized independent of the backend
Be it cpu or gpu
|
protected DataBuffer |
data |
protected long |
length |
Constructor and Description |
---|
BaseNDArrayProxy(INDArray anInstance) |
Modifier and Type | Method and Description |
---|---|
protected void |
read(ObjectInputStream s) |
protected void |
write(ObjectOutputStream out) |
protected int[] arrayShape
protected long length
protected char arrayOrdering
protected transient DataBuffer data
public BaseNDArrayProxy(INDArray anInstance)
protected void read(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
protected void write(ObjectOutputStream out) throws IOException
IOException
Copyright © 2016. All Rights Reserved.