sync with fractallayer

max_pool fix, linkstruct adapt, vissamerank sync