Skip to content

Instantly share code, notes, and snippets.

@killeent
Created December 22, 2016 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save killeent/d06f4916e6dcd574f7e5cf34ca5431ac to your computer and use it in GitHub Desktop.
Save killeent/d06f4916e6dcd574f7e5cf34ca5431ac to your computer and use it in GitHub Desktop.
Old:
----------------------------------------------------------------
Soumith's Benchmarks (The times are the sum of 100 trials)
----------------------------------------------------------------
CatArray for 32 1x600 Tensors along dim=1 took 0.024901628494263 seconds
CatArray for 128 1x32 tensors along dim=1 took 0.089506387710571 seconds
CatArray for 128 1x1024 tensors along dim=1 took 0.10325860977173 seconds
New:
----------------------------------------------------------------
Soumith's Benchmarks (The times are the sum of 100 trials)
----------------------------------------------------------------
CatArray for 32 1x600 Tensors along dim=1 took 0.0057194232940674 seconds
CatArray for 128 1x32 tensors along dim=1 took 0.0061161518096924 seconds
CatArray for 128 1x1024 tensors along dim=1 took 0.018810749053955 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment