diff options
author | Ronan Collobert <ronan@collobert.com> | 2012-01-25 17:55:20 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2012-01-25 17:55:20 +0400 |
commit | 053065ba239e3421d1b2cbec55e3f177a21d6829 (patch) | |
tree | 5e6f8cf06f429ce940541c829dbbd2ca11c55ca7 /utils.h |
initial revamp of torch7 tree
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#ifndef TORCH_UTILS_INC +#define TORCH_UTILS_INC + +#include "luaT.h" +#include "TH.h" + +THLongStorage* torch_checklongargs(lua_State *L, int index); +int torch_islongargs(lua_State *L, int index); + +void torch_setdefaulttensorid(const void* id); +const void* torch_getdefaulttensorid(); + +#endif |