Class: Informers::DetrObjectDetectionOutput
- Inherits:
-
ModelOutput
- Object
- ModelOutput
- Informers::DetrObjectDetectionOutput
- Defined in:
- lib/informers/models.rb
Instance Attribute Summary collapse
-
#logits ⇒ Object
readonly
Returns the value of attribute logits.
-
#pred_boxes ⇒ Object
readonly
Returns the value of attribute pred_boxes.
Instance Method Summary collapse
-
#initialize(logits, pred_boxes) ⇒ DetrObjectDetectionOutput
constructor
A new instance of DetrObjectDetectionOutput.
Methods inherited from ModelOutput
Constructor Details
#initialize(logits, pred_boxes) ⇒ DetrObjectDetectionOutput
Returns a new instance of DetrObjectDetectionOutput.
1554 1555 1556 1557 1558 |
# File 'lib/informers/models.rb', line 1554 def initialize(logits, pred_boxes) super() @logits = logits @pred_boxes = pred_boxes end |
Instance Attribute Details
#logits ⇒ Object (readonly)
Returns the value of attribute logits.
1552 1553 1554 |
# File 'lib/informers/models.rb', line 1552 def logits @logits end |
#pred_boxes ⇒ Object (readonly)
Returns the value of attribute pred_boxes.
1552 1553 1554 |
# File 'lib/informers/models.rb', line 1552 def pred_boxes @pred_boxes end |