Contents

MLCustomLayer

An interface that defines the behavior of a custom layer in your neural network model.

Declaration

protocol MLCustomLayer

Mentioned in

Overview

You use the MLCustomLayer protocol to define the behavior of your own neural network layers in Core ML models. You can deploy novel or proprietary models on your own release schedule. Custom layers also provide a mechanism for pre- or post-processing during model evaluation.

Topics

Creating a layer

Integrating a layer

Evaluating a layer

Initializers

See Also

Custom model layers