Class: Informers::TokenClassifierOutput

Inherits:
ModelOutput show all
Defined in:
lib/informers/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ModelOutput

#[]

Constructor Details

#initialize(logits) ⇒ TokenClassifierOutput

Returns a new instance of TokenClassifierOutput.



1443
1444
1445
1446
# File 'lib/informers/models.rb', line 1443

def initialize(logits)
  super()
  @logits = logits
end

Instance Attribute Details

#logitsObject (readonly)

Returns the value of attribute logits.



1441
1442
1443
# File 'lib/informers/models.rb', line 1441

def logits
  @logits
end