回答編集履歴
1
d
test
CHANGED
@@ -14,13 +14,13 @@
|
|
14
14
|
|
15
15
|
filters = np.random.rand(64, 5, 5, 32)
|
16
16
|
|
17
|
-
print(filters.shape)
|
17
|
+
print(filters.shape) # (64, 5, 5, 32)
|
18
18
|
|
19
19
|
|
20
20
|
|
21
21
|
target = filters[..., ch]
|
22
22
|
|
23
|
-
print(target.shape)
|
23
|
+
print(target.shape) # (64, 5, 5)
|
24
24
|
|
25
25
|
|
26
26
|
|
@@ -32,6 +32,8 @@
|
|
32
32
|
|
33
33
|
ax.imshow(arr, cmap="gray")
|
34
34
|
|
35
|
+
ax.set_axis_off()
|
36
|
+
|
35
37
|
|
36
38
|
|
37
39
|
plt.show()
|