addHashTable(name, hashTable) {
        this.hashTableNameToHandle[name] = hashTable.handle;
        this.hashTableMap[hashTable.id] = hashTable;
    }
Register a `HashTable` in the resource manager.

The `HashTable` can be retrieved by `resourceManager.getHashTableById`,
where id is the table handle tensor's id.

@param name Op node name that creates the `HashTable`.
@param hashTable The `HashTable` to be added to resource manager.