* Get a snapshot of the Variable's value. * * The returned value is a snapshot of the Variable's value at the time of * the invocation. Future mutations in the value of the tensor will only * be reflected by future calls to this method.
()
| 81 | * be reflected by future calls to this method. |
| 82 | */ |
| 83 | read(): Tensor { |
| 84 | this.assertNotDisposed(); |
| 85 | return this.val; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Update the value of the Variable. |
no test coverage detected