Guest User

Untitled

a guest
Mar 17th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. using Flux: onehotbatch
  2.  
  3. x_vec = [float.(reshape(x_train[:, :, :, i], :)) for i in 1:1000];
  4. X = hcat(x_vec...);
  5. Y = onehotbatch(y_train_fine[1:1000], 0:99);
Add Comment
Please, Sign In to add comment