public class InitializationRequestMessage extends BaseVoidMessage implements RequestMessage
| 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| Modifier | Constructor and Description |
|---|---|
protected |
InitializationRequestMessage() |
|
InitializationRequestMessage(int vectorLength,
int numWords,
long seed,
boolean useHs,
boolean useNeg,
int columnsPerShard) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlockingMessage() |
void |
processMessage()
This method will be started in context of executor, either Shard, Client or Backup node
|
asBytes, asUnsafeBuffer, attachContext, extractContext, getMessageType, incrementRetransmitCount, isJoinSupported, joinMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBytes, asUnsafeBuffer, attachContext, extractContext, fromBytes, getMessageType, getOriginatorId, getRetransmitCount, getTargetId, getTaskId, incrementRetransmitCount, isJoinSupported, joinMessage, setOriginatorId, setTargetIdprotected int vectorLength
protected int numWords
protected long seed
protected boolean useHs
protected boolean useNeg
protected int columnsPerShard
protected InitializationRequestMessage()
public InitializationRequestMessage(int vectorLength,
int numWords,
long seed,
boolean useHs,
boolean useNeg,
int columnsPerShard)
public void processMessage()
VoidMessageprocessMessage in interface VoidMessagepublic boolean isBlockingMessage()
isBlockingMessage in interface VoidMessageisBlockingMessage in class BaseVoidMessageCopyright © 2017. All rights reserved.