{"id":"compute.kernels--quantizedBlockSpec","name":"quantizedBlockSpec","owner":"yeho","package":"compute.kernels","kind":"thing","signature":"external thing quantizedBlockSpec","description":"A quantized block spec record carrying name, path, blockSize, mixedPrecision, note.","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":"path","kind":"field","type":"quantizedPathSpec","description":"Stores path as quantizedPathSpec.","signature":"quantizedPathSpec path","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"blockSize","kind":"field","type":"int","description":"Stores block size as int.","signature":"int blockSize","tags":["thing","field","compute.kernels"],"updated":"2026-09-09"},{"name":"mixedPrecision","kind":"field","type":"bool","description":"Stores mixed precision as bool.","signature":"bool mixedPrecision","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":"quantizedBlockSpec","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"path","type":"quantizedPathSpec","description":"Path."},{"name":"blockSize","type":"int","description":"Block size."},{"name":"mixedPrecision","type":"bool","description":"Mixed precision."},{"name":"note","type":"text","description":"Note."}],"returns":"void","signature":"quantizedBlockSpec(text name, quantizedPathSpec path, int blockSize, bool mixedPrecision, text note)","description":"Quantized block spec.","tags":["thing","constructor","compute.kernels"],"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-6","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":154,"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 quantizedBlockSpec","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.\nquantizedBlockSpec sample = quantizedBlockSpec(\"Nova\", quantizedPathSpec(), 1, true, \"note\")\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_kernels__quantizedblockspec\"\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":"5df99287dcafe644f6137f54137642dddaab98efd174b4283567842242bb20e8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-6","title":"quantizedBlockSpec.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.\nquantizedBlockSpec instance = quantizedBlockSpec(\"Nova\", quantizedPathSpec(), 1, true, \"note\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_kernels__quantizedblockspec\"\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":"fec9256e5b0818c47489492d4f6640b4e5378e3cda1ec40f9c3da553596d74ff","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","path","blockSize","mixedPrecision","note","quantizedBlockSpec","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.kernels--quantizedBlockSpec","json":"https://demonhunterlabs.com/reference/items/compute.kernels--quantizedBlockSpec.json","markdown":"https://demonhunterlabs.com/reference/text/compute.kernels--quantizedBlockSpec.md"}
