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
158 |
# File 'lib/grx/nn.rb', line 158 def forward(x) = x.tanh |
#to_s ⇒ Object
159 |
# File 'lib/grx/nn.rb', line 159 def to_s = "Tanh()" |