Class: Chainer::Training::Updater
- Inherits:
-
Object
- Object
- Chainer::Training::Updater
- Defined in:
- lib/chainer/training/updater.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#bind ⇒ Object
this method uses in ERB example: ERB.new(“<%= self %>”).result(updater.bind).
- #connect_trainer(trainer) ⇒ Object
- #finalize ⇒ Object
- #get_all_optimizers ⇒ Object
- #get_optimizer(name) ⇒ Object
- #serialize(serializer) ⇒ Object
- #update ⇒ Object
Instance Method Details
#bind ⇒ Object
this method uses in ERB example: ERB.new(“<%= self %>”).result(updater.bind)
28 29 30 |
# File 'lib/chainer/training/updater.rb', line 28 def bind binding end |
#connect_trainer(trainer) ⇒ Object
4 5 |
# File 'lib/chainer/training/updater.rb', line 4 def connect_trainer(trainer) end |
#finalize ⇒ Object
7 8 |
# File 'lib/chainer/training/updater.rb', line 7 def finalize end |
#get_all_optimizers ⇒ Object
14 15 16 |
# File 'lib/chainer/training/updater.rb', line 14 def get_all_optimizers raise NotImplementedError end |
#get_optimizer(name) ⇒ Object
10 11 12 |
# File 'lib/chainer/training/updater.rb', line 10 def get_optimizer(name) raise NotImplementedError end |
#serialize(serializer) ⇒ Object
22 23 24 |
# File 'lib/chainer/training/updater.rb', line 22 def serialize(serializer) raise NotImplementedError end |
#update ⇒ Object
18 19 20 |
# File 'lib/chainer/training/updater.rb', line 18 def update raise NotImplementedError end |