---
title: "export(to:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/lineartimeseriesforecaster/model/export(to:)"
---

# export(to:)

Exports this transformer as a CoreML model package.

## Declaration

```swift
func export(to url: URL) throws
```

## Parameters

- `url`: The location to write the model into.

## See Also

### Exporting the model

- [export(to:metadata:)](createmlcomponents/lineartimeseriesforecaster/model/export(to:metadata:).md)
