{"id":"compute.kernels--quantizedModelBlock","name":"quantizedModelBlock","owner":"yeho","package":"compute.kernels","kind":"thing","signature":"external thing quantizedModelBlock","description":"A quantized model block record carrying name, spec, execution, originalValues, quantizedValues, and related state.","context":"Describe reusable compute kernels and their workload contracts.","parameters":[],"returns":"void","members":[{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"spec","kind":"field","type":"quantizedBlockSpec","description":"Stores spec as quantizedBlockSpec.","signature":"quantizedBlockSpec spec","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"execution","kind":"field","type":"kernelExecutionLadder","description":"Stores execution as kernelExecutionLadder.","signature":"kernelExecutionLadder execution","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"originalValues","kind":"field","type":"list of int","description":"Stores original values as list of int.","signature":"list of int originalValues","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"quantizedValues","kind":"field","type":"list of int","description":"Stores quantized values as list of int.","signature":"list of int quantizedValues","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"dequantizedValues","kind":"field","type":"list of int","description":"Stores dequantized values as list of int.","signature":"list of int dequantizedValues","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"mixedPrecisionDot","kind":"field","type":"int","description":"Stores mixed precision dot as int.","signature":"int mixedPrecisionDot","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"note","kind":"field","type":"text","description":"Stores note as text.","signature":"text note","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"BlockCount","kind":"method","parameters":[],"returns":"int","signature":"BlockCount() returns int","description":"Block count.","tags":["thing","method","compute.kernels"],"exampleId":"method-BlockCount-8","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.kernels"],"exampleId":"method-Describe-9","updated":"2026-09-09"}],"tags":["compute","compute.kernels","cpu","kernels","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/kernels/kernels.yh","line":212,"sha256":"eb4444b87d310bd2ce773d7a2b3595d3aabcb11b9e26ad50c690dcfc9161ba24"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use quantizedModelBlock","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.kernels\n\n// Describe reusable compute kernels and their workload contracts.\nquantizedModelBlock sample = quantizedModelBlock()\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_kernels__quantizedmodelblock\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.kernels\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/kernels\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"1bba32fbfbf1a64a9727dde5ed81fa86bb8e816c7afb939d4a01c136e26eb9da","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BlockCount-8","title":"quantizedModelBlock.BlockCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.kernels\n\n// Block count.\nquantizedModelBlock instance = quantizedModelBlock()\nint result = instance.BlockCount()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_kernels__quantizedmodelblock\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.kernels\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/kernels\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"aae7d8e5f688c49d3205f152ef961a63f2b2ca317064b8aca03dca6df5047273","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-9","title":"quantizedModelBlock.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.kernels\n\n// Describe.\nquantizedModelBlock instance = quantizedModelBlock()\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_kernels__quantizedmodelblock\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.kernels\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/kernels\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"a507c19fff3a49cda0af5ca3b75a17b5b64c31cb6c884d18eb825068e409f352","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","spec","execution","originalValues","quantizedValues","dequantizedValues","mixedPrecisionDot","note","BlockCount","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.kernels--quantizedModelBlock","json":"https://demonhunterlabs.com/reference/items/compute.kernels--quantizedModelBlock.json","markdown":"https://demonhunterlabs.com/reference/text/compute.kernels--quantizedModelBlock.md"}
