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
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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
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