gt(val) {
        const mask = new Uint8Array(this.data.length);
        const this_data = this.data;
        for (let i = 0; i < this_data.length; ++i) {
            mask[i] = this_data[i] > val ? 1 : 0;
        }
        return new Tensor('bool', mask, this.dims);
    }
Computes input > val element-wise.
@param {number} val The value to compare with.
@returns {Tensor} A boolean tensor that is `true` where input is greater than other and `false` elsewhere.