Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

code error

i am trying to run a code ( by Maziar Raissi. it has some error (ValueError: Shape must be rank 2 but is rank 1 for 'MatMul_53' (op: 'MatMul') with input shapes: [100], [100,100,1].) 

3 Replies
Community Manager
Message 2 of 4

Re: code error

Hi @ehtisham409,


This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.


As you’ll notice, your topic is now here in the Programming Help and Discussion. No action is needed on your part; you can continue the conversation as normal here.




Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Commander Lvl 2
Message 3 of 4

Re: code error

People would be more likely to help you if you provide:

1. a link to the program

2. more information about the error, such as the line / stack trace where the error occurs

3. more information about how to run the program (i.e. the command line to execute with the parameters which are giving you the error).


Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!

Copilot Lvl 2
Message 4 of 4

Re: code error



i am unable run these pair of codes may be due to python version incompatability. you can copy the code to your jupyter notebook from these links