Skip to main content
Log in

Mojo function

crd2idx

crd2idx[: ImmutableOrigin, : ImmutableOrigin, : ImmutableOrigin, //, crd_t: IntTuple[$2], shape_t: IntTuple[$1], stride_t: IntTuple[$0]](crd: RuntimeTuple[crd_t, element_bitwidth=element_bitwidth, unsigned=unsigned], shape: RuntimeTuple[shape_t, element_bitwidth=element_bitwidth, unsigned=unsigned], stride: RuntimeTuple[stride_t, element_bitwidth=element_bitwidth, unsigned=unsigned]) -> Int