Class: Transformers::DebertaV2::DropoutContext
- Inherits:
-
Object
- Object
- Transformers::DebertaV2::DropoutContext
- Defined in:
- lib/transformers/models/deberta_v2/modeling_deberta_v2.rb
Instance Method Summary collapse
-
#initialize ⇒ DropoutContext
constructor
A new instance of DropoutContext.
Constructor Details
#initialize ⇒ DropoutContext
Returns a new instance of DropoutContext.
57 58 59 60 61 62 |
# File 'lib/transformers/models/deberta_v2/modeling_deberta_v2.rb', line 57 def initialize @dropout = 0 @mask = nil @scale = 1 @reuse_mask = true end |