@Deprecated public abstract class BaseAggregation extends BaseVoidMessage implements VoidAggregation, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected short |
aggregationType
Deprecated.
|
protected short |
aggregationWidth
Deprecated.
|
protected Map<Short,org.nd4j.linalg.api.ndarray.INDArray> |
chunks
Deprecated.
|
protected AtomicInteger |
chunksCounter
Deprecated.
|
protected int |
numberOfElements
Deprecated.
|
protected org.nd4j.linalg.api.ndarray.INDArray |
payload
Deprecated.
|
protected short |
shardIndex
Deprecated.
|
clipboard, messageType, originatorId, retransmitCount, role, storage, targetId, taskId, trainer, transport, voidConfiguration| Modifier | Constructor and Description |
|---|---|
protected |
BaseAggregation()
Deprecated.
|
protected |
BaseAggregation(long taskId,
short aggregationWidth,
short shardIndex)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accumulateAggregation(@NonNull VoidAggregation aggregation)
Deprecated.
|
protected void |
addToChunks(org.nd4j.linalg.api.ndarray.INDArray array)
Deprecated.
|
byte[] |
asBytes()
Deprecated.
|
org.agrona.concurrent.UnsafeBuffer |
asUnsafeBuffer()
Deprecated.
|
org.nd4j.linalg.api.ndarray.INDArray |
getAccumulatedResult()
Deprecated.
|
int |
getMessageType()
Deprecated.
|
int |
getMissingChunks()
Deprecated.
|
short |
getTargetId()
Deprecated.
|
void |
setShardIndex(short shardIndex)
Deprecated.
|
attachContext, extractContext, incrementRetransmitCount, isBlockingMessage, isJoinSupported, joinMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregationType, getPayload, getShardIndexattachContext, extractContext, fromBytes, getOriginatorId, getRetransmitCount, getTaskId, incrementRetransmitCount, isBlockingMessage, isJoinSupported, joinMessage, processMessage, setOriginatorId, setTargetIdprotected short aggregationType
protected short aggregationWidth
protected int numberOfElements
protected short shardIndex
protected org.nd4j.linalg.api.ndarray.INDArray payload
protected transient AtomicInteger chunksCounter
protected transient Map<Short,org.nd4j.linalg.api.ndarray.INDArray> chunks
protected BaseAggregation()
protected BaseAggregation(long taskId,
short aggregationWidth,
short shardIndex)
public void setShardIndex(short shardIndex)
protected void addToChunks(org.nd4j.linalg.api.ndarray.INDArray array)
public void accumulateAggregation(@NonNull
@NonNull VoidAggregation aggregation)
accumulateAggregation in interface VoidAggregationpublic org.nd4j.linalg.api.ndarray.INDArray getAccumulatedResult()
getAccumulatedResult in interface VoidAggregationpublic int getMissingChunks()
getMissingChunks in interface VoidAggregationpublic int getMessageType()
getMessageType in interface VoidMessagegetMessageType in class BaseVoidMessagepublic byte[] asBytes()
asBytes in interface VoidMessageasBytes in class BaseVoidMessagepublic org.agrona.concurrent.UnsafeBuffer asUnsafeBuffer()
asUnsafeBuffer in interface VoidMessageasUnsafeBuffer in class BaseVoidMessagepublic short getTargetId()
getTargetId in interface VoidMessageCopyright © 2021. All rights reserved.