---
title: "write(to:metadata:)"
framework: createml
role: symbol
role_heading: Instance Method
path: "createml/mlhandposeclassifier/write(to:metadata:)"
---

# write(to:metadata:)

Exports the hand pose classifier as a CoreML model file.

## Declaration

```swift
func write(to fileURL: URL, metadata: MLModelMetadata? = nil) throws
```

## Parameters

- `fileURL`: A file-system URL.
- `metadata`: The model’s description, author, version, and license information.

## See Also

### Saving a hand pose classifier

- [write(toFile:metadata:)](createml/mlhandposeclassifier/write(tofile:metadata:).md)
