回答編集履歴

1

d

2020/07/14 01:39

投稿

tiitoi
tiitoi

スコア21956

test CHANGED
@@ -18,9 +18,9 @@
18
18
 
19
19
 
20
20
 
21
- a = a.repeat((10, 1))
21
+ a = a.repeat((256, 1))
22
22
 
23
- print(a.shape) # torch.Size([10, 10])
23
+ print(a.shape) # torch.Size([256, 10])
24
24
 
25
25
  print(a)
26
26
 
@@ -38,9 +38,7 @@
38
38
 
39
39
  [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
40
40
 
41
- [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
41
+ ...
42
-
43
- [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
44
42
 
45
43
  [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
46
44