Mojo function
stack_allocation_like
stack_allocation_like[layout: Layout, dtype: DType, *, address_space: AddressSpace, target_address_space: AddressSpace = 0](in_tensor: LayoutTensor[dtype, layout, layout.rank(), address_space=address_space, element_layout=element_layout, layout_bitwidth=layout_bitwidth, masked=masked, alignment=alignment]) -> LayoutTensor[dtype, layout, layout.rank(), address_space=target_address_space, masked=masked]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!