Class WorkerFactory
Provides methods for instantiating workers and ops on given back ends.
Inherited Members
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
public class WorkerFactory
Methods
Name | Description |
---|---|
CreateOps(BackendType, ITensorAllocator) | Initializes and returns an instance of |
CreateWorker(BackendType, Model, bool) | Initializes and returns an instance of |
CreateWorker(BackendType, Model, WorkerConfiguration) | Initializes and returns an instance of |
CreateWorker(Model, DeviceType, bool) | Initializes and returns an instance of |
GetBestTypeForDevice(DeviceType) | Returns the best backend type for the given |
IsType(BackendType, DeviceType) | Checks if a backend type matches a device type. For example, |