  
  from .utils import *
  
  __version__ = '0.8.8'
 
</s> remove             sgd(params, lr, 1)
            l_sum += l.asscalar()
 </s> add             gb.sgd(params, lr, 1)
            l_sum += l.asscalar() * y.size
            n += y.size </s> remove             l_sum += l.asscalar()
 </s> add             l_sum += l.asscalar() * y.size
            n += y.size </s> remove     for epoch in range(1, num_epochs + 1):
        train_l_sum = 0
        train_acc_sum = 0
        start = time.time()
 </s> add     for epoch in range(num_epochs):
        train_l_sum, train_acc_sum, n, start = 0.0, 0.0, 0, time.time() </s> remove         data_iter_fn = data_iter_random
 </s> add         data_iter_fn = gb.data_iter_random </s> remove                 l = loss(y_hat, y)
 </s> add                 l = loss(y_hat, y).sum()
__version__ = '0.8.9'
  
  from .utils import *
  
__version__ = '0.8.9'
keep keep keep replace
 gb 0.8.9, fix acc, loss computations 
gluonbook/__init__.py