{"id":"compute.graph--graphAutodiffTape","name":"graphAutodiffTape","owner":"yeho","package":"compute.graph","kind":"thing","signature":"external thing graphAutodiffTape","description":"A graph autodiff tape record carrying key, retainedActivations, retainedGradients, activationBindings, gradientBindings, and related state.","context":"Describe compute work as an explicit graph with package-owned validation and scheduling metadata.","parameters":[],"returns":"void","members":[{"name":"key","kind":"field","type":"text","description":"Stores key as text.","signature":"text key","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"retainedActivations","kind":"field","type":"list of text","description":"Stores retained activations as list of text.","signature":"list of text retainedActivations","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"retainedGradients","kind":"field","type":"list of text","description":"Stores retained gradients as list of text.","signature":"list of text retainedGradients","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"activationBindings","kind":"field","type":"list of graphTensorBinding","description":"Stores activation bindings as list of graphTensorBinding.","signature":"list of graphTensorBinding activationBindings","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"gradientBindings","kind":"field","type":"list of graphTensorBinding","description":"Stores gradient bindings as list of graphTensorBinding.","signature":"list of graphTensorBinding gradientBindings","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"ownerships","kind":"field","type":"list of graphGradientOwnership","description":"Stores ownerships as list of graphGradientOwnership.","signature":"list of graphGradientOwnership ownerships","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":"RetainedActivationCount","kind":"method","parameters":[],"returns":"int","signature":"RetainedActivationCount() returns int","description":"Retained activation count.","tags":["thing","method","compute.graph"],"exampleId":"method-RetainedActivationCount-7","updated":"2026-09-09"},{"name":"RetainedGradientCount","kind":"method","parameters":[],"returns":"int","signature":"RetainedGradientCount() returns int","description":"Retained gradient count.","tags":["thing","method","compute.graph"],"exampleId":"method-RetainedGradientCount-8","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-9","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":214,"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 graphAutodiffTape","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.\ngraphAutodiffTape sample = graphAutodiffTape()\nConsole.Log(Text.From(sample.key))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphautodifftape\"\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":"d27e777ec5005e5904a9719645983a634e7f28106262803d24f47f1010447174","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RetainedActivationCount-7","title":"graphAutodiffTape.RetainedActivationCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Retained activation count.\ngraphAutodiffTape instance = graphAutodiffTape()\nint result = instance.RetainedActivationCount()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphautodifftape\"\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":"f93ee5e08d2cc79320fc37dab2b269cfe544f59957438608567cbd4fc23b3ded","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RetainedGradientCount-8","title":"graphAutodiffTape.RetainedGradientCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Retained gradient count.\ngraphAutodiffTape instance = graphAutodiffTape()\nint result = instance.RetainedGradientCount()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphautodifftape\"\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":"910fc228ddb1dad3ff197459c56d08a58d42f4c9b3b7682993263b6d613d1d66","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-9","title":"graphAutodiffTape.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.\ngraphAutodiffTape instance = graphAutodiffTape()\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphautodifftape\"\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":"8e29a81a98a8602b88d71b6a5f1d6335ee52ac68c9d68ab0b6f3191a02313e2e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["key","retainedActivations","retainedGradients","activationBindings","gradientBindings","ownerships","note","RetainedActivationCount","RetainedGradientCount","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.graph--graphAutodiffTape","json":"https://demonhunterlabs.com/reference/items/compute.graph--graphAutodiffTape.json","markdown":"https://demonhunterlabs.com/reference/text/compute.graph--graphAutodiffTape.md"}
