title: 'numpy.ndarray' object has no attribute 'as_matrix'
body: <p>I am getting error while compile this code. Please help</p>
  
  <pre><code>train_images = train_images.as_matrix()
  train_labels = train_labels.as_matrix()
  
  test_images = test_images.as_matrix()
  test_labels = test_labels.as_matrix()
  </code></pre>