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.
1471 1472 1473 1474 1475 |
# File 'lib/informers/models.rb', line 1471 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.
1469 1470 1471 |
# File 'lib/informers/models.rb', line 1469 def logits @logits end |
#pred_boxes ⇒ Object (readonly)
Returns the value of attribute pred_boxes.
1469 1470 1471 |
# File 'lib/informers/models.rb', line 1469 def pred_boxes @pred_boxes end |