File Exchange Pick of the Week

Our best user submissions

Connectionist Temporal Classification Layer

Sean‘s pick this week is Connectionist Temporal Classification Layer by SergeyLA.

A Custom Deep Learning Layer in the Wild!

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: ''


Give it a try and let us know what you think here or leave a comment for SergeyLA.

Published with MATLAB® R2019a

  • print


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.