Skip to main content

Module io

Module io 

Source
Expand description

Input Output utilities.

Modules§

checked_index
read_checked
read_masked
validate_index
write_checked

Functions§

checked_index
Returns the value at index in tensor within bounds.
expand_checked_index
expand_validate_index
read_checked
Returns the value at index in list if the index is in bounds, otherwise returns value.
read_masked
Returns the value at index in list if condition is true, otherwise returns value.
validate_index
Returns the value at index in tensor within bounds.
write_checked
Writes the value only if it is in bounds of the buffer