---
title: MLTensor.ResizeMethod
framework: coreml
role: symbol
role_heading: Enumeration
path: coreml/mltensor/resizemethod
---

# MLTensor.ResizeMethod

A resize algorithm.

## Declaration

```swift
enum ResizeMethod
```

## Topics

### Resize methods

- [MLTensor.ResizeMethod.bilinear(alignCorners:)](coreml/mltensor/resizemethod/bilinear(aligncorners:).md)
- [MLTensor.ResizeMethod.nearestNeighbor](coreml/mltensor/resizemethod/nearestneighbor.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Resizing the tensor

- [resized(to:method:)](coreml/mltensor/resized(to:method:).md)
