public interface DistributedINDArray
Modifier and Type | Method and Description |
---|---|
void |
allocate(int entry,
DataType dataType,
long... shape)
This method allocates INDArray for specified entry
|
void |
allocate(int entry,
LongShapeDescriptor shapeDescriptor)
This method allocates INDArray for specified entry
|
INDArray |
entry()
This method returns INDArray for the current device
PLEASE NOTE: if you use more than one thread per device you'd better not use this method unless you're 100% sure
|
INDArray |
entry(int entry)
This method returns INDArray for specific entry (i.e.
|
ArrayType |
getINDArrayType()
This method returns ArrayType for this instance
|
int |
numActiveEntries()
This method returns number of activated entries
|
int |
numEntries()
This method returns total number of entries within this DistributedINDArray instance
|
void |
propagate(INDArray array)
This method propagates given INDArray to all entries as is
|
ArrayType getINDArrayType()
INDArray entry(int entry)
entry
- INDArray entry()
void propagate(INDArray array)
array
- int numEntries()
int numActiveEntries()
void allocate(int entry, LongShapeDescriptor shapeDescriptor)
entry
- shapeDescriptor
- void allocate(int entry, DataType dataType, long... shape)
entry
- Copyright © 2020. All rights reserved.