回答編集履歴
1
d
test
CHANGED
@@ -18,9 +18,9 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
a = a.repeat((
|
21
|
+
a = a.repeat((256, 1))
|
22
22
|
|
23
|
-
print(a.shape) # torch.Size([
|
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
|
-
|
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
|
|