You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/01/23 11:02:01 UTC

[GitHub] toufikoss opened a new issue #13970: AttributeError: 'list' object has no attribute 'reshape'

toufikoss opened a new issue #13970: AttributeError: 'list' object has no attribute 'reshape'
URL: https://github.com/apache/incubator-mxnet/issues/13970
 
 
   i have a error in this line of my code python:
   AttributeError: 'list' object has no attribute 'reshape' 
   
   the code is 
   def feedforward(x, W1, W2, b1, b2):
    z1=np.dot(W1, x.reshape(4,1))+b1   
    a1=relu(z1)
    z2=np.dot(W2, a1)+b2
    a2=sigmoid(z2)
    return z1, z2, a1, a2

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services