Class: Chainer::Training::ExtensionEntry
- Inherits:
-
Object
- Object
- Chainer::Training::ExtensionEntry
- Defined in:
- lib/chainer/training/trainer.rb
Instance Attribute Summary collapse
-
#extension ⇒ Object
Returns the value of attribute extension.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#trigger ⇒ Object
Returns the value of attribute trigger.
Instance Method Summary collapse
-
#initialize(extension, priority, trigger) ⇒ ExtensionEntry
constructor
A new instance of ExtensionEntry.
Constructor Details
#initialize(extension, priority, trigger) ⇒ ExtensionEntry
Returns a new instance of ExtensionEntry.
6 7 8 9 10 |
# File 'lib/chainer/training/trainer.rb', line 6 def initialize(extension, priority, trigger) @extension = extension @trigger = trigger @priority = priority end |
Instance Attribute Details
#extension ⇒ Object
Returns the value of attribute extension.
4 5 6 |
# File 'lib/chainer/training/trainer.rb', line 4 def extension @extension end |
#priority ⇒ Object
Returns the value of attribute priority.
4 5 6 |
# File 'lib/chainer/training/trainer.rb', line 4 def priority @priority end |
#trigger ⇒ Object
Returns the value of attribute trigger.
4 5 6 |
# File 'lib/chainer/training/trainer.rb', line 4 def trigger @trigger end |