Skip to main content
Log in

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]