Class: GRX::NN::Softmax

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

Instance Method Summary collapse

Methods inherited from Module

#call, #load_weights, #parameters, #save_weights, #zero_grad

Instance Method Details

#forward(x) ⇒ Object



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

def forward(x) = x.softmax

#to_sObject



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

def to_s = "Softmax()"