Last year, we introduced the ability to write your own custom deep learning layers and integrate them with trainNetwork in the Deep Learning Toolbox. Our internal deep learning discussion group was very excited last week when this was discovered on our File Exchange.
Simply create the layer and then append it to the end of the layer array making up your deep network.
ctclayer = ctcClassificationLayer("Blog Classifier", ["POTW" "Art of MATLAB" "MATLAB Community"])
ctclayer = ctcClassificationLayer with properties: Categories: ["POTW" "Art of MATLAB" "MATLAB Community"] cacheSub:  Name: 'Blog Classifier' Classes: 'auto' Description: 'Connectionist Temporal Classification Layer' Type: ''
Published with MATLAB® R2019a
Comments are closed.