public class InMemoryUpdateStorage extends BaseUpdateStorage
| Constructor and Description |
|---|
InMemoryUpdateStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdate(NDArrayMessage array)
Add an ndarray to the storage
|
void |
clear()
Clear the array storage
|
NDArrayMessage |
doGetUpdate(int index)
A method for actually performing the implementation
of retrieving the ndarray
|
int |
numUpdates()
The number of updates added
to the update storage
|
close, getUpdatepublic void addUpdate(NDArrayMessage array)
array - the array to addpublic int numUpdates()
public void clear()
public NDArrayMessage doGetUpdate(int index)
doGetUpdate in class BaseUpdateStorageindex - the index of the INDArray to getCopyright © 2021. All rights reserved.