From c95be758308462371d004e771f22b6e877f28d89 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Sun, 28 Oct 2018 20:40:59 +0800 Subject: [PATCH] Detail the hash algorithms test=develop --- python/paddle/fluid/layers/nn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 3aaea684c1a..00c5481e651 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -7501,8 +7501,8 @@ def hash(input, hash_size, num_hash=1, name=None): """ Hash the input to an integer whose value is less than the given hash size. - The hash algorithm was implemented in here: - https://github.com/Cyan4973/xxHash/tree/v0.6.5 + The hash algorithm we used was xxHash - Extremely fast hash algorithm + (https://github.com/Cyan4973/xxHash/tree/v0.6.5) A simple example as below: -- GitLab