Trans2D icon indicating copy to clipboard operation
Trans2D copied to clipboard

Results 1 Trans2D issues
Sort by recently updated
recently updated
newest added

in your paper ,here should be scaled dot product while element-wise multiplication in your code ``` full_attn = (query_layer.unsqueeze(-1).unsqueeze(-1) * key_layer.unsqueeze(2).unsqueeze(2).transpose(4, 6)).sum(4) time_attn = (query_layer.unsqueeze(3) * key_layer.unsqueeze(2)).sum([4, 5]).unsqueeze(-2).unsqueeze(-2) feature_attn =...