{"id":"compute.graph--graphGradientOwnership","name":"graphGradientOwnership","owner":"yeho","package":"compute.graph","kind":"thing","signature":"external thing graphGradientOwnership","description":"A graph gradient ownership record carrying nodeName, activationOwner, gradientOwner, device, accumulationSteps, and related state.","context":"Describe compute work as an explicit graph with package-owned validation and scheduling metadata.","parameters":[],"returns":"void","members":[{"name":"nodeName","kind":"field","type":"text","description":"Stores node name as text.","signature":"text nodeName","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"activationOwner","kind":"field","type":"text","description":"Stores activation owner as text.","signature":"text activationOwner","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"gradientOwner","kind":"field","type":"text","description":"Stores gradient owner as text.","signature":"text gradientOwner","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"device","kind":"field","type":"text","description":"Stores device as text.","signature":"text device","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"accumulationSteps","kind":"field","type":"int","description":"Stores accumulation steps as int.","signature":"int accumulationSteps","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"note","kind":"field","type":"text","description":"Stores note as text.","signature":"text note","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"graphGradientOwnership","kind":"constructor","parameters":[{"name":"nodeName","type":"text","description":"Node name."},{"name":"activationOwner","type":"text","description":"Activation owner."},{"name":"gradientOwner","type":"text","description":"Gradient owner."},{"name":"device","type":"text","description":"Device."},{"name":"accumulationSteps","type":"int","description":"Accumulation steps."},{"name":"note","type":"text","description":"Note."}],"returns":"void","signature":"graphGradientOwnership(text nodeName, text activationOwner, text gradientOwner, text device, int accumulationSteps, text note)","description":"Graph gradient ownership.","tags":["thing","constructor","compute.graph"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.graph"],"exampleId":"method-Describe-7","updated":"2026-09-09"}],"tags":["compute","compute.graph","cpu","graph","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/graph/training.yh","line":189,"sha256":"df3f352a0daeea888785284ad41be26df4c606c7ffe50b68ed7188f4fcee4410"},"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 graphGradientOwnership","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.graph\n\n// Describe compute work as an explicit graph with package-owned validation and scheduling metadata.\ngraphGradientOwnership sample = graphGradientOwnership(\"node Name\", \"activation Owner\", \"gradient Owner\", \"device\", 1, \"note\")\nConsole.Log(Text.From(sample.nodeName))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphgradientownership\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n\n[[dependencies]]\npackage = \"compute.device\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/device\"\n\n[[dependencies]]\npackage = \"compute.graph\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/graph\"\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":"38d424faf28ffaa27fed46313a303f9440dfb262298e6d6a21c64335e582d18b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-7","title":"graphGradientOwnership.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Describe.\ngraphGradientOwnership instance = graphGradientOwnership(\"node Name\", \"activation Owner\", \"gradient Owner\", \"device\", 1, \"note\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphgradientownership\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n\n[[dependencies]]\npackage = \"compute.device\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/device\"\n\n[[dependencies]]\npackage = \"compute.graph\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/graph\"\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":"254983260cd5aced354143819f8efd7faf2f766314c08a9273d9445b6b0dec9a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["nodeName","activationOwner","gradientOwner","device","accumulationSteps","note","graphGradientOwnership","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.graph--graphGradientOwnership","json":"https://demonhunterlabs.com/reference/items/compute.graph--graphGradientOwnership.json","markdown":"https://demonhunterlabs.com/reference/text/compute.graph--graphGradientOwnership.md"}
