Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yxWisdom opened this issue Dec 17, 2019 · 3 comments
Open

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

yxWisdom opened this issue Dec 17, 2019 · 3 comments

Comments

@yxWisdom
Copy link

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

@sanexodus
Copy link

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.

@gao929165733
Copy link

I also want to know that

@disanrenchengcc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants