mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-03 19:34:33 +08:00
[GraphBolt] Update CPUCachedFeature docstring. (#7646)
This commit is contained in:
committed by
GitHub
parent
c5cace79e9
commit
683a25a8ec
@@ -25,7 +25,10 @@ class CPUCachedFeature(Feature):
|
||||
fallback_feature : Feature
|
||||
The fallback feature.
|
||||
max_cache_size_in_bytes : int
|
||||
The capacity of the cache in bytes.
|
||||
The capacity of the cache in bytes. The size should be a few factors
|
||||
larger than the size of each read request. Otherwise, the caching policy
|
||||
will hang due to all cache entries being read and/or write locked,
|
||||
resulting in a deadlock.
|
||||
policy : str
|
||||
The cache eviction policy algorithm name. See gb.impl.CPUFeatureCache
|
||||
for the list of available policies.
|
||||
|
||||
Reference in New Issue
Block a user