Mit dem Guide verknüpftes Quiz · Mittel Ebene

Core ML für On-Device Apple Bereitstellungsquiz

Konvertieren und integrieren Sie ein Modell mit Core ML und berücksichtigen Sie dabei Pakettypen, Bereitstellungsziele, Vorverarbeitung, Hardwareauswahl und Gerätetests.

Frage 1 von 8

What role does Core ML play in an Apple app?

Sehen Sie sich jede Frage in der Vorschau an8 Fragen

Während Sie am Quiz teilnehmen, werden Antworten und Erklärungen angezeigt.

  1. What role does Core ML play in an Apple app?
    • Creating model architectures and optimizing their training loss inside an app
    • Converting supported source models for use by a Core ML app
    • Running trained-model inference through supported Apple software and hardware
    • Transforming source checkpoints into Core ML artifacts without separate conversion tools
  2. What does Core ML Tools commonly do in a conversion workflow?
    • Adjusts a source model's class labels to match the app
    • Converts supported source models into Core ML representations
    • Selects runtime compute units for each prediction
    • Executes the compiled model inside the app
  3. Why set and check a minimum deployment target?
    • It selects a training optimizer for the model
    • Es steuert, in welcher Cloud-Region das Modell gespeichert wird
    • Es wählt zur Laufzeit einen Beschleuniger aus
    • Für Modellformate und APIs gelten Mindestanforderungen an die Betriebssystemverfügbarkeit
  4. Was kann dazu führen, dass die Vorhersagen von Core ML vom ursprünglichen Modell abweichen?
    • Unterschiedliche Vorverarbeitung, z. B. Farbreihenfolge oder Normalisierung
    • Eine umbenannte Modellressource im App-Bundle
    • Eine geänderte Recheneinheitspräferenz
    • Eine andere Quellcode-Build-Nummer
  5. Garantiert eine Einstellung für die Recheneinheit, dass jeder Vorgang auf der Neural Engine ausgeführt wird?
    • Ja, eine Recheneinheitspräferenz garantiert, dass jeder Vorgang die Neural Engine verwendet
    • Ja, die Einstellung wählt für jedes Gerät den schnellsten Beschleuniger
    • Nein; Die Einstellungen der Recheneinheit schränken die zulässigen Ressourcen ein, die Platzierung hängt jedoch von der Geräte- und Betriebsunterstützung ab
    • Nein; Core ML wird unabhängig von der Konfiguration nur auf der CPU ausgeführt
  6. Warum Benchmarking auf physischen Zielgeräten?
    • Simulator timing captures thermal throttling and memory pressure on every target device
    • Latency, memory, and energy depend on actual hardware and OS
    • All Apple device families use an identical execution plan
    • Every physical device uses the same supported model formats regardless of OS version
  7. What should be checked when converting to an ML Program model?
    • That it always uses the legacy single-file model format
    • That conversion changes it into a TensorFlow checkpoint
    • That a converted model requires a network service
    • Its package format and minimum OS availability
  8. Which practice supports a reliable on-device prediction path?
    • Compare app outputs after integrating preprocessing and model loading
    • Assume conversion success proves equivalent predictions
    • Test the artifact only in a simulator
    • Skip input validation because the model declares its shape