Contents

init(modelDescription:parameters:)

Creates a custom model with the given description and parameters.

Declaration

init(modelDescription: MLModelDescription, parameters: [String : Any]) throws

Parameters

  • modelDescription:

    A description of the model.

  • parameters:

    The parameters for configuring the model.