Skip to content

A pretty print library for torch and lua.

Notifications You must be signed in to change notification settings

fidlej/lua-pprint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A pretty print library for torch and lua.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%