Skip to content

NameError: name 'np' is not defined #1

@RoroKA

Description

@RoroKA

Thanks for effort in this code and sharing this with us
When I tried to use it, I get this error message at backward function
NameError Traceback (most recent call last)
in ()
2
3 N, D, H = 4, 5, 6
----> 4 x = np.random.randn(N, D)
5 h = np.random.randn(N, H)
6 Wx = np.random.randn(D, H)

NameError: name 'np' is not defined

Can you please help me?
What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions