• Adrià Arrufat's avatar
    Add visitor to remove bias from bn_ layer inputs (#closes 2155) (#2156) · e7ec6b77
    Adrià Arrufat authored
    * add visitor to remove bias from bn_ inputs (#closes 2155)
    
    * remove unused parameter and make documentation more clear
    
    * remove bias from bn_ layers too and use better name
    
    * let the batch norm keep their bias, use even better name
    
    * be more consistent with impl naming
    
    * remove default constructor
    
    * do not use method to prevent some errors
    
    * add disable bias method to pertinent layers
    
    * update dcgan example
    
    - grammar
    - print number of network parameters to be able to check bias is not allocated
    - at the end, give feedback to the user about what the discriminator thinks about each generated sample
    
    * fix fc_ logic
    
    * add documentation
    
    * add bias_is_disabled methods and update to_xml
    
    * print use_bias=false when bias is disabled
    e7ec6b77
dnn_dcgan_train_ex.cpp 11 KB