public class DistributedInitializationMessage extends BaseVoidMessage implements DistributedMessage
| Modifier and Type | Field and Description |
|---|---|
protected int |
columnsPerShard |
protected int |
numWords |
protected long |
seed |
protected boolean |
useHs |
protected boolean |
useNeg |
protected int |
vectorLength |
clipboard, messageType, originatorId, retransmitCount, role, shardIndex, storage, targetId, taskId, trainer, transport, voidConfiguration| Constructor and Description |
|---|
DistributedInitializationMessage(int vectorLength,
int numWords,
long seed,
boolean useHs,
boolean useNeg,
int columnsPerShard) |
| Modifier and Type | Method and Description |
|---|---|
protected org.nd4j.linalg.api.ndarray.INDArray |
initExpTable(int tableWidth) |
void |
processMessage()
This method initializes shard storage with given data
|
asBytes, asUnsafeBuffer, attachContext, extractContext, getMessageType, incrementRetransmitCount, isBlockingMessage, isJoinSupported, joinMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBytes, asUnsafeBuffer, attachContext, extractContext, fromBytes, getMessageType, getOriginatorId, getRetransmitCount, getTargetId, getTaskId, incrementRetransmitCount, isBlockingMessage, isJoinSupported, joinMessage, setOriginatorId, setTargetIdprotected int vectorLength
protected int numWords
protected long seed
protected boolean useHs
protected boolean useNeg
protected int columnsPerShard
public DistributedInitializationMessage(int vectorLength,
int numWords,
long seed,
boolean useHs,
boolean useNeg,
int columnsPerShard)
public void processMessage()
processMessage in interface VoidMessageprotected org.nd4j.linalg.api.ndarray.INDArray initExpTable(int tableWidth)
Copyright © 2017. All rights reserved.