function
identity
identity[type: DType, simd_width: Int](x: SIMD[type, simd_width]) -> SIMD[$0, $1]
Gets the identity of a SIMD vector.
Parameters:
- type (
DType
): Thedtype
of the input and output SIMD vector. - simd_width (
Int
): The width of the input and output SIMD vector.
Args:
- x (
SIMD[type, simd_width]
): The SIMD vector to take identity of.
Returns:
Identity of x, which is x.