helion.language.split#
- helion.language.split(tensor)[source]#
Split the last dimension of a tensor with size two into two separate tensors.
- Parameters:
tensor (
Tensor) – The input tensor whose last dimension has length two.- Return type:
- Returns:
A tuple
(lo, hi)where each tensor has the same shape astensorwithout its last dimension.
See also