Closed
Description
Add the function hash_table(keys: Tensor, values: Tensor) -> Tensor
to the functional module and the class HashTable
to the structures module.
- F.hash_table(keys, values)
- S.HashTable(dim)
- S.HashTable().from_tensors(keys, values)
- HashTable[key] -> value
- HashTable[key] = value -> value
- HashTable.get(key) -> value
- HashTable.add(key, value)
- HashTable.set(key, value)
- HashTable.remove(key)
- del HashTable[key]
Metadata
Metadata
Assignees
Labels
No labels