You are here: Start » FILDL.DL_CleanDevice Method

FILDL.DL_CleanDevice Method

Namespace:FilNet.DeepLearning
Assembly:FilDl.Net.dll

Syntax

public static void DL_CleanDevice
(
	FilNet.DeviceKind? inDeviceType,
	int inDeviceIndex
)

Parameters

Name Type Range Default Description
inDeviceTypeFilNet.DeviceKind?
inDeviceIndexint

Description

This filter frees memory allocated for executing models on specific device. It will not free memory allocated for models (mostly weights). Use this filter only if there is a risk of out-of-memory errors. Please note that calls to subsequent Deep Learning filter may execute much longer than usual.

Function Overrides

See also