|
|
|
|
|
|
{ |
|
|
|
var info = infoSensorPair.agentInfo; |
|
|
|
var pastAction = info.storedVectorActions; |
|
|
|
for (var j = 0; j < actionSize; j++) |
|
|
|
{ |
|
|
|
tensorProxy.data[agentIndex, j] = pastAction[j]; |
|
|
|
if (pastAction != null){ |
|
|
|
for (var j = 0; j < actionSize; j++) |
|
|
|
{ |
|
|
|
tensorProxy.data[agentIndex, j] = pastAction[j]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
agentIndex++; |
|
|
|