|
|
|
|
|
|
public enum InferenceDevice |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// CPU inference. Corresponds to in WorkerFactory.Type.CSharp Barracuda.
|
|
|
|
/// Burst is recommended instead; this is kept for legacy compatibility.
|
|
|
|
/// Default inference. This is currently the same as Burst, but may change in the future.
|
|
|
|
CPU = 0, |
|
|
|
Default = 0, |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// GPU inference. Corresponds to WorkerFactory.Type.ComputePrecompiled in Barracuda.
|
|
|
|
|
|
|
/// CPU inference using Burst. Corresponds to WorkerFactory.Type.CSharpBurst in Barracuda.
|
|
|
|
/// </summary>
|
|
|
|
Burst = 2, |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// CPU inference. Corresponds to in WorkerFactory.Type.CSharp Barracuda.
|
|
|
|
/// Burst is recommended instead; this is kept for legacy compatibility.
|
|
|
|
/// </summary>
|
|
|
|
CPU = 3, |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|