You are here: Start » DLInvoke.DL_CleanDevice
Frees memory allocated for executing a models on a specific device.
Namespace: | Fil |
---|---|
Assembly: | FilNet.DL.Cpu.dll |
Syntax
C++
C#
public static void DL_CleanDevice ( Optional<Fil.DeviceKind> inDeviceType, int inDeviceIndex )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inDeviceType | Ftl.Optional<Fil.DeviceKind> | A type of a device selected for the cleanup. If not set, device depending on version (CPU/GPU) of installed Deep Learning add-on is selected. Default value: ftl::NIL. | ||
![]() | inDeviceIndex | int | An index of a device selected for the cleanup. Default value: 0. |