TensorFlowのサイトにあるDeep MNIST for Expertsをやっているのですが、
わからないことがあり、質問させていただきます。
First Convolutional Layerで、フィルターの変数を[5, 5, 1, 32]の行列で指定していますが、4つ目の数が32である理由がよくわかっていません。
1:フィルターの縦ピクセル数
2:フィルターの横ピクセル数
3:チャネル数(今回は白黒なので1、カラー(rgb)なら3)
4:不明
よろしくお願いいたします。
◯Deep MNIST for Experts | TensorFlow
https://www.tensorflow.org/get_started/mnist/pros
== 引用開始 ==
First Convolutional Layer
We can now implement our first layer. It will consist of convolution, followed by max pooling. The convolution will compute 32 features for each 5x5 patch. Its weight tensor will have a shape of [5, 5, 1, 32]. The first two dimensions are the patch size, the next is the number of input channels, and the last is the number of output channels. We will also have a bias vector with a component for each output channel.
W_conv1 = weight_variable([5, 5, 1, 32])
b_conv1 = bias_variable([32])
== 引用終了 ==
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/09/17 15:22
退会済みユーザー
2017/09/17 17:08