diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3747398..bdfaea3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/swift/Sources/CoreAIObjectDetector/DetectionOutputs.swift b/swift/Sources/CoreAIObjectDetector/DetectionOutputs.swift index 8f50c074..25f3a314 100644 --- a/swift/Sources/CoreAIObjectDetector/DetectionOutputs.swift +++ b/swift/Sources/CoreAIObjectDetector/DetectionOutputs.swift @@ -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.