Converts integer index values into "one hot" encoded (i.e. indicator) variables within the network so you don't have to do it in the data. Particularly helpful for discrete action spaces when not using the rlVectorQValueFunction
.
The "Attention is all you need" fixed position encoding scheme. Slightly modified to support non-contigous positions.
Extract one time from a sequential input, like LSTM layer OutputMode='last', but without the LSTM part. Also modified to allow you select a particular item in the sequence.
引用格式
Jeremy Lea (2024). DLextras (https://github.com/jeremylea/DLextras/releases/tag/v0.2), GitHub. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!mzflow
mzflow/+bijectors
mzflow/+distributions
版本 | 已发布 | 发行说明 | |
---|---|---|---|
0.2 | See release notes for this release on GitHub: https://github.com/jeremylea/DLextras/releases/tag/v0.2 |
||
0.1 |