DLextras

Version 0.2 (19.3 KB) by Jeremy Lea
Matlab Deep Learning custom layers and other helpers
11 Downloads
Updated 7 Jun 2024

Extra Layers and helpers for the Matlab Deep Learning and Reinforcement Learning Toolkits

onehotLayer

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.

PositionEncode

The "Attention is all you need" fixed position encoding scheme. Slightly modified to support non-contigous positions.

extractTime

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.

Cite As

Jeremy Lea (2025). DLextras (https://github.com/jeremylea/DLextras/releases/tag/v0.2), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with R2022a and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
0.2

See release notes for this release on GitHub: https://github.com/jeremylea/DLextras/releases/tag/v0.2

0.1

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.