set_dl_device_paramT_set_dl_device_paramSetDlDeviceParamSetDlDeviceParamset_dl_device_param (Operator)

Name

set_dl_device_paramT_set_dl_device_paramSetDlDeviceParamSetDlDeviceParamset_dl_device_param — Set the parameters of a deep-learning-capable hardware device.

Signature

set_dl_device_param( : : DLDeviceHandle, GenParamName, GenParamValue : )

Herror T_set_dl_device_param(const Htuple DLDeviceHandle, const Htuple GenParamName, const Htuple GenParamValue)

void SetDlDeviceParam(const HTuple& DLDeviceHandle, const HTuple& GenParamName, const HTuple& GenParamValue)

void HDlDevice::SetDlDeviceParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

void HDlDevice::SetDlDeviceParam(const HString& GenParamName, const HString& GenParamValue) const

void HDlDevice::SetDlDeviceParam(const char* GenParamName, const char* GenParamValue) const

void HDlDevice::SetDlDeviceParam(const wchar_t* GenParamName, const wchar_t* GenParamValue) const   (Windows only)

static void HOperatorSet.SetDlDeviceParam(HTuple DLDeviceHandle, HTuple genParamName, HTuple genParamValue)

void HDlDevice.SetDlDeviceParam(HTuple genParamName, HTuple genParamValue)

void HDlDevice.SetDlDeviceParam(string genParamName, string genParamValue)

def set_dl_device_param(dldevice_handle: HHandle, gen_param_name: MaybeSequence[str], gen_param_value: HTupleType) -> None

Description

set_dl_device_paramset_dl_device_paramSetDlDeviceParamSetDlDeviceParamSetDlDeviceParamset_dl_device_param sets the parameter values GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value for GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name for the deep-learning-capable hardware device (hereafter referred to as device) DLDeviceHandleDLDeviceHandleDLDeviceHandleDLDeviceHandleDLDeviceHandledldevice_handle. See query_available_dl_devicesquery_available_dl_devicesQueryAvailableDlDevicesQueryAvailableDlDevicesQueryAvailableDlDevicesquery_available_dl_devices for details about deep-learning-capable hardware devices.

Execution Information

Parameters

DLDeviceHandleDLDeviceHandleDLDeviceHandleDLDeviceHandleDLDeviceHandledldevice_handle (input_control)  dl_device HDlDevice, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the deep-learning-capable hardware device.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  attribute.name(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Name of the generic parameter.

Default value: []

List of values: 'settable_device_params'"settable_device_params""settable_device_params""settable_device_params""settable_device_params""settable_device_params"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (input_control)  attribute.name(-array) HTupleHTupleTypeHTupleHtuple (string / real / integer / handle) (string / double / int / long / HHandle) (HString / double / Hlong / HHandle) (char* / double / Hlong / handle)

Value of the generic parameter.

Result

If the parameters are valid, the operator set_dl_device_paramset_dl_device_paramSetDlDeviceParamSetDlDeviceParamSetDlDeviceParamset_dl_device_param returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

query_available_dl_devicesquery_available_dl_devicesQueryAvailableDlDevicesQueryAvailableDlDevicesQueryAvailableDlDevicesquery_available_dl_devices

Possible Successors

set_dl_model_paramset_dl_model_paramSetDlModelParamSetDlModelParamSetDlModelParamset_dl_model_param

See also

get_dl_device_paramget_dl_device_paramGetDlDeviceParamGetDlDeviceParamGetDlDeviceParamget_dl_device_param

Module

Foundation