def make_view(context, builder, aryty, ary, return_type,
              data, shapes, strides):
    retary = make_array(return_type)(context, builder)
    populate_array(retary,
                   data=data,
                   shape=shapes,
                   strides=strides,
                   itemsize=ary.itemsize,
                   meminfo=ary.meminfo,
                   parent=ary.parent)
    return retary
Build a view over the given array with the given parameters.
dataset/ETHPy150Open numba/numba/numba/targets/arrayobj.py/make_view