Skip to content

set_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_paramT_set_dl_transform_pipeline_param🔗

Short description🔗

set_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_paramT_set_dl_transform_pipeline_param — Set parameter values for a given transform in the transform pipeline, or for the transform pipeline itself.

Signature🔗

set_dl_transform_pipeline_param( dl_transform_pipeline TransformPipeline, string TransformName, string ParamName, attribute.value ParamValue )void SetDlTransformPipelineParam( const HTuple& TransformPipeline, const HTuple& TransformName, const HTuple& ParamName, const HTuple& ParamValue )static void HOperatorSet.SetDlTransformPipelineParam( HTuple transformPipeline, HTuple transformName, HTuple paramName, HTuple paramValue )def set_dl_transform_pipeline_param( transform_pipeline: HHandle, transform_name: str, param_name: str, param_value: MaybeSequence[Union[int, float, str]] ) -> None

Herror T_set_dl_transform_pipeline_param( 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 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_paramSetDlTransformPipelineParam sets the value ParamValueparamValueparam_value of the parameter ParamNameparamNameparam_name for the transform TransformNametransformNametransform_name in the transform pipeline TransformPipelinetransformPipelinetransform_pipeline.

The operator can also be used to set parameters of the transform pipeline TransformPipelinetransformPipelinetransform_pipeline itself, if TransformNametransformNametransform_name is set to ''"".

The transform names can be retrieved using get_dl_transform_pipeline_paramGetDlTransformPipelineParam with the parameter 'transform_names'"transform_names".

Which parameters are gettable and settable is described in the operator reference of get_dl_transform_pipeline_paramGetDlTransformPipelineParam.

Execution information🔗

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🔗

TransformPipelinetransformPipelinetransform_pipeline (input_control) dl_transform_pipeline → (handle)HTuple (HHandle)HDlTransformPipeline, HTuple (IntPtr)HHandleHtuple (handle)

Transform pipeline handle

TransformNametransformNametransform_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Name of the target transform.

Default: ''""

ParamNameparamNameparam_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Name of the parameter to set.

Default: 'fill_value'"fill_value"
List of values: 'alignment', 'bbox_min_side_length', 'class_ids_no_orientation', 'clip_size', 'direction', 'fill_value', 'height', 'ignore_direction', 'image_dimensions', 'instance_min_visibility', 'interpolation', 'method', 'name', 'probability', 'range_h', 'range_perspective', 'range_rot', 'range_s', 'range_scale', 'range_shear', 'range_strength', 'range_trans', 'range_v', 'width', 'zoom_type'"alignment", "bbox_min_side_length", "class_ids_no_orientation", "clip_size", "direction", "fill_value", "height", "ignore_direction", "image_dimensions", "instance_min_visibility", "interpolation", "method", "name", "probability", "range_h", "range_perspective", "range_rot", "range_s", "range_scale", "range_shear", "range_strength", "range_trans", "range_v", "width", "zoom_type"

ParamValueparamValueparam_value (input_control) attribute.value(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)MaybeSequence[Union[int, float, str]]Htuple (Hlong / double / char*)

Value of the parameter.

Default: [][]
List of values: [512, 512, 3], 0.0, 0.5, 1.0, 'fill', 'resize'[512, 512, 3], 0.0, 0.5, 1.0, "fill", "resize"

Combinations with other operators🔗

Combinations

Possible predecessors

create_dl_transform_pipelineCreateDlTransformPipeline

See also

get_dl_transform_pipeline_paramGetDlTransformPipelineParam, transform_dl_sample_batchTransformDlSampleBatch

Module🔗

Foundation