質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,6 +13,9 @@
|
|
13
13
|
print(セッション.run(h_conv))
|
14
14
|
```
|
15
15
|
|
16
|
+
conv2dでは4次元配列を渡す必要があるようなので、tf.reshapeを使って4次元に変換しています
|
17
|
+
|
18
|
+
|
16
19
|
エラー内容
|
17
20
|
```
|
18
21
|
ValueError: Dimensions must be equal, but are 1 and 3 for 'Conv2D' (op: 'Conv2D') with input shapes: [1,4,4,1], [1,3,3,1].
|