Skip to main content

QTensor

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__

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

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