tf.contrib.layers.maxout
Adds a maxout op from https://arxiv.org/abs/1302.4389
tf.contrib.layers.maxout(
inputs, num_units, axis=-1, scope=None
)
"Maxout Networks" Ian J. Goodfellow, David Warde-Farley, Mehdi Mirza, Aaron
Courville,
Yoshua Bengio
Usually the operation is performed in the filter/channel dimension. This can
also be
used after fully-connected layers to reduce number of features.
Arguments |
inputs
|
Tensor input
|
num_units
|
Specifies how many features will remain after maxout in the
axis dimension (usually channel). This must be a factor of number of
features.
|
axis
|
The dimension where max pooling will be performed. Default is the last
dimension.
|
scope
|
Optional scope for variable_scope.
|
Returns |
A Tensor representing the results of the pooling operation.
|
Raises |
ValueError
|
if num_units is not multiple of number of features.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]