Short description
create_dl_transform_normalizeCreateDlTransformNormalizeCreateDlTransformNormalizecreate_dl_transform_normalizeT_create_dl_transform_normalize — Create a normalize transform.
Signature
create_dl_transform_normalize( string TransformName, real Mean, real Deviation, attribute.name GenParamName, attribute.value GenParamValue, out dl_transform Normalize )void CreateDlTransformNormalize( const HTuple& TransformName, const HTuple& Mean, const HTuple& Deviation, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* Normalize )static void HOperatorSet.CreateDlTransformNormalize( HTuple transformName, HTuple mean, HTuple deviation, HTuple genParamName, HTuple genParamValue, out HTuple normalize )def create_dl_transform_normalize( transform_name: str, mean: Sequence[Union[float, int]], deviation: Sequence[Union[float, int]], gen_param_name: Sequence[str], gen_param_value: Sequence[Union[str, float, int]] ) -> HHandle
Herror T_create_dl_transform_normalize( const Htuple TransformName, const Htuple Mean, const Htuple Deviation, const Htuple GenParamName, const Htuple GenParamValue, Htuple* Normalize )
void HDlTransform::HDlTransform( const HString& TransformName, const HTuple& Mean, const HTuple& Deviation, const HTuple& GenParamName, const HTuple& GenParamValue )
void HDlTransform::HDlTransform( const char* TransformName, const HTuple& Mean, const HTuple& Deviation, const HTuple& GenParamName, const HTuple& GenParamValue )
void HDlTransform::HDlTransform( const wchar_t* TransformName, const HTuple& Mean, const HTuple& Deviation, const HTuple& GenParamName, const HTuple& GenParamValue ) (Windows only)
public HDlTransform( string transformName, HTuple mean, HTuple deviation, HTuple genParamName, HTuple genParamValue )
void HDlTransform::CreateDlTransformNormalize( const HString& TransformName, const HTuple& Mean, const HTuple& Deviation, const HTuple& GenParamName, const HTuple& GenParamValue )
void HDlTransform::CreateDlTransformNormalize( const char* TransformName, const HTuple& Mean, const HTuple& Deviation, const HTuple& GenParamName, const HTuple& GenParamValue )
void HDlTransform::CreateDlTransformNormalize( const wchar_t* TransformName, const HTuple& Mean, const HTuple& Deviation, const HTuple& GenParamName, const HTuple& GenParamValue ) (Windows only)
void HDlTransform.CreateDlTransformNormalize( string transformName, HTuple mean, HTuple deviation, HTuple genParamName, HTuple genParamValue )
Description
The operator create_dl_transform_normalizeCreateDlTransformNormalize creates a normalization
transform and returns the transform handle in Normalizenormalizenormalize.
The parameter TransformNametransformNametransform_name specifies a unique, non-empty name
for the transform. Note that when creating a transform pipeline using
create_dl_transform_pipelineCreateDlTransformPipeline, each transform within the pipeline
must have a unique name.
The parameters Meanmeanmean and Deviationdeviationdeviation will normalize each
channel by
output := (input - Mean) / Deviation.
No generic parameters GenParamNamegenParamNamegen_param_name and GenParamValuegenParamValuegen_param_value are
supported for this transform. Only the value [][] can be set.
The following parameters are specific to the transforms of type
'normalize'"normalize". They can respectively be get or set using the
operators get_dl_transform_pipeline_paramGetDlTransformPipelineParam and
set_dl_transform_pipeline_paramSetDlTransformPipelineParam:
| ParamName |
set |
get |
| 'mean'"mean" |
x |
x |
| 'deviation'"deviation" |
x |
x |
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Automatically parallelized on internal data level.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Parameters
TransformNametransformNametransform_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)
Name of the output transform.
Default: 'normalize'"normalize"
Meanmeanmean (input_control) real-array → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Mean.
Default: 0.00.0
Deviationdeviationdeviation (input_control) real-array → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Deviation.
Default: 255.0255.0
GenParamNamegenParamNamegen_param_name (input_control) attribute.name-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)
Generic input parameter names.
Default: [][]
GenParamValuegenParamValuegen_param_value (input_control) attribute.value-array → (string / real / integer)HTuple (HString / double / Hlong)HTuple (string / double / int / long)Sequence[Union[str, float, int]]Htuple (char* / double / Hlong)
Generic input parameter values.
Default: [][]
Normalizenormalizenormalize (output_control) dl_transform → (handle)HTuple (HHandle)HDlTransform, HTuple (IntPtr)HHandleHtuple (handle)
Normalize transform.
Combinations with other operators
Combinations
Possible successors
create_dl_transform_pipelineCreateDlTransformPipeline
Module
Foundation