


Here's a sample from the example Create and Train DAG Network for Deep Learning. A layer can also output to multiple layers. In a DAG network, a layer can have inputs from multiple layers instead of just one one. The Neural Network Toolbox introduced two new types of networks that you can build and train and apply: directed acyclic graph (DAG) networks, and long short-term memory (LSTM) networks. The heart of deep learning for MATLAB is, of course, the Neural Network Toolbox. New network types and pretrained networks New network types and pretrained networks.
