%% Download and Install Deep Learning Toolbox Importer for TensorFlow-Keras Models
% Download and install the Deep Learning Toolbox Importer for TensorFlow-Keras Models support package.
% Type importKerasLayers at the command line.
% importKerasLayers
% If the Deep Learning Toolbox Importer for TensorFlow-Keras Models support package is not installed, then the function provides a link to the required support package in the Add-On Explorer. To install the support package, click the link, and then click Install. Check that the installation is successful by importing the layers from the model file 'digitsDAGnet.h5' at the command line. If the required support package is installed, then the function returns a LayerGraph object.

modelfile = 'digitsDAGnet.h5';
net = importKerasLayers(modelfile)

% Copyright 2017 The MathWorks, Inc.
%