Class: Informers::TokenClassifierOutput
- Inherits:
-
ModelOutput
- Object
- ModelOutput
- Informers::TokenClassifierOutput
- Defined in:
- lib/informers/models.rb
Instance Attribute Summary collapse
-
#logits ⇒ Object
readonly
Returns the value of attribute logits.
Instance Method Summary collapse
-
#initialize(logits) ⇒ TokenClassifierOutput
constructor
A new instance of TokenClassifierOutput.
Methods inherited from ModelOutput
Constructor Details
#initialize(logits) ⇒ TokenClassifierOutput
Returns a new instance of TokenClassifierOutput.
1469 1470 1471 1472 |
# File 'lib/informers/models.rb', line 1469 def initialize(logits) super() @logits = logits end |
Instance Attribute Details
#logits ⇒ Object (readonly)
Returns the value of attribute logits.
1467 1468 1469 |
# File 'lib/informers/models.rb', line 1467 def logits @logits end |