public class BaseNDArrayProxy extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected char |
arrayOrdering |
protected long[] |
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 long[] arrayShape
protected long length
protected char arrayOrdering
protected transient DataBuffer data
public BaseNDArrayProxy(INDArray anInstance)
protected void read(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected void write(ObjectOutputStream out) throws IOException
IOExceptionCopyright © 2021. All rights reserved.