Class: RubyZero::NN::Layers::ReLU
- Defined in:
- lib/rubyzero/nn/layers/relu.rb
Overview
ReLU Layer
Instance Method Summary collapse
- #forward(x) ⇒ Object
-
#initialize ⇒ ReLU
constructor
A new instance of ReLU.
Methods inherited from Model
#__get_str__, #call, #eval, #inspect, load, #parameters, #save, #train
Constructor Details
#initialize ⇒ ReLU
Returns a new instance of ReLU.
4 5 |
# File 'lib/rubyzero/nn/layers/relu.rb', line 4 def initialize() end |