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.
1283 1284 1285 1286 |
# File 'lib/informers/models.rb', line 1283 def initialize(logits) super() @logits = logits end |
Instance Attribute Details
#logits ⇒ Object (readonly)
Returns the value of attribute logits.
1281 1282 1283 |
# File 'lib/informers/models.rb', line 1281 def logits @logits end |