Class: Informers::MaskedLMOutput

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) ⇒ MaskedLMOutput

Returns a new instance of MaskedLMOutput.



1452
1453
1454
1455
# File 'lib/informers/models.rb', line 1452

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

Instance Attribute Details

#logitsObject (readonly)

Returns the value of attribute logits.



1450
1451
1452
# File 'lib/informers/models.rb', line 1450

def logits
  @logits
end