{"id":"compute.graph--graphExecutionResult","name":"graphExecutionResult","owner":"yeho","package":"compute.graph","kind":"thing","signature":"external thing graphExecutionResult","description":"A graph execution result record carrying name, plan, steps, outputs, note.","context":"Describe compute work as an explicit graph with package-owned validation and scheduling metadata.","parameters":[],"returns":"void","members":[{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"plan","kind":"field","type":"graphExecutionPlan","description":"Stores plan as graphExecutionPlan.","signature":"graphExecutionPlan plan","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"steps","kind":"field","type":"list of graphExecutionStep","description":"Stores steps as list of graphExecutionStep.","signature":"list of graphExecutionStep steps","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"outputs","kind":"field","type":"list of graphTensorBinding","description":"Stores outputs as list of graphTensorBinding.","signature":"list of graphTensorBinding outputs","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":"graphExecutionResult","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"plan","type":"graphExecutionPlan","description":"Plan."},{"name":"note","type":"text","description":"Note."}],"returns":"void","signature":"graphExecutionResult(text name, graphExecutionPlan plan, text note)","description":"Graph execution result.","tags":["thing","constructor","compute.graph"],"updated":"2026-09-09"},{"name":"AddStep","kind":"method","parameters":[{"name":"step","type":"graphExecutionStep","description":"Step."}],"returns":"void","signature":"AddStep(graphExecutionStep step)","description":"Add step.","tags":["thing","method","compute.graph"],"exampleId":"method-AddStep-6","updated":"2026-09-09"},{"name":"AddOutput","kind":"method","parameters":[{"name":"binding","type":"graphTensorBinding","description":"Binding."}],"returns":"void","signature":"AddOutput(graphTensorBinding binding)","description":"Add output.","tags":["thing","method","compute.graph"],"exampleId":"method-AddOutput-7","updated":"2026-09-09"},{"name":"StepCount","kind":"method","parameters":[],"returns":"int","signature":"StepCount() returns int","description":"Step count.","tags":["thing","method","compute.graph"],"exampleId":"method-StepCount-8","updated":"2026-09-09"},{"name":"OutputCount","kind":"method","parameters":[],"returns":"int","signature":"OutputCount() returns int","description":"Output count.","tags":["thing","method","compute.graph"],"exampleId":"method-OutputCount-9","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-10","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/graph.yh","line":361,"sha256":"95bb29f53014a420ab0b1dfc18800f567a8e06f197650f133522eb254009014f"},"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 graphExecutionResult","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.\ngraphExecutionResult sample = graphExecutionResult(\"Nova\", graphExecutionPlan(\"Nova\", graphModel(\"Nova\", \"model Kind\", [], [], \"note\"), graphCachePolicy(\"key\", \"scope\", true, true, \"note\"), graphFallbackPolicy(\"primary Path\", \"fallback Path\", \"reason\", true, true, \"note\"), graphSchedulerRule(\"Nova\", \"path Order\", \"fusion Rule\", \"cache Rule\", \"note\"), \"note\"), \"note\")\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphexecutionresult\"\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":"e051ba95190a16fa3dd2fee9c76de52bceab41cba8ccca0f1c33a1cfa266f45f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddStep-6","title":"graphExecutionResult.AddStep","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Add step.\ngraphExecutionResult instance = graphExecutionResult(\"Nova\", graphExecutionPlan(\"Nova\", graphModel(\"Nova\", \"model Kind\", [], [], \"note\"), graphCachePolicy(\"key\", \"scope\", true, true, \"note\"), graphFallbackPolicy(\"primary Path\", \"fallback Path\", \"reason\", true, true, \"note\"), graphSchedulerRule(\"Nova\", \"path Order\", \"fusion Rule\", \"cache Rule\", \"note\"), \"note\"), \"note\")\ngraphExecutionStep argument_step = graphExecutionStep()\ninstance.AddStep(argument_step)\nConsole.Log(\"AddStep completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphexecutionresult\"\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":"cc47b94987e3b62ad297289aba1d87039e802d97f0d8d886df53c5a525b875d2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddOutput-7","title":"graphExecutionResult.AddOutput","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Add output.\ngraphExecutionResult instance = graphExecutionResult(\"Nova\", graphExecutionPlan(\"Nova\", graphModel(\"Nova\", \"model Kind\", [], [], \"note\"), graphCachePolicy(\"key\", \"scope\", true, true, \"note\"), graphFallbackPolicy(\"primary Path\", \"fallback Path\", \"reason\", true, true, \"note\"), graphSchedulerRule(\"Nova\", \"path Order\", \"fusion Rule\", \"cache Rule\", \"note\"), \"note\"), \"note\")\ngraphTensorBinding argument_binding = graphTensorBinding(\"Nova\", tensorBuffer(\"Player health\", tensorShape(\"element Type\", []), \"device\"), \"note\")\ninstance.AddOutput(argument_binding)\nConsole.Log(\"AddOutput completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphexecutionresult\"\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":"89c88a0a3d56d614a83929de8b98138323eb8046117c00e4a9035fab93fe4229","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-StepCount-8","title":"graphExecutionResult.StepCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Step count.\ngraphExecutionResult instance = graphExecutionResult(\"Nova\", graphExecutionPlan(\"Nova\", graphModel(\"Nova\", \"model Kind\", [], [], \"note\"), graphCachePolicy(\"key\", \"scope\", true, true, \"note\"), graphFallbackPolicy(\"primary Path\", \"fallback Path\", \"reason\", true, true, \"note\"), graphSchedulerRule(\"Nova\", \"path Order\", \"fusion Rule\", \"cache Rule\", \"note\"), \"note\"), \"note\")\nint result = instance.StepCount()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphexecutionresult\"\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":"77f70b07c3a821684b0997072976d0bf96e9ca3bbf018983dcb5bbb531404a54","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-OutputCount-9","title":"graphExecutionResult.OutputCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Output count.\ngraphExecutionResult instance = graphExecutionResult(\"Nova\", graphExecutionPlan(\"Nova\", graphModel(\"Nova\", \"model Kind\", [], [], \"note\"), graphCachePolicy(\"key\", \"scope\", true, true, \"note\"), graphFallbackPolicy(\"primary Path\", \"fallback Path\", \"reason\", true, true, \"note\"), graphSchedulerRule(\"Nova\", \"path Order\", \"fusion Rule\", \"cache Rule\", \"note\"), \"note\"), \"note\")\nint result = instance.OutputCount()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphexecutionresult\"\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":"4ae93c85ce908a22f57b4652e62760a31ea8ce10430d4df29b6bc8b1a0dea60d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-10","title":"graphExecutionResult.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.\ngraphExecutionResult instance = graphExecutionResult(\"Nova\", graphExecutionPlan(\"Nova\", graphModel(\"Nova\", \"model Kind\", [], [], \"note\"), graphCachePolicy(\"key\", \"scope\", true, true, \"note\"), graphFallbackPolicy(\"primary Path\", \"fallback Path\", \"reason\", true, true, \"note\"), graphSchedulerRule(\"Nova\", \"path Order\", \"fusion Rule\", \"cache Rule\", \"note\"), \"note\"), \"note\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__graphexecutionresult\"\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":"30816b23ee641aa328bc500a0f13c6bf513541604ebbc9cc70ee4625c125f1f2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","plan","steps","outputs","note","graphExecutionResult","AddStep","AddOutput","StepCount","OutputCount","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.graph--graphExecutionResult","json":"https://demonhunterlabs.com/reference/items/compute.graph--graphExecutionResult.json","markdown":"https://demonhunterlabs.com/reference/text/compute.graph--graphExecutionResult.md"}
