---
title: "QTensor"
sidebar_label: "QTensor"
description: "The clika_runtime QTensor class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->


## `global_scale` (property)

The scheme's encode-time global scale when it carries one; an undefined tensor for every scheme without one.

## `logical_shape` (property)

The element shape the payload encodes (row-contiguous dimension first).

## `payload` (property)

The packed payload exactly as loaded (the quantization metadata rides the tensor itself; payload bytes move losslessly through Tensor.bytes()).

## `scheme` (property)

The scheme's name, e.g. "GGUF_Q8_0".

## `__init__`

```python
__init__(self, /, *args, **kwargs)
```

Initialize self.  See help(type(self)) for accurate signature.
