---
title: "init(coreMLPackageAtURL:descriptor:)"
framework: metalperformanceshadersgraph
role: symbol
role_heading: Initializer
path: "metalperformanceshadersgraph/mpsgraphexecutable/init(coremlpackageaturl:descriptor:)"
---

# init(coreMLPackageAtURL:descriptor:)

Initialize the executable with the Core ML model package at the provided URL.

## Declaration

```swift
init(coreMLPackageAtURL coreMLPackageURL: URL, descriptor compilationDescriptor: MPSGraphCompilationDescriptor?)
```

## Parameters

- `coreMLPackageURL`: The URL where to read the Core ML model package.
- `compilationDescriptor`: Compilation descriptor to be used to specialize, since the executable was created with a compilationDescriptor already this one overrides those settings to the extent it can.
