map(callback) {
        return this.clone().map_(callback);
    }
Return a new Tensor with a callback function applied to each element.
@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} A new Tensor with the callback function applied to each element.