---
title: "init(contentsOf:configuration:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/mlmodelregressoradaptor/init(contentsof:configuration:)"
---

# init(contentsOf:configuration:)

Creates a model adaptor from a CoreML model URL.

## Declaration

```swift
init(contentsOf url: URL, configuration: MLModelConfiguration) throws
```

## See Also

### Creating an adaptor

- [init(model:)](createmlcomponents/mlmodelregressoradaptor/init(model:).md)
