Class: Informers::QuestionAnsweringModelOutput
- Inherits:
-
ModelOutput
- Object
- ModelOutput
- Informers::QuestionAnsweringModelOutput
- Defined in:
- lib/informers/models.rb
Instance Attribute Summary collapse
-
#end_logits ⇒ Object
readonly
Returns the value of attribute end_logits.
-
#start_logits ⇒ Object
readonly
Returns the value of attribute start_logits.
Instance Method Summary collapse
-
#initialize(start_logits, end_logits) ⇒ QuestionAnsweringModelOutput
constructor
A new instance of QuestionAnsweringModelOutput.
Methods inherited from ModelOutput
Constructor Details
#initialize(start_logits, end_logits) ⇒ QuestionAnsweringModelOutput
Returns a new instance of QuestionAnsweringModelOutput.
1544 1545 1546 1547 1548 |
# File 'lib/informers/models.rb', line 1544 def initialize(start_logits, end_logits) super() @start_logits = start_logits @end_logits = end_logits end |
Instance Attribute Details
#end_logits ⇒ Object (readonly)
Returns the value of attribute end_logits.
1542 1543 1544 |
# File 'lib/informers/models.rb', line 1542 def end_logits @end_logits end |
#start_logits ⇒ Object (readonly)
Returns the value of attribute start_logits.
1542 1543 1544 |
# File 'lib/informers/models.rb', line 1542 def start_logits @start_logits end |