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

Can't specify input dimensions with arithmetic #103

Open
yig opened this issue May 24, 2021 · 1 comment
Open

Can't specify input dimensions with arithmetic #103

yig opened this issue May 24, 2021 · 1 comment

Comments

@yig
Copy link
Collaborator

yig commented May 24, 2021

I want to create a block matrix and pass an input to add to it. How can I get around the dimension mismatch compiler error?

given
w ∈ ℝ^(p×k)

x = [ w
      0_1,k ]

x + y

where
y ∈ ℝ^((p+1)×k)

Try it

@pressureless
Copy link
Collaborator

Arithmetic dimensions haven't been supported. I got the parsing error
image

pressureless added a commit that referenced this issue Jun 9, 2021
pressureless added a commit that referenced this issue Jun 9, 2021
pressureless added a commit that referenced this issue Jun 10, 2021
pressureless added a commit that referenced this issue Jun 10, 2021
pressureless added a commit that referenced this issue Jun 10, 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