multihead_joint_entity_relation_extraction icon indicating copy to clipboard operation
multihead_joint_entity_relation_extraction copied to clipboard

About vector "left" , "right" and function “broadcasting”

Open yxWisdom opened this issue 6 years ago • 3 comments

Hi, I don't quite understand the use of the vector "left" and "right" and the function “broadcasting”, could you explain it more clearly? thanks

yxWisdom avatar Dec 17 '19 12:12 yxWisdom

Hi, I don't quite understand the use of the vector "left" and "right" and the function “broadcasting”, could you explain it more clearly? thanks

Hi yxWisdom, Do you have any idea about that question? Thank you.

sanexodus avatar May 13 '20 14:05 sanexodus

I also want to know that

gao929165733 avatar May 28 '20 06:05 gao929165733

oriLeft and oriRight shape: [B,T,U] left transpose [1,0,2]: [T,B,U];than expand dim 3: [T,B,U,1] right transpose [0,2,1]:[B,U,T];than expand dim 0: [1,B,U,T] B = left + right: [T,B,U,T] B transpose [1,0,3,2] : [B,T,T,U] This means that in each sample, each word belongs to the confidence level of each relationship with other words

disanrenchengcc avatar Apr 22 '21 01:04 disanrenchengcc