---
title: maximumNorm
framework: ML Compute
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcembeddingdescriptor/maximumnorm-17u0k
---

# maximumNorm

A float value that, if set, causes the layer to renormalize the selected embedding vectors to have an Lp norm less than this value.

## Declaration

```swift
var maximumNorm: Float? { get }
```

## Discussion

Discussion Renormalization occurs in the forward pass only.

## See Also

### Inspecting Embedding Descriptors

- [embeddingCount](mlcompute/mlcembeddingdescriptor/embeddingcount-77gxz.md)
- [embeddingDimension](mlcompute/mlcembeddingdescriptor/embeddingdimension-1u9g.md)
- [paddingIndex](mlcompute/mlcembeddingdescriptor/paddingindex-pb1e.md)
- [pNorm](mlcompute/mlcembeddingdescriptor/pnorm-8vhw1.md)
- [scalesGradientByFrequency](mlcompute/mlcembeddingdescriptor/scalesgradientbyfrequency.md)
