* Returns a `tf.TensorBuffer` that holds the underlying data. * @doc {heading: 'Tensors', subheading: 'Classes'}
()
| 314 | * @doc {heading: 'Tensors', subheading: 'Classes'} |
| 315 | */ |
| 316 | bufferSync<D extends DataType = 'float32'>(): TensorBuffer<R, D> { |
| 317 | return opHandler.buffer(this.shape, this.dtype as D, this.dataSync()); |
| 318 | } |
| 319 | |
| 320 | /** |
| 321 | * Returns the tensor data as a nested array. The transfer of data is done |