[{"data":1,"prerenderedAt":161},["ShallowReactive",2],{"$fqE1hpzEesoeQgQ4oGVydTwxfPIXlD_m0VjTTWCRLgx0":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":160,"_id":4},"VkTensorARM","Opaque handle to a tensor object","VK_EXT_descriptor_heap, VK_ARM_tensors","handles",[],{"type":10,"children":11,"toc":158},"root",[12,50,62,74,152],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35,37,48],{"type":18,"value":19},"text","Tensors are similar to ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/chapters/images#images",[25],{"type":18,"value":26},"images",{"type":18,"value":28},", in that they have\nmulti-dimensional access as documented in the ",{"type":13,"tag":21,"props":30,"children":32},{"href":31},"/chapters/tensors#tensors",[33],{"type":18,"value":34},"Tensor Operations",{"type":18,"value":36}," chapter, but a\ntensor’s dimensions are not predefined.\nA tensor can have an arbitrary number of dimensions, up to\n",{"type":13,"tag":21,"props":38,"children":40},{"href":39},"/man/VkPhysicalDeviceTensorPropertiesARM#limits-maxTensorDimensionCount",[41],{"type":13,"tag":42,"props":43,"children":45},"code",{"className":44},[],[46],{"type":18,"value":47},"maxTensorDimensionCount",{"type":18,"value":49},", with one\nindex per dimension used to access the tensor.",{"type":13,"tag":14,"props":51,"children":52},{},[53,55,60],{"type":18,"value":54},"Tensors ",{"type":13,"tag":56,"props":57,"children":59},"normative",{"type":58},"can",[],{"type":18,"value":61}," be used by binding them to pipelines via descriptor sets, or by\ndirectly specifying them as parameters to certain commands.",{"type":13,"tag":14,"props":63,"children":64},{},[65,67,72],{"type":18,"value":66},"Tensors are represented by ",{"type":13,"tag":42,"props":68,"children":70},{"className":69},[],[71],{"type":18,"value":4},{"type":18,"value":73}," handles:",{"type":13,"tag":75,"props":76,"children":77},"code-group",{},[78,108],{"type":13,"tag":79,"props":80,"children":86},"pre",{"className":81,"code":82,"filename":83,"language":84,"meta":85,"style":85},"language-c shiki shiki-themes github-light-default github-dark-default","VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkTensorARM)\n","C","c","",[87],{"type":13,"tag":42,"props":88,"children":89},{"__ignoreMap":85},[90],{"type":13,"tag":91,"props":92,"children":95},"span",{"class":93,"line":94},"line",1,[96,102],{"type":13,"tag":91,"props":97,"children":99},{"style":98},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[100],{"type":18,"value":101},"VK_DEFINE_NON_DISPATCHABLE_HANDLE",{"type":13,"tag":91,"props":103,"children":105},{"style":104},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[106],{"type":18,"value":107},"(VkTensorARM)\n",{"type":13,"tag":79,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":85,"style":85},"language-rs shiki shiki-themes github-light-default github-dark-default","#[repr(transparent)]\npub struct TensorARM(_);\n","Rust","rs",[115],{"type":13,"tag":42,"props":116,"children":117},{"__ignoreMap":85},[118,126],{"type":13,"tag":91,"props":119,"children":120},{"class":93,"line":94},[121],{"type":13,"tag":91,"props":122,"children":123},{"style":104},[124],{"type":18,"value":125},"#[repr(transparent)]\n",{"type":13,"tag":91,"props":127,"children":129},{"class":93,"line":128},2,[130,136,141,147],{"type":13,"tag":91,"props":131,"children":133},{"style":132},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[134],{"type":18,"value":135},"pub",{"type":13,"tag":91,"props":137,"children":138},{"style":132},[139],{"type":18,"value":140}," struct",{"type":13,"tag":91,"props":142,"children":144},{"style":143},"--shiki-default:#953800;--shiki-dark:#FFA657",[145],{"type":18,"value":146}," TensorARM",{"type":13,"tag":91,"props":148,"children":149},{"style":104},[150],{"type":18,"value":151},"(_);\n",{"type":13,"tag":153,"props":154,"children":155},"style",{},[156],{"type":18,"value":157},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":85,"searchDepth":128,"depth":128,"links":159},[],"markdown",1773054780389]