---
title: "dequantized(to:scale:zeroPoint:)"
framework: ML Compute
role: symbol
role_heading: Instance Method
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+]
path: "mlcompute/mlctensor/dequantized(to:scale:zeropoint:)"
---

# dequantized(to:scale:zeroPoint:)

Converts a tensor you quantize to a 32-bit floating-point tensor.

## Declaration

```swift
func dequantized(to type: MLCDataType, scale: MLCTensor, zeroPoint bias: MLCTensor) -> MLCTensor?
```

## Parameters

- `type`: The tensor data type.
- `scale`: The scale the system uses when quantizing the data.
- `bias`: The offset value the system uses when quantizing the data.

## Return Value

Return Value A tensor the system dequantizes.

## Discussion

Discussion important: The tensor type must be MLCDataType.float32.

## See Also

### Converting Tensors

- [quantized(to:scale:bias:)](mlcompute/mlctensor/quantized(to:scale:bias:).md)
- [quantized(to:scale:bias:axis:)](mlcompute/mlctensor/quantized(to:scale:bias:axis:).md)
- [dequantized(to:scale:bias:axis:)](mlcompute/mlctensor/dequantized(to:scale:bias:axis:).md)
