C Specification
To create tensors, call:
// Provided by VK_ARM_tensors
VkResult vkCreateTensorARM(
    VkDevice                                    device,
    const VkTensorCreateInfoARM*                pCreateInfo,
    const VkAllocationCallbacks*                pAllocator,
    VkTensorARM*                                pTensor);Parameters
- 
deviceis the logical device that creates the tensor.
- 
pCreateInfois a pointer to a VkTensorCreateInfoARM structure containing parameters to be used to create the tensor.
- 
pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.
- 
pTensoris a pointer to a VkTensorARM handle in which the resulting tensor object is returned.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.