<!--
{
  "availability" : [
    "iOS: 15.0.0 - 17.4.0",
    "iPadOS: 15.0.0 - 17.4.0",
    "macCatalyst: 15.0.0 - 17.4.0",
    "macOS: 12.0.0 - 14.3.0",
    "tvOS: 15.0.0 - 17.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "MLCompute",
  "identifier" : "/documentation/MLCompute/MLCTensor/dequantized(to:scale:zeroPoint:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ML Compute"
    ],
    "preciseIdentifier" : "c:objc(cs)MLCTensor(im)tensorByDequantizingToType:scale:bias:"
  },
  "title" : "dequantized(to:scale:zeroPoint:)"
}
-->

# dequantized(to:scale:zeroPoint:)

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

```
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

A tensor the system dequantizes.

## Discussion

> Important:
> The tensor type must be ``doc://com.apple.mlcompute/documentation/MLCompute/MLCDataType/float32``.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)