引导式测验 · 中等 等级
用于设备端 Apple 部署的 Core ML 测验
转换模型并将其与 Core ML 集成,同时考虑包类型、部署目标、预处理、硬件选择和设备测试。
问题 1 的 8
Core ML 在 Apple 应用程序中扮演什么角色?
预览每个问题8 问题
当您参加测验时,就会出现答案和解释。
- Core ML 在 Apple 应用程序中扮演什么角色?
- 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
- Core ML Tools 在转换工作流程中通常做什么?
- 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
- 为什么要设置并检查最低部署目标?
- It selects a training optimizer for the model
- It controls which cloud region stores the model
- It chooses an accelerator at runtime
- Model formats and APIs have minimum OS availability requirements
- 什么会导致 Core ML 预测与原始模型不同?
- Different preprocessing, such as color order or normalization
- A renamed model resource in the app bundle
- A changed compute-unit preference
- A different source-code build number
- 计算单元设置是否保证每个操作都在神经引擎上运行?
- Yes, a compute-unit preference guarantees each operation uses the Neural Engine
- Yes, the setting chooses the fastest accelerator for every device
- No; compute-unit settings constrain allowed resources, but placement depends on device and operation support
- No; Core ML executes only on CPU regardless of configuration
- Why benchmark on physical target devices?
- 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
- 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
- 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