{"id":"compute.tensor--tensorShape","name":"tensorShape","owner":"yeho","package":"compute.tensor","kind":"thing","signature":"external thing tensorShape","description":"A tensor shape record carrying elementType, dimensions, strides.","context":"Represent tensor shapes, layouts, and numerical storage contracts.","parameters":[],"returns":"void","members":[{"name":"elementType","kind":"field","type":"text","description":"Stores element type as text.","signature":"text elementType","tags":["thing","field","compute.tensor"],"updated":"2026-09-09"},{"name":"dimensions","kind":"field","type":"list of int","description":"Stores dimensions as list of int.","signature":"list of int dimensions","tags":["thing","field","compute.tensor"],"updated":"2026-09-09"},{"name":"strides","kind":"field","type":"list of int","description":"Stores strides as list of int.","signature":"list of int strides","tags":["thing","field","compute.tensor"],"updated":"2026-09-09"},{"name":"tensorShape","kind":"constructor","parameters":[{"name":"elementType","type":"text","description":"Element type."},{"name":"dimensions","type":"list of int","description":"Dimensions."}],"returns":"void","signature":"tensorShape(text elementType, list of int dimensions)","description":"Tensor shape.","tags":["thing","constructor","compute.tensor"],"updated":"2026-09-09"},{"name":"tensorShape","kind":"constructor","parameters":[{"name":"elementType","type":"text","description":"Element type."},{"name":"dimensions","type":"list of int","description":"Dimensions."},{"name":"strides","type":"list of int","description":"Strides."}],"returns":"void","signature":"tensorShape(text elementType, list of int dimensions, list of int strides)","description":"Tensor shape.","tags":["thing","constructor","compute.tensor"],"updated":"2026-09-09"},{"name":"Rank","kind":"method","parameters":[],"returns":"int","signature":"Rank() returns int","description":"Rank.","tags":["thing","method","compute.tensor"],"exampleId":"method-Rank-5","updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","compute.tensor"],"exampleId":"method-ValidationIssue-6","updated":"2026-09-09"},{"name":"Validate","kind":"method","parameters":[],"returns":"bool","signature":"Validate() returns bool","description":"Validate.","tags":["thing","method","compute.tensor"],"exampleId":"method-Validate-7","updated":"2026-09-09"},{"name":"ValidateOrThrow","kind":"method","parameters":[],"returns":"void","signature":"ValidateOrThrow()","description":"Validate or throw.","tags":["thing","method","compute.tensor"],"exampleId":"method-ValidateOrThrow-8","updated":"2026-09-09"},{"name":"ElementCount","kind":"method","parameters":[],"returns":"int","signature":"ElementCount() returns int","description":"Element count.","tags":["thing","method","compute.tensor"],"exampleId":"method-ElementCount-9","updated":"2026-09-09"},{"name":"AxisLength","kind":"method","parameters":[{"name":"axis","type":"int","description":"Axis."}],"returns":"int","signature":"AxisLength(int axis) returns int","description":"Axis length.","tags":["thing","method","compute.tensor"],"exampleId":"method-AxisLength-10","updated":"2026-09-09"},{"name":"StrideAt","kind":"method","parameters":[{"name":"axis","type":"int","description":"Axis."}],"returns":"int","signature":"StrideAt(int axis) returns int","description":"Stride at.","tags":["thing","method","compute.tensor"],"exampleId":"method-StrideAt-11","updated":"2026-09-09"},{"name":"IsScalar","kind":"method","parameters":[],"returns":"bool","signature":"IsScalar() returns bool","description":"Is scalar.","tags":["thing","method","compute.tensor"],"exampleId":"method-IsScalar-12","updated":"2026-09-09"},{"name":"IsVector","kind":"method","parameters":[],"returns":"bool","signature":"IsVector() returns bool","description":"Is vector.","tags":["thing","method","compute.tensor"],"exampleId":"method-IsVector-13","updated":"2026-09-09"},{"name":"IsMatrix","kind":"method","parameters":[],"returns":"bool","signature":"IsMatrix() returns bool","description":"Is matrix.","tags":["thing","method","compute.tensor"],"exampleId":"method-IsMatrix-14","updated":"2026-09-09"},{"name":"IsContiguous","kind":"method","parameters":[],"returns":"bool","signature":"IsContiguous() returns bool","description":"Is contiguous.","tags":["thing","method","compute.tensor"],"exampleId":"method-IsContiguous-15","updated":"2026-09-09"},{"name":"WithStrides","kind":"method","parameters":[{"name":"nextStrides","type":"list of int","description":"Next strides."}],"returns":"tensorShape","signature":"WithStrides(list of int nextStrides) returns tensorShape","description":"With strides.","tags":["thing","method","compute.tensor"],"exampleId":"method-WithStrides-16","updated":"2026-09-09"},{"name":"WithElementType","kind":"method","parameters":[{"name":"elementType","type":"text","description":"Element type."}],"returns":"tensorShape","signature":"WithElementType(text elementType) returns tensorShape","description":"With element type.","tags":["thing","method","compute.tensor"],"exampleId":"method-WithElementType-17","updated":"2026-09-09"},{"name":"Reshape","kind":"method","parameters":[{"name":"nextDimensions","type":"list of int","description":"Next dimensions."}],"returns":"tensorShape","signature":"Reshape(list of int nextDimensions) returns tensorShape","description":"Reshape.","tags":["thing","method","compute.tensor"],"exampleId":"method-Reshape-18","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.tensor"],"exampleId":"method-Describe-19","updated":"2026-09-09"}],"tags":["compute","compute.tensor","cpu","method","source-example","tensor","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/tensor/tensor.yh","line":3,"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 tensorShape","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.\ntensorShape sample = tensorShape(\"element Type\", [])\nConsole.Log(Text.From(sample.elementType))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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":"4ffc147af9d6f2652578379fd5287359a1bcef2d516292ff9f4435c5f7f25b23","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Rank-5","title":"tensorShape.Rank","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Rank.\ntensorShape instance = tensorShape(\"element Type\", [])\nint result = instance.Rank()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"826c69c3c3ca4c321f5e21de80ad25f1d9707fa0e3186d6997fee6e83cf3ba22","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-6","title":"tensorShape.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Validation issue.\ntensorShape instance = tensorShape(\"element Type\", [])\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"f369aac6a6e5daaf14d9eb8db53b37d875c9fa033d96658b8c9870d7eda76089","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Validate-7","title":"tensorShape.Validate","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Validate.\ntensorShape instance = tensorShape(\"element Type\", [])\nbool result = instance.Validate()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"19a7e9b90a51a616ad5066631ebd4033b0dc598be131bc8c6f1ddca13260bf62","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidateOrThrow-8","title":"tensorShape.ValidateOrThrow","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Validate or throw.\ntensorShape instance = tensorShape(\"element Type\", [])\ninstance.ValidateOrThrow()\nConsole.Log(\"ValidateOrThrow completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"591ba22106945e113dd76920e6c8f9e44dbd0efb77a73eac3052b2861aef5650","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ElementCount-9","title":"tensorShape.ElementCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Element count.\ntensorShape instance = tensorShape(\"element Type\", [])\nint result = instance.ElementCount()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"119ab1c550cef82f983a46fb77dd2fe3dd3ee285e9487afc8c7b34b6689b1711","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AxisLength-10","title":"tensorShape.AxisLength","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Axis length.\ntensorShape instance = tensorShape(\"element Type\", [])\nint argument_axis = 1\nint result = instance.AxisLength(argument_axis)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"4886b39727677ce44be92eb136fde5a6bbd218a4ee8fe10ae5e94e01dabd2c1c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-StrideAt-11","title":"tensorShape.StrideAt","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Stride at.\ntensorShape instance = tensorShape(\"element Type\", [])\nint argument_axis = 1\nint result = instance.StrideAt(argument_axis)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"367e891a2aa18ef972ae21ccffb179e05c7e3652c61677c9fffd14298c6a0326","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IsScalar-12","title":"tensorShape.IsScalar","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Is scalar.\ntensorShape instance = tensorShape(\"element Type\", [])\nbool result = instance.IsScalar()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"18725d35bc3a687df318a8a6c03cafb6fc9c3f0c3595186e11a521021e492e38","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IsVector-13","title":"tensorShape.IsVector","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Is vector.\ntensorShape instance = tensorShape(\"element Type\", [])\nbool result = instance.IsVector()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"9fd6ce07a6b0d8aaef2655006ad71e152d61efea15b1a67d6ec3a1e8a54cffa8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IsMatrix-14","title":"tensorShape.IsMatrix","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Is matrix.\ntensorShape instance = tensorShape(\"element Type\", [])\nbool result = instance.IsMatrix()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"a10f668809a0ef41efc2bbe23ac2ea8b90f1d198f582278fac2e81d11ee09b80","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IsContiguous-15","title":"tensorShape.IsContiguous","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Is contiguous.\ntensorShape instance = tensorShape(\"element Type\", [])\nbool result = instance.IsContiguous()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"51b7447a3bfc0597de9dd33de4f19771615d73a84c99245c00ec5c75c6d83c13","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-WithStrides-16","title":"tensorShape.WithStrides","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// With strides.\ntensorShape instance = tensorShape(\"element Type\", [])\nlist of int argument_nextStrides = []\ntensorShape result = instance.WithStrides(argument_nextStrides)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"5ae9b3a2aadaab267a7818a33293ad8313d9fc9f13e6c81fbed435cc00f54028","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-WithElementType-17","title":"tensorShape.WithElementType","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// With element type.\ntensorShape instance = tensorShape(\"element Type\", [])\ntext argument_elementType = \"argument element Type\"\ntensorShape result = instance.WithElementType(argument_elementType)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"6f27b0214f1ce59da16f59b5e7ece10642a4a6863c0b05515540843b55a454ba","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Reshape-18","title":"tensorShape.Reshape","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Reshape.\ntensorShape instance = tensorShape(\"element Type\", [])\nlist of int argument_nextDimensions = []\ntensorShape result = instance.Reshape(argument_nextDimensions)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"26931a8fe08d1609e43af3239a5662bf3011882b97b2d34b770d40d1a3ffd03c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-19","title":"tensorShape.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.tensor\n\n// Describe.\ntensorShape instance = tensorShape(\"element Type\", [])\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_tensor__tensorshape\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"0600dcc7b42d151fd0011caa417c5a3b671915dc4968d43b6605ce059ca9f110","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["elementType","dimensions","strides","tensorShape","tensorShape","Rank","ValidationIssue","Validate","ValidateOrThrow","ElementCount","AxisLength","StrideAt","IsScalar","IsVector","IsMatrix","IsContiguous","WithStrides","WithElementType","Reshape","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.tensor--tensorShape","json":"https://demonhunterlabs.com/reference/items/compute.tensor--tensorShape.json","markdown":"https://demonhunterlabs.com/reference/text/compute.tensor--tensorShape.md"}
