@Deprecated public class CbowRequestMessage extends BaseVoidMessage implements TrainingMessage, RequestMessage
| Modifier and Type | Field and Description |
|---|---|
protected double |
alpha
Deprecated.
|
protected byte[] |
codes
Deprecated.
|
protected byte |
counter
Deprecated.
|
protected int[] |
negatives
Deprecated.
|
protected int |
negSamples
Deprecated.
|
protected long |
nextRandom
Deprecated.
|
protected int[] |
syn0rows
Deprecated.
|
protected int[] |
syn1rows
Deprecated.
|
protected int |
w1
Deprecated.
|
clipboard, messageType, originatorId, retransmitCount, role, shardIndex, storage, targetId, taskId, trainer, transport, voidConfiguration| Constructor and Description |
|---|
CbowRequestMessage(@NonNull int[] syn0rows,
@NonNull int[] syn1rows,
int w1,
byte[] codes,
int negSamples,
double alpha,
long nextRandom)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isJoinSupported()
Deprecated.
|
void |
joinMessage(VoidMessage message)
Deprecated.
|
void |
processMessage()
Deprecated.
This method will be started in context of executor, either Shard, Client or Backup node
|
asBytes, asUnsafeBuffer, attachContext, extractContext, getMessageType, incrementRetransmitCount, isBlockingMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCounter, getFrameId, setFrameIdasBytes, asUnsafeBuffer, attachContext, extractContext, fromBytes, getMessageType, getOriginatorId, getRetransmitCount, getTargetId, getTaskId, incrementRetransmitCount, isBlockingMessage, setOriginatorId, setTargetIdprotected byte counter
protected int w1
protected int[] syn0rows
protected int[] syn1rows
protected double alpha
protected long nextRandom
protected int negSamples
protected byte[] codes
protected int[] negatives
public CbowRequestMessage(@NonNull
@NonNull int[] syn0rows,
@NonNull
@NonNull int[] syn1rows,
int w1,
byte[] codes,
int negSamples,
double alpha,
long nextRandom)
public void processMessage()
VoidMessageprocessMessage in interface VoidMessagepublic boolean isJoinSupported()
isJoinSupported in interface VoidMessageisJoinSupported in class BaseVoidMessagepublic void joinMessage(VoidMessage message)
joinMessage in interface VoidMessagejoinMessage in class BaseVoidMessageCopyright © 2021. All rights reserved.