* Returns the tensor data as a nested array. The transfer of data is done * synchronously. * * @doc {heading: 'Tensors', subheading: 'Classes'}
()
| 336 | * @doc {heading: 'Tensors', subheading: 'Classes'} |
| 337 | */ |
| 338 | arraySync(): ArrayMap[R] { |
| 339 | return toNestedArray( |
| 340 | this.shape, this.dataSync(), this.dtype === 'complex64') as |
| 341 | ArrayMap[R]; |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Asynchronously downloads the values from the `tf.Tensor`. Returns a |
no test coverage detected