LTW.YoloDotNet.CoreML.Execution.Provider 1.1.1-aotfix.1

This is a prerelease version of LTW.YoloDotNet.CoreML.Execution.Provider.
dotnet add package LTW.YoloDotNet.CoreML.Execution.Provider --version 1.1.1-aotfix.1
                    
NuGet\Install-Package LTW.YoloDotNet.CoreML.Execution.Provider -Version 1.1.1-aotfix.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LTW.YoloDotNet.CoreML.Execution.Provider" Version="1.1.1-aotfix.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LTW.YoloDotNet.CoreML.Execution.Provider" Version="1.1.1-aotfix.1" />
                    
Directory.Packages.props
<PackageReference Include="LTW.YoloDotNet.CoreML.Execution.Provider" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LTW.YoloDotNet.CoreML.Execution.Provider --version 1.1.1-aotfix.1
                    
#r "nuget: LTW.YoloDotNet.CoreML.Execution.Provider, 1.1.1-aotfix.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LTW.YoloDotNet.CoreML.Execution.Provider@1.1.1-aotfix.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LTW.YoloDotNet.CoreML.Execution.Provider&version=1.1.1-aotfix.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=LTW.YoloDotNet.CoreML.Execution.Provider&version=1.1.1-aotfix.1&prerelease
                    
Install as a Cake Tool

信息

YoloDotNet 使用模块化执行器在不同硬件后端上运行推理。 每个执行器都针对特定平台或加速器,并且可能需要额外的系统级依赖(如运行时、驱动或 SDK)。

仅安装 NuGet 包并不总是足够——正确配置取决于所选执行器和目标系统。
本文档说明 CoreML 执行器 的安装与使用。

核心库要求

所有执行器都依赖核心 YoloDotNet 包。

NuGet 包

dotnet add package YoloDotNet

执行器 - CoreML

CoreML 执行器通过 Apple 的 Core ML 框架,在 Apple 设备上启用硬件加速推理。
它会根据设备能力自动利用 Apple Silicon 的 Neural Engine、GPU 或 CPU 等计算单元。

⚠️ 注意
CoreML 仅在 Apple 平台可用,且要求 macOS 10.15 或更高版本。

环境要求

  • macOS 10.15 或更高版本

安装

无需额外安装或配置。
CoreML 随 macOS 提供,并会在受支持设备的运行时自动可用。

YoloDotNet.ExecutionProvider.CoreML v1.1 需要 YoloDotNet 4.1 版本。

NuGet 包

dotnet add package YoloDotNet.ExecutionProvider.CoreML

使用示例:

using YoloDotNet;
using YoloDotNet.ExecutionProvider.CoreML;

using var yolo = new Yolo(new YoloOptions
{
    ExecutionProvider = new CoreMLExecutionProvider(
        model: "path/to/model.onnx",

        // 自动选择最佳可用 CoreML 计算单元
        //(Neural Engine、GPU 或 CPU)
        adaptive: true
    ),

    // ...其他选项
});
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1-aotfix.1 40 5/6/2026