I've been going through the docs recently and in many different functions like tf.layers.dense or the tf.nn.conv2d, I came across with the arguments units and filters respectively and I can't understand the point of them. Can someone clearly describe the meaning of
dimensionality of the output space
in the above cases or maybe more general terms? Thanks in advance.
from my opinion:
units
in tf.layers.dense
:
input
and output
.dimensionality of the output space
could be translated to the number of ouput nodes.filters
in tf.nn.conv2d
:
like the state in api doc :
filter: A Tensor. Must have the same type as input. A 4-D tensor of shape [filter_height, filter_width, in_channels, out_channels]
maybe the confused point is out_channels
for
out_channels
, I try to understand it as how many filters we want to scan the input tensors.
out_channels
is regarded as the number of kernel.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With