Deep Learning, Framework, Neural Networks, Heartbeat, Machine Learning.
running example. Here I train a 2-layer ReLU network on random data with L2 loss on TensorFlow. There are 2 main components of this code: defining computational graph and running this graph many times. While defining the graph, I create placeholders for input x, weights w1 and w2, and targets y.