class SHAInet::DropoutLayer
- SHAInet::DropoutLayer
- Reference
- Object
Defined in:
shainet/cnn/drop_out_layer.crConstant Summary
-
Log =
::Log.for(self)
Constructors
-
.new(prev_layer : CNNLayer | ConvLayer, drop_percent : Int32 = 5)
Drop percent is an Integer, i.e 5 is 5%
Instance Method Summary
-
#activate
Randomly select and deactivate a percentage of the neurons from the previous layer
- #drop_percent : Int32
-
#error_prop(batch : Bool = false)
Send the gradients from current layer backwards without weights
- #filters : Array(Filter)
- #inspect(what : String)
- #prev_layer : CNNLayer | ConvLayer
- #update_wb(learn_type : Symbol | String, batch : Bool = false)
Constructor Detail
Drop percent is an Integer, i.e 5 is 5%
Instance Method Detail
def error_prop(batch : Bool = false)
#
Send the gradients from current layer backwards without weights