Moony Chou

Results 2 issues of Moony Chou

If `d_model` integer parameter is odd rather than even, then tensor size is not matching (by a difference of 1) on the left and right sides of the assignment: ```python...

Original implementation only supports `long` as edge weights. This PR allows customized edge weight types while keeps default edge weight type as long/Int64.

optimization
data structure request