tensorflow / recommenders-addons

Additional utils and helpers to extend TensorFlow when build recommendation systems, contributed and maintained by SIG Recommenders.
Apache License 2.0
587 stars 132 forks source link

[Fix] Stack overflow in Redis Backend and RestrictPolicy couldn't be saved when using DE embedding layer. #415

Closed MoFHeka closed 3 months ago

MoFHeka commented 3 months ago

Description

Fix tmpDirPath with fixed size may cause stack overflow in Redis backend. The char size of the entered file path may exceed 1024. Fixes #405 Fix restrict_policy wasn't tracked when using Embedding layer. Fixes #385

Type of change

Checklist:

How Has This Been Tested?

When using redis backend, enter a non-existent file path that is longer than 1024.