January 2020
Intermediate to advanced
432 pages
10h 18m
English
In order to train a network or computational graph, we need to first feed it the input data, determine what the graph thinks is the answer, and then correct it iteratively using backpropagation. Let's go back to the Chapter_6_1.py code example, and follow the next exercise to learn how training works:
for t in range(500): h = x.mm(layer1) h_relu = h.clamp(min=0) y_pred = h_relu.mm(layer2)
Read now
Unlock full access