Class: AttnResult
- Inherits:
-
Object
- Object
- AttnResult
- Defined in:
- lib/toy/models/transformer.rb
Instance Attribute Summary collapse
-
#cache ⇒ Object
Returns the value of attribute cache.
-
#proj ⇒ Object
Returns the value of attribute proj.
Instance Method Summary collapse
-
#initialize(proj, cache) ⇒ AttnResult
constructor
A new instance of AttnResult.
Constructor Details
#initialize(proj, cache) ⇒ AttnResult
Returns a new instance of AttnResult.
488 |
# File 'lib/toy/models/transformer.rb', line 488 def initialize(proj, cache); @proj = proj; @cache = cache; end |
Instance Attribute Details
#cache ⇒ Object
Returns the value of attribute cache.
487 488 489 |
# File 'lib/toy/models/transformer.rb', line 487 def cache @cache end |
#proj ⇒ Object
Returns the value of attribute proj.
487 488 489 |
# File 'lib/toy/models/transformer.rb', line 487 def proj @proj end |