@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(int[] syn0rows,
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, isBlockingMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCounter, getFrameId, setFrameId
asBytes, asUnsafeBuffer, attachContext, extractContext, fromBytes, getMessageType, getOriginatorId, getRetransmitCount, getTargetId, getTaskId, incrementRetransmitCount, isBlockingMessage, setOriginatorId, setTargetId
protected 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 int[] syn0rows, @NonNull int[] syn1rows, int w1, byte[] codes, int negSamples, double alpha, long nextRandom)
public void processMessage()
VoidMessage
processMessage
in interface VoidMessage
public boolean isJoinSupported()
isJoinSupported
in interface VoidMessage
isJoinSupported
in class BaseVoidMessage
public void joinMessage(VoidMessage message)
joinMessage
in interface VoidMessage
joinMessage
in class BaseVoidMessage
Copyright © 2019. All rights reserved.