{"id":"compute.kernels--TensorActivationIntBuffer","name":"TensorActivationIntBuffer","owner":"yeho","package":"compute.kernels","kind":"function","signature":"external TensorActivationIntBuffer(text activationKind, tensorBuffer input) returns tensorBuffer","description":"Tensor activation int buffer.","context":"Describe reusable compute kernels and their workload contracts.","parameters":[{"name":"activationKind","type":"text","description":"Supply activation kind as text."},{"name":"input","type":"tensorBuffer","description":"Supply input as tensorBuffer."}],"returns":"tensorBuffer","members":[],"tags":["compute","compute.kernels","cpu","function","kernels","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/kernels/kernels.yh","line":879,"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 TensorActivationIntBuffer","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.\ntext activationKind = \"activation Kind\"\ntensorBuffer input = tensorBuffer(\"Player health\", tensorShape(\"element Type\", []), \"device\")\ntensorBuffer result = TensorActivationIntBuffer(activationKind, input)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_kernels__tensoractivationintbuffer\"\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":"7484bb8c33707e17fd63dedb8ad8481c2dad15ade7aa1ad0e38f8cfbba966125","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.kernels--TensorActivationIntBuffer","json":"https://demonhunterlabs.com/reference/items/compute.kernels--TensorActivationIntBuffer.json","markdown":"https://demonhunterlabs.com/reference/text/compute.kernels--TensorActivationIntBuffer.md"}
