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

Random Block Algorithm seems like not definitely true #7

Closed
ducviet00 opened this issue Feb 9, 2021 · 1 comment
Closed

Random Block Algorithm seems like not definitely true #7

ducviet00 opened this issue Feb 9, 2021 · 1 comment

Comments

@ducviet00
Copy link

size = self.rank * (m.shape[0] + m.shape[1])

what does it mean ? I think with rank > 1, it always be the number of tensor elements.

@tvogels
Copy link
Member

tvogels commented Feb 9, 2021

Hey! This should be different from the number of tensor elements (note the +)

Say 'm' is a matrix of shape (100, 50), then size = (100 * rank) + (rank * 50), for the size of the two components that together make up a low-rank approximation of m.

Hope this clarifies it. Let me know if you have more questions!

@tvogels tvogels closed this as completed Feb 9, 2021
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

2 participants