ndarrayCacheUpdate(name, arr, override = false) {
	        this.ctx.arrayCacheUpdate(name, arr, this.scalar(override ? 1 : 0, "int32"));
	    }
Update the ndarray cache.
@param name The name of the array.
@param arr The content.