Skip to content

Instantly share code, notes, and snippets.

@George3d6
Last active August 14, 2018 17:31
Show Gist options
  • Save George3d6/4ee645f6ed14414024f31363495ab7fb to your computer and use it in GitHub Desktop.
Save George3d6/4ee645f6ed14414024f31363495ab7fb to your computer and use it in GitHub Desktop.
using Knet, Plots;
gr()
global atype = gpu()>=0 ? KnetArray{Float32} : Array{Float32}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment