Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: "6.0"
swift-version: "6.2"
- run: swift-format lint --strict --recursive swift/Sources/ swift/Tests/

python-test:
Expand Down
6 changes: 0 additions & 6 deletions swift/Sources/CoreAIObjectDetector/DetectionOutputs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ struct DetectionOutput: Sendable {
/// Flat bounding-box coordinates, shape `[batch, queryCount, 4]`.
/// Format: `[cx, cy, w, h]` normalized to [0, 1].
let predictedBoxes: [Float]

init(logits: [Float], logitsShape: [Int], predictedBoxes: [Float]) {
self.logits = logits
self.logitsShape = logitsShape
self.predictedBoxes = predictedBoxes
}
}

/// A single detected object: bounding box, class label, and confidence score.
Expand Down
Loading