tristandeleu / ntm-one-shot

One-shot Learning with Memory-Augmented Neural Networks
MIT License
421 stars 94 forks source link

why shared_one_hot initialize [... ,0] to be 1? #21

Open JobQiu opened 5 years ago

JobQiu commented 5 years ago

line 25 in this file : https://github.com/tristandeleu/ntm-one-shot/blob/master/mann/utils/init.py

is there some special reason to initialize read weights like this?