map_(callback) {
        const this_data = this.data;
        for (let i = 0; i < this_data.length; ++i) {
            this_data[i] = callback(this_data[i], i, this_data);
        }
        return this;
    }
Apply a callback function to each element of the tensor in place.
@param {Function} callback - The function to apply to each element. It should take three arguments:
                             the current element, its index, and the tensor's data array.
@returns {Tensor} Returns `this`.