{"id":"compute.tensor--CopyTensorDimensions","name":"CopyTensorDimensions","owner":"yeho","package":"compute.tensor","kind":"function","signature":"external CopyTensorDimensions(list of int dimensions) returns list of int","description":"Copy tensor dimensions.","context":"Represent tensor shapes, layouts, and numerical storage contracts.","parameters":[{"name":"dimensions","type":"list of int","description":"Supply dimensions as list of int."}],"returns":"list of int","members":[],"tags":["compute","compute.tensor","cpu","function","source-example","tensor","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/tensor/tensor.yh","line":1003,"sha256":"7bd3db2f904b35af3226eb39a3981ea037898069e10ad7c6cb37913fd9f5171c"},"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 CopyTensorDimensions","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.tensor\n\n// Represent tensor shapes, layouts, and numerical storage contracts.\nlist of int dimensions = []\nlist of int result = CopyTensorDimensions(dimensions)\nConsole.Log(Text.From(result.count))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__copytensordimensions\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\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":"0ab77c6fb534a10a2998a80e0eac7d6953d9b22061fd99ce649c7d29d969b027","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.tensor--CopyTensorDimensions","json":"https://demonhunterlabs.com/reference/items/compute.tensor--CopyTensorDimensions.json","markdown":"https://demonhunterlabs.com/reference/text/compute.tensor--CopyTensorDimensions.md"}
