---
title: label_smooth
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/bnnslayerparameterslosssoftmaxcrossentropy/label_smooth
---

# label_smooth

A value that defines the smoothing that the loss function applies to the labels.

## Declaration

```swift
var label_smooth: Float
```

## See Also

### Instance Properties

- [function](accelerate/bnnslayerparameterslosssoftmaxcrossentropy/function.md)
- [i_desc](accelerate/bnnslayerparameterslosssoftmaxcrossentropy/i_desc.md)
- [o_desc](accelerate/bnnslayerparameterslosssoftmaxcrossentropy/o_desc.md)
- [reduction](accelerate/bnnslayerparameterslosssoftmaxcrossentropy/reduction.md)
