MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / get_name

Function get_name

external/ggml/examples/python/example_test_all_quants.py:28–30  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

26# quants = [lib.GGML_TYPE_Q2_K] # Test a single one
27
28def get_name(type):
29 name = lib.ggml_type_name(type)
30 return ffi.string(name).decode('utf-8') if name else '?'
31
32quants.sort(key=get_name)
33quants.insert(0, None)

Callers 1

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected