Mojo function
exp
exp(inp: LayoutTensor[dtype, layout, origin, address_space=address_space, element_layout=element_layout, layout_bitwidth=layout_bitwidth, masked=masked, alignment=alignment]) -> LayoutTensor[dtype, layout, MutableAnyOrigin, address_space=address_space, element_layout=element_layout, layout_bitwidth=layout_bitwidth, masked=masked, alignment=alignment]
Computes element-wise exponential function.
Returns a new tensor containing the element-wise exponential of the input tensor.
Args:
- inp (
LayoutTensor[dtype, layout, origin, address_space=address_space, element_layout=element_layout, layout_bitwidth=layout_bitwidth, masked=masked, alignment=alignment]
): Input tensor.
Returns:
A new tensor containing the element-wise exponential.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!