helion.language.load
- helion.language.load(tensor, index, extra_mask=None)[source]
Load a value from a tensor using a list of indices.
This function is equivalent to tensor[index] but allows setting extra_mask= to mask elements beyond the default masking based on the hl.tile range.
- Parameters:
- Returns:
The loaded value
- Return type: