docs.unity3d.com
    Show / Hide Table of Contents

    Enum InferenceDevice

    Where to perform inference.

    Namespace: Unity.MLAgents.Policies
    Syntax
    public enum InferenceDevice

    Fields

    Name Description Value
    Burst

    CPU inference using Burst. Corresponds to WorkerFactory.Type.CSharpBurst in Barracuda.

    CPU

    CPU inference. Corresponds to in WorkerFactory.Type.CSharp Barracuda. Burst is recommended instead; this is kept for legacy compatibility.

    Default

    Default inference. This is currently the same as Burst, but may change in the future.

    GPU

    GPU inference. Corresponds to WorkerFactory.Type.ComputePrecompiled in Barracuda.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023