def get_array_memory_extents(context, builder, arrty, arr, shapes, strides, data):
 (lower, upper) = offset_bounds_from_strides(context, builder, arrty, arr, shapes, strides)
 return compute_memory_extents(context, builder, lower, upper, data)

def get_array_memory_extents ( context , builder , arrty , arr , shapes , strides , data ) : ( lower , upper ) = offset_bounds_from_strides ( context , builder , arrty , arr , shapes , strides ) return compute_memory_extents ( context , builder , lower , upper , data )
compute a half-open range [start .