Commit Graph

70 Commits

Author SHA1 Message Date
68396f5972 fix bug for windows 2018-05-04 11:39:52 +10:00
46c516fc10 fix typo 2018-03-08 00:22:06 +11:00
968b6e2d0b Merge pull request #18 from okdolly/patch-2
x = torch.linspace(-5,5,200), size [200]
2018-02-26 11:22:03 +08:00
647a51551d Merge pull request #17 from okdolly/patch-1
torch.dot does not broadcast
2018-02-26 09:39:11 +08:00
9beffbc7eb x = torch.linspace(-5,5,200), size [200]
y=torch.linspace(x1,x2) returns a one-dimensional tensor of size 100 equally spaced points between x1 and x2.

y=torch.linspace(x1,x2,n) returns a one-dimensional tensor of n equally spaced points between x1 and x2.
2018-02-17 22:52:07 -08:00
b048c4dd84 torch.dot does not broadcast
torch.dot() can only work for 1 dimension tensor.

http://pytorch.org/docs/master/torch.html
https://github.com/pytorch/pytorch/issues/2313
2018-02-17 22:09:20 -08:00
0b09c05dc8 a3c 2018-01-18 22:29:43 +11:00
ebf9bfd250 update for torch 0.3 2018-01-04 16:56:37 +11:00
f65e27f71e update for torch 0.3 2018-01-02 15:05:18 +11:00
5df56c99dd remove random seed 2017-12-15 14:21:23 +11:00
dcbd424b2a Merge pull request #12 from YJH-666/master
mnist dataset download setting
2017-11-22 11:24:02 +11:00
895ad9a26c mnist dataset download setting 2017-11-22 08:13:22 +08:00
2ae0c0fa6a fix typo 2017-11-08 22:45:10 +08:00
9318a69f08 fix action shape problem 2017-10-30 09:58:09 +11:00
a7b14b8091 fix action shape 2017-10-27 09:06:10 +11:00
ce4a8286fd update for torch 0.2 2017-09-05 12:57:40 +10:00
3b23f6bced update for torch 0.2 2017-09-05 12:57:25 +10:00
f31c88b81e update 2017-08-28 19:52:18 +10:00
e7599c0f14 update 2017-08-09 01:51:16 +10:00
1b5fa9f7aa update 2017-06-27 17:00:01 +10:00
76c82cf670 update 2017-06-23 10:58:37 +10:00
2f33447f6a update 2017-06-23 10:57:01 +10:00
bbeab365b8 update 2017-06-23 10:56:29 +10:00
ae4938efd7 update 2017-06-23 10:50:50 +10:00
6f2bede9e9 Merge pull request #6 from liufuyang/master
Add notebooks
2017-06-23 10:41:05 +10:00
cdd6704b86 Add notebooks 2017-06-22 23:05:34 +02:00
1adcbb999f Merge pull request #5 from liufuyang/fix-up-401
Fix up test code
2017-06-21 18:12:34 +10:00
528d7ccd41 Fix up test code 2017-06-19 21:49:39 +02:00
51f1c938f3 update 2017-06-18 00:18:42 +10:00
dcc4e7cb84 update 2017-06-17 23:50:57 +10:00
3fc6f4e4a0 update 2017-06-11 15:49:22 +10:00
d6f7fbf4cf update 2017-06-10 15:03:16 +10:00
cc831bf4ef update 2017-05-29 16:04:38 +10:00
b2922fd3f3 update 2017-05-24 13:30:46 +10:00
ca6e7431e9 Merge pull request #4 from howtocodewang/patch-1
Update 502_GPU.py
2017-05-24 12:46:00 +10:00
9fb0f5b6c6 Update 502_GPU.py
There are several little mistakes in this file which will make you fail to debug successfully.
2017-05-24 08:59:21 +08:00
d87529ed89 update 2017-05-23 10:37:51 +10:00
30c0070497 update 2017-05-13 18:37:25 +10:00
e95d798e68 update 2017-05-11 16:58:23 +10:00
3e3b0e9d10 update 2017-05-11 16:53:32 +10:00
09ba66ff32 update 2017-05-11 16:01:21 +10:00
b2f0994193 update 2017-05-11 16:00:36 +10:00
452fbcded2 update 2017-05-11 13:58:45 +10:00
ad20f45e1d update 2017-05-11 13:57:57 +10:00
9b785498e5 update 2017-05-11 13:57:38 +10:00
53b13ff245 update 2017-05-11 13:56:13 +10:00
2523e0c1b1 update 2017-05-11 12:06:47 +10:00
29da380ec2 update 2017-05-11 11:47:28 +10:00
8b3004daba update 2017-05-11 11:34:54 +10:00
7da8376922 update 2017-05-10 23:13:05 +10:00