set_dl_transform_pipeline_paramT_set_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_param (Operator)
Name
set_dl_transform_pipeline_paramT_set_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_param — Set parameter values for a given transform in the transform pipeline,
or for the transform pipeline itself.
Signature
void SetDlTransformPipelineParam(const HTuple& TransformPipeline, const HTuple& TransformName, const HTuple& ParamName, const HTuple& ParamValue)
static void HDlTransform::SetDlTransformPipelineParam(const HDlTransformPipeline& TransformPipeline, const HString& TransformName, const HString& ParamName, const HTuple& ParamValue)
static void HDlTransform::SetDlTransformPipelineParam(const HDlTransformPipeline& TransformPipeline, const HString& TransformName, const HString& ParamName, Hlong ParamValue)
static void HDlTransform::SetDlTransformPipelineParam(const HDlTransformPipeline& TransformPipeline, const char* TransformName, const char* ParamName, Hlong ParamValue)
static void HDlTransform::SetDlTransformPipelineParam(const HDlTransformPipeline& TransformPipeline, const wchar_t* TransformName, const wchar_t* ParamName, Hlong ParamValue)
(
Windows only)
void HDlTransformPipeline::SetDlTransformPipelineParam(const HString& TransformName, const HString& ParamName, const HTuple& ParamValue) const
void HDlTransformPipeline::SetDlTransformPipelineParam(const HString& TransformName, const HString& ParamName, Hlong ParamValue) const
void HDlTransformPipeline::SetDlTransformPipelineParam(const char* TransformName, const char* ParamName, Hlong ParamValue) const
void HDlTransformPipeline::SetDlTransformPipelineParam(const wchar_t* TransformName, const wchar_t* ParamName, Hlong ParamValue) const
(
Windows only)
static void HOperatorSet.SetDlTransformPipelineParam(HTuple transformPipeline, HTuple transformName, HTuple paramName, HTuple paramValue)
static void HDlTransform.SetDlTransformPipelineParam(HDlTransformPipeline transformPipeline, string transformName, string paramName, HTuple paramValue)
static void HDlTransform.SetDlTransformPipelineParam(HDlTransformPipeline transformPipeline, string transformName, string paramName, int paramValue)
void HDlTransformPipeline.SetDlTransformPipelineParam(string transformName, string paramName, HTuple paramValue)
void HDlTransformPipeline.SetDlTransformPipelineParam(string transformName, string paramName, int paramValue)
Description
The operator set_dl_transform_pipeline_paramset_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_param sets the value
ParamValueParamValueParamValueparamValueparam_value of the parameter ParamNameParamNameParamNameparamNameparam_name for the transform
TransformNameTransformNameTransformNametransformNametransform_name in the transform pipeline TransformPipelineTransformPipelineTransformPipelinetransformPipelinetransform_pipeline.
The operator can also be used to set parameters of the transform pipeline
TransformPipelineTransformPipelineTransformPipelinetransformPipelinetransform_pipeline itself, if TransformNameTransformNameTransformNametransformNametransform_name is set to
''"""""""".
The transform names can be retrieved using
get_dl_transform_pipeline_paramget_dl_transform_pipeline_paramGetDlTransformPipelineParamGetDlTransformPipelineParamget_dl_transform_pipeline_param with the parameter
'transform_names'"transform_names""transform_names""transform_names""transform_names".
Which parameters are gettable and settable is described in the operator
reference of get_dl_transform_pipeline_paramget_dl_transform_pipeline_paramGetDlTransformPipelineParamGetDlTransformPipelineParamget_dl_transform_pipeline_param.
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
TransformPipelineTransformPipelineTransformPipelinetransformPipelinetransform_pipeline (input_control) dl_transform_pipeline → HDlTransformPipeline, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Transform pipeline handle
TransformNameTransformNameTransformNametransformNametransform_name (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the target transform.
Default:
''
""
""
""
""
ParamNameParamNameParamNameparamNameparam_name (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the parameter to set.
Default:
'fill_value'
"fill_value"
"fill_value"
"fill_value"
"fill_value"
List of values:
'alignment'"alignment""alignment""alignment""alignment", 'bbox_min_side_length'"bbox_min_side_length""bbox_min_side_length""bbox_min_side_length""bbox_min_side_length", 'class_ids_no_orientation'"class_ids_no_orientation""class_ids_no_orientation""class_ids_no_orientation""class_ids_no_orientation", 'clip_size'"clip_size""clip_size""clip_size""clip_size", 'direction'"direction""direction""direction""direction", 'fill_value'"fill_value""fill_value""fill_value""fill_value", 'height'"height""height""height""height", 'ignore_direction'"ignore_direction""ignore_direction""ignore_direction""ignore_direction", 'image_dimensions'"image_dimensions""image_dimensions""image_dimensions""image_dimensions", 'instance_min_visibility'"instance_min_visibility""instance_min_visibility""instance_min_visibility""instance_min_visibility", 'interpolation'"interpolation""interpolation""interpolation""interpolation", 'method'"method""method""method""method", 'name'"name""name""name""name", 'probability'"probability""probability""probability""probability", 'range_h'"range_h""range_h""range_h""range_h", 'range_perspective'"range_perspective""range_perspective""range_perspective""range_perspective", 'range_rot'"range_rot""range_rot""range_rot""range_rot", 'range_s'"range_s""range_s""range_s""range_s", 'range_scale'"range_scale""range_scale""range_scale""range_scale", 'range_shear'"range_shear""range_shear""range_shear""range_shear", 'range_strength'"range_strength""range_strength""range_strength""range_strength", 'range_trans'"range_trans""range_trans""range_trans""range_trans", 'range_v'"range_v""range_v""range_v""range_v", 'width'"width""width""width""width", 'zoom_type'"zoom_type""zoom_type""zoom_type""zoom_type"
ParamValueParamValueParamValueparamValueparam_value (input_control) attribute.value(-array) → HTupleMaybeSequence[Union[int, float, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Value of the parameter.
Default:
[]
List of values:
[512,512,3], 0.0, 0.5, 1.0, 'fill'"fill""fill""fill""fill", 'resize'"resize""resize""resize""resize"
Possible Predecessors
create_dl_transform_pipelinecreate_dl_transform_pipelineCreateDlTransformPipelineCreateDlTransformPipelinecreate_dl_transform_pipeline
See also
get_dl_transform_pipeline_paramget_dl_transform_pipeline_paramGetDlTransformPipelineParamGetDlTransformPipelineParamget_dl_transform_pipeline_param,
transform_dl_sample_batchtransform_dl_sample_batchTransformDlSampleBatchTransformDlSampleBatchtransform_dl_sample_batch
Module
Foundation