Skip to main content

Mojo module

gather_scatter

comptime values

error_index_fn_type

comptime error_index_fn_type = fn(Int) capturing -> None

Structs

  • Axis:
  • ScatterOobIndexStrategy: Valid indices are within the range [-dim_size, dim_size). Indices which fall outside of that can be handled using different strategies. Note that negative indices are allowed in order to support negative relative indexing. Eg: x[-1] == x[dim_size - 1].

Functions

Was this page helpful?