dataSync() {
        this.throwIfDisposed();
        const data = trackerFn().readSync(this.dataId);
        if (this.dtype === "string") try {
            return data.map((b)=>_util.decodeString(b));
        } catch (_a) {
            throw new Error("Failed to decode the string bytes into utf-8. To get the original bytes, call tensor.bytes().");
        }
        return data;
    }
Synchronously downloads the values from the `tf.Tensor`. This blocks the
UI thread until the values are ready, which can cause performance issues.

@doc {heading: 'Tensors', subheading: 'Classes'}