Commit Graph

88238 Commits

Author SHA1 Message Date
koray kavukcuoglu
68ab6871eb correction for MACOSX bug mentioned here. https://discussions.apple.com/thread/3413139?start=15&tstart=0 2012-12-09 21:58:51 +00:00
koray kavukcuoglu
60a232cfbf correction for MACOSX bug mentioned here. https://discussions.apple.com/thread/3413139?start=15&tstart=0 2012-12-09 21:58:51 +00:00
Julien
35e31bd331 Compare tables recursively 2012-12-09 18:30:42 +00:00
Julien
956b6643ea Fix comparison of flat tables 2012-12-09 18:27:13 +00:00
Julien
a62907419b Detect and unit-test a bug in AssertTableEq 2012-12-09 17:44:56 +00:00
Julien
ffba0dfbfa Unit test assertTensorEq and assertTensorNe 2012-12-09 17:44:56 +00:00
Julien
d9a46534aa Document the three new asserts(), and add unit test for TestAssertError() 2012-12-07 20:10:29 +00:00
Julien
f361ec16b6 Add three asserts to the Tester class
* assertError() expects an error to occur
* assertTensorNe() expects the content of two tensors to differ
* assertTableNe() expects the content of two tables to differ
2012-12-07 20:09:33 +00:00
Julien
87a5096293 Fix error message for TensorEQ and TableEQ 2012-12-07 20:09:10 +00:00
Julien
8e1e9943a4 Document the extended parameter range for Bernoulli 2012-12-03 14:25:26 +00:00
Julien
6bbcc99187 Allow p=0 and p=1 for Bernoulli distribution 2012-12-03 14:23:12 +00:00
Julien
8939a5744a Allow p=0 and p=1 for Bernoulli distribution 2012-12-03 14:23:12 +00:00
Ivo Danihelka
f49e22cff2 Merge remote-tracking branch 'upstream/master' 2012-11-29 10:34:41 +00:00
Julien
fe763ec715 count and report assertions 2012-11-27 17:41:32 +00:00
Ivo Danihelka
7bd8b98124 Fixed doc typo. 2012-11-19 19:03:15 +00:00
Ivo Danihelka
8ed97e6961 Using a local var. 2012-10-31 12:26:30 +00:00
Clement Farabet
ba02f818b5 Upgraded CUDA code to compute capability 2.0 (48kB of shared mem) 2012-10-27 15:53:50 -04:00
Clement Farabet
526df4b3c0 Merge pull request #71 from akfidjeland/cuda-maths
Added missing form of CudaTensor:add
2012-10-25 10:03:25 -07:00
Ronan Collobert
f78dbc1da5 fix ATLAS detection 2012-10-22 22:28:19 +02:00
Ronan Collobert
6bd1bbb04b fix ATLAS detection 2012-10-22 22:28:19 +02:00
Ronan Collobert
781d35d251 max/min/sort: no need to increment optional IndexTensor 2012-10-22 21:55:57 +02:00
Clement Farabet
db57736639 Merge branch 'cudacopy' 2012-10-20 16:31:14 -04:00
Clement Farabet
cf5a8be51e Cleaning up CUDA code base. Got rid of useless device syncs 2012-10-20 16:12:35 -04:00
Andreas Fidjeland
87ecea3154 Added missing form of CudaTensor:add
This adds the form that performs x:add(y,s,z), which was previously missing.
2012-10-03 14:54:02 +01:00
Clement Farabet
295b3c8da3 Added dok for Easy File functions. 2012-09-29 18:43:16 -04:00
Ronan Collobert
ecaa6d74f8 removed one indirection when performing an arg check in TH 2012-09-28 14:18:43 +02:00
Ronan Collobert
7a6a38ee78 removed one indirection when performing an arg check in TH 2012-09-28 14:18:43 +02:00
Ronan Collobert
f964984b1c THStorage: added implementation for missing functions 2012-09-28 13:54:49 +02:00
Ronan Collobert
027815798c THStorage: added implementation for missing functions 2012-09-28 13:54:49 +02:00
Ronan Collobert
f388816f9a Merge branch 'master' into convburst 2012-09-28 12:06:18 +02:00
koray kavukcuoglu
a9569c6fb1 avoid segfault if required class is not already loaded.
trying to load an object that contains a class that is not loaded yet causes the problem.

require 'nn'
m=nn.Linear(10,20)
torch.save('m.obj',m)
Really quit [y/N]? y

torch.load('m.obj')
2012-09-27 17:16:59 -04:00
Clement Farabet
c7132c0c1f Much faster copy. 2012-09-27 00:20:07 -04:00
Ronan Collobert
c34c2e2de1 fixed some thread safety issues 2012-09-26 19:55:16 +02:00
Ronan Collobert
0d534e64f5 fixed some thread safety issues 2012-09-26 19:55:16 +02:00
JT Bates
84a5bcb17a Allow running subset of tests 2012-09-23 15:16:59 -04:00
Clement Farabet
3dbc05d8ef Added standard Serialization functions (torch.[de]serialize()) 2012-09-22 23:50:37 -04:00
Jeff Rose
f32d123ed2 Fixing incorrect string comment for table assertion. 2012-09-19 16:06:49 +01:00
Jeff Rose
b7280dbd42 Adding assertTableEq function to test table equality.
* also added some minor spacing to help readability.
2012-09-19 15:33:07 +01:00
Ronan Collobert
96b9a35756 fixed bug when calling operators + forgotten support for __call__ in new API 2012-09-13 10:51:13 +02:00
Ronan Collobert
60194d73fc Merge branch 'master' into noid
Conflicts:
	extra/cuda/pkg/cutorch/TensorMath.lua
2012-09-12 16:36:29 +02:00
Clement Farabet
d13d33dd78 Correct untemplated conv code (CUDA) 2012-09-06 11:14:39 -04:00
Clement Farabet
1147218129 Added more cases to the generic stuff. 2012-09-06 11:06:13 -04:00
Clement Farabet
fe8e68c6ed Merge branch 'master' of https://github.com/2ndforks/torch into cudaconv 2012-09-05 15:21:08 -04:00
Clement Farabet
2289863e20 Working randomizer in CUDA. 2012-09-05 14:06:27 -04:00
Clement Farabet
de87f835bb Trying something simpler. 2012-09-05 00:19:47 -04:00
Clement Farabet
a8aef4e9ee removed unnecessary header. 2012-09-04 10:50:46 -04:00
Clement Farabet
6b878d7309 Dynamic linking. 2012-09-04 10:49:46 -04:00
Clement Farabet
f01c2932c7 Commiting a buggy version. 2012-09-03 20:50:23 -04:00
Clement Farabet
2b404d9a39 Random with Cuda. 2012-09-03 20:05:25 -04:00
Clement Farabet
d1e48591d7 Random with Cuda. 2012-09-03 20:05:25 -04:00