

def print_perf(epoch, W):
    test_perf = frac_err(train_perf, test_images, test_labels)
    train_perf = frac_err(W, train_images, train_labels)
    print('{0:15}|{1:15}|{2:15}'.format(epoch, train_perf, test_perf))

dataset/ETHPy150Open HIPS/autograd/examples/neural_net.py print_perf/VarMisuse@16/24 `W`->`train_perf`