Class: Informers::DetrSegmentationOutput
- Inherits:
-
ModelOutput
- Object
- ModelOutput
- Informers::DetrSegmentationOutput
- 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.
-
#pred_masks ⇒ Object
readonly
Returns the value of attribute pred_masks.
Instance Method Summary collapse
-
#initialize(logits, pred_boxes, pred_masks) ⇒ DetrSegmentationOutput
constructor
A new instance of DetrSegmentationOutput.
Methods inherited from ModelOutput
Constructor Details
#initialize(logits, pred_boxes, pred_masks) ⇒ DetrSegmentationOutput
Returns a new instance of DetrSegmentationOutput.
1481 1482 1483 1484 1485 1486 |
# File 'lib/informers/models.rb', line 1481 def initialize(logits, pred_boxes, pred_masks) super() @logits = logits @pred_boxes = pred_boxes @pred_masks = pred_masks end |
Instance Attribute Details
#logits ⇒ Object (readonly)
Returns the value of attribute logits.
1479 1480 1481 |
# File 'lib/informers/models.rb', line 1479 def logits @logits end |
#pred_boxes ⇒ Object (readonly)
Returns the value of attribute pred_boxes.
1479 1480 1481 |
# File 'lib/informers/models.rb', line 1479 def pred_boxes @pred_boxes end |
#pred_masks ⇒ Object (readonly)
Returns the value of attribute pred_masks.
1479 1480 1481 |
# File 'lib/informers/models.rb', line 1479 def pred_masks @pred_masks end |