uniform(shape, low, high, dev) {
	        const ret = this.empty(shape, "float32", dev);
	        const size = shape.reduce((a, b) => {
	            return a * b;
	        }, 1);
	        const scale = high - low;
	        const input = new Float32Array(size);
	        for (let i = 0; i < input.length; ++i) {
	            input[i] = low + Math.random() * scale;
	        }
	        return ret.copyFrom(input);
	    }
Create am uniform {@link NDArray} with given shape.

@param shape The shape of the array.
@param low The low value.
@param high The high value.
@param dev The device of the ndarray.
@returns The created ndarray.