---
title: BNNS.CropResizeLayer.LinearSamplingMode
framework: accelerate
role: symbol
role_heading: Enumeration
path: accelerate/bnns/cropresizelayer/linearsamplingmode
---

# BNNS.CropResizeLayer.LinearSamplingMode

An enumeration that specifies the interpolation sampling mode.

## Declaration

```swift
enum LinearSamplingMode
```

## Topics

### Enumeration Cases

- [BNNS.CropResizeLayer.LinearSamplingMode.alignCorners](accelerate/bnns/cropresizelayer/linearsamplingmode/aligncorners.md)
- [BNNS.CropResizeLayer.LinearSamplingMode.default](accelerate/bnns/cropresizelayer/linearsamplingmode/default.md)
- [BNNS.CropResizeLayer.LinearSamplingMode.offsetCorners](accelerate/bnns/cropresizelayer/linearsamplingmode/offsetcorners.md)
- [BNNS.CropResizeLayer.LinearSamplingMode.strictAlignCorners](accelerate/bnns/cropresizelayer/linearsamplingmode/strictaligncorners.md)
- [BNNS.CropResizeLayer.LinearSamplingMode.unalignCorners](accelerate/bnns/cropresizelayer/linearsamplingmode/unaligncorners.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)

## See Also

### Suporting Types

- [BNNS.CropResizeLayer.BoxCoordinateMode](accelerate/bnns/cropresizelayer/boxcoordinatemode.md)
