PlaceholderLayer
R2026bLayer replacing an unsupported Keras or ONNX layer
PlaceholderLayer is not recommended. Use importNetworkFromTensorFlow or importNetworkFromONNX to import a Keras or ONNX™ network as a dlnetwork object with custom
layers. For more information, see Version
History.
To learn more about how to transition
trainNetwork, SeriesNetwork, and
DAGNetwork code to dlnetwork workflows, see Transition trainNetwork, SeriesNetwork, and DAGNetwork Code to dlnetwork Workflows.
Description
PlaceholderLayer is a layer that importKerasLayers and importONNXLayers insert into a layer array or layer graph in place of an
unsupported Keras or ONNX layer.
Creation
Importing layers from a Keras or ONNX network that has layers that are not supported by Deep Learning Toolbox™ creates PlaceholderLayer objects.
Properties
Examples
Version History
Introduced in R2017bSee Also
trainnet | trainingOptions | dlnetwork | importKerasLayers | importONNXLayers | findPlaceholderLayers | functionLayer