quantize

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Model

func Model(m *zmf.Model, qt QuantType) error

Model quantizes all FLOAT32 parameter tensors in the given ZMF model in-place.

Types

type QuantType

type QuantType string

QuantType selects the block quantization format.

const (
	Q4_0 QuantType = "q4_0"
	Q8_0 QuantType = "q8_0"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL