This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
# N is batch size; D_in is input dimension; | |
# H is hidden dimension; D_out is output dimension. | |
m, D_in, H, D_out, learning_rate = 64, 1000, 100, 10, 0.1 | |
# Create random input and output data | |
x = np.random.randn(m, D_in) | |
y = np.random.randn(m, D_out) |