Mat1 and mat2 shapes cannot be multiplied

Ah oki on doing that i am getting iteration over a 0-d tensorerror