Class: Torch::NN::SelfOrganizedMap::Descent::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/torch/som/descent/base.rb

Direct Known Subclasses

Monotonic

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#iterationsObject (readonly)

Returns the value of attribute iterations.



8
9
10
# File 'lib/torch/som/descent/base.rb', line 8

def iterations
  @iterations
end

Instance Method Details

#call(step_number = nil) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/torch/som/descent/base.rb', line 10

def call(step_number = nil)
  raise NotImplementedError
end