Class: GRX::NN::Softmax

Inherits:
Module
  • Object
show all
Defined in:
lib/grx/nn.rb

Instance Method Summary collapse

Methods inherited from Module

#call, #parameters, #zero_grad

Instance Method Details

#forward(x) ⇒ Object



162
# File 'lib/grx/nn.rb', line 162

def forward(x) = x.softmax

#to_sObject



163
# File 'lib/grx/nn.rb', line 163

def to_s = "Softmax()"