We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017d05e commit 8b071deCopy full SHA for 8b071de
tensorflow_recommenders_addons/dynamic_embedding/python/ops/cuckoo_hashtable_ops.py
@@ -103,9 +103,7 @@ def __init__(
103
self._init_size = init_size
104
self._name = name
105
self._new_obj_trackable = None # for restore op can easily found this table
106
- self._max_capacity = init_size
107
- if self._max_capacity == 0:
108
- self._max_capacity = 1024 * 1024
+ self._max_capacity = sys.maxsize
109
self._max_hbm_for_values = sys.maxsize
110
self._device_type = tf_device.DeviceSpec.from_string(
111
self._device).device_type
0 commit comments