Commits

Kashif Rasul committed b37add0

get example working

  • Participants
  • Parent commits 2bd7a51

Comments (0)

Files changed (1)

examples/nn_cudamat.py

 import time
 import numpy as np
 import cudamat as cm
-from cudamat import learn as cl
+import learn as cl
 import util
 
 # initialize CUDA
 dev_test = cm.CUDAMatrix(dat_test)
 dev_lbl = cm.CUDAMatrix(lbl_test)
 
-# Initalize temporary storage.
+# Initialize temporary storage.
 h = cm.empty((num_hid, dat_test.shape[1]))
 out = cm.empty((dim_out, dat_test.shape[1]))