Class: GRX::NN::Tanh
Instance Method Summary collapse
Methods inherited from Module
#call, #load_weights, #parameters, #save_weights, #zero_grad
Instance Method Details
#forward(x) ⇒ Object
160 |
# File 'lib/grx/nn.rb', line 160 def forward(x) = x.tanh |
#to_s ⇒ Object
161 |
# File 'lib/grx/nn.rb', line 161 def to_s = "Tanh()" |