arraySync() {
        return (0, _util.toNestedArray)(this.shape, this.dataSync(), this.dtype === "complex64");
    }
Returns the tensor data as a nested array. The transfer of data is done
synchronously.

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