view(shape) {
	        const shapeArray = shape.map((value) => new Scalar(value, "int"));
	        return this.ctx.ndarrayCreateView(this, this.ctx.makeShapeTuple(...shapeArray));
	    }
Create a view of the array.
@param shape The shape of the view.
@returns The new sliced ndarray.