Update attr encoder
Merge branch 'master' of https://github.com/CICM/HoaLibrary