* The number of items in the hash table as a rank-0 tensor.
()
| 65 | * The number of items in the hash table as a rank-0 tensor. |
| 66 | */ |
| 67 | tensorSize(): Tensor { |
| 68 | return tfOps.scalar(this.size(), 'int32'); |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Replaces the contents of the table with the specified keys and values. |