A pretty print library for torch and lua.
Lua
Switch branches/tags
Nothing to show
Latest commit d741368 Aug 2, 2013 @rosejn Merge pull request #3 from jucor/printer
Add compatibility with print()-style syntax
Permalink
Failed to load latest commit information.
pprint
.gitignore
CMakeLists.txt
README.md

README.md

Pretty Printing for Torch and Lua.

pprint(foo) will print a human readable printout of Lua tables.

  • keys are printed alphabetically
  • nested tables are indented
  • loops are detected
  • metatable info is printed
  • torch tensors are printed if less than 20 elements, otherwise just the dimensions.