diff options
author | Soumith Chintala <soumith@gmail.com> | 2015-09-11 07:07:43 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2015-09-11 07:07:43 +0300 |
commit | 141452088b70d7e3cd18bbc0bb800ccdd72464a7 (patch) | |
tree | c51421c109753d95b5375da526267423a52e1e96 /docs | |
parent | 29ad8e312555f7a6da5f98370c50f800b9ed5c19 (diff) |
some dev docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/02-developer-docs.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/02-developer-docs.md b/docs/02-developer-docs.md index 8ef7315..c925aae 100644 --- a/docs/02-developer-docs.md +++ b/docs/02-developer-docs.md @@ -194,12 +194,14 @@ long THRealTensor_add(const THRealTensor *r_, THRealTensor *t, real value) ``` Real and real are defined to be of a specific type, for example, for float precision: + ```C #define Real Float #define real float ``` finally makes that function prototype: + ```C long THFloatTensor_add(const THFloatTensor *r_, THFloatTensor *t, float value) ``` |