model.rp_layer module
RosenPy: An Open Source Python Framework for Complex-Valued Neural Networks. Copyright © A. A. Cruz, K. S. Mayer, D. S. Arantes.
License
This file is part of RosenPy. RosenPy is an open source framework distributed under the terms of the GNU General Public License, as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For additional information on license terms, please open the Readme.md file.
RosenPy is distributed in the hope that it will be useful to every user, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with RosenPy. If not, see <http://www.gnu.org/licenses/>.
- class model.rp_layer.Layer(ishape, neurons, oshape=0, weights_initializer=<function random_normal>, bias_initializer=<function random_normal>, gamma_initializer=<function rbf_default>, sigma_initializer=<function ones>, activation=<function tanh>, reg_strength=0.0, lambda_init=0.1, weights_rate=0.001, biases_rate=0.001, gamma_rate=0.0, sigma_rate=0.0, cvnn=1, lr_decay_method=<function none_decay>, lr_decay_rate=0.0, lr_decay_steps=1, kernel_initializer=<function opt_ptrbf_weights>, kernel_size=3, module=None, category=1, layer_type='Fully')[source]
Bases:
objectSpecification for a layer to be passed to the Neural Network during construction. This includes a variety of parameters to configure each layer based on its activation type.