create_dl_transform_normalizeT_create_dl_transform_normalizeCreateDlTransformNormalizeCreateDlTransformNormalizecreate_dl_transform_normalize (Operator)
Name
create_dl_transform_normalizeT_create_dl_transform_normalizeCreateDlTransformNormalizeCreateDlTransformNormalizecreate_dl_transform_normalize — Create a normalize transform.
Signature
void CreateDlTransformNormalize(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)
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)
static void HOperatorSet.CreateDlTransformNormalize(HTuple transformName, HTuple mean, HTuple deviation, HTuple genParamName, HTuple genParamValue, out HTuple normalize)
public HDlTransform(string transformName, HTuple mean, HTuple deviation, HTuple genParamName, HTuple genParamValue)
void HDlTransform.CreateDlTransformNormalize(string transformName, HTuple mean, HTuple deviation, HTuple genParamName, HTuple genParamValue)
Description
The operator create_dl_transform_normalizecreate_dl_transform_normalizeCreateDlTransformNormalizeCreateDlTransformNormalizecreate_dl_transform_normalize creates a normalization
transform and returns the transform handle in NormalizeNormalizeNormalizenormalizenormalize.
The parameter TransformNameTransformNameTransformNametransformNametransform_name specifies a unique, non-empty name
for the transform. Note that when creating a transform pipeline using
create_dl_transform_pipelinecreate_dl_transform_pipelineCreateDlTransformPipelineCreateDlTransformPipelinecreate_dl_transform_pipeline, each transform within the pipeline
must have a unique name.
The parameters MeanMeanMeanmeanmean and DeviationDeviationDeviationdeviationdeviation will normalize each
channel by
output := (input - MeanMeanMeanmeanmean) / DeviationDeviationDeviationdeviationdeviation.
No generic parameters GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name and GenParamValueGenParamValueGenParamValuegenParamValuegen_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""normalize""normalize""normalize". They can respectively be get or set using the
operators get_dl_transform_pipeline_paramget_dl_transform_pipeline_paramGetDlTransformPipelineParamGetDlTransformPipelineParamget_dl_transform_pipeline_param and
set_dl_transform_pipeline_paramset_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_param:
|
ParamName |
set |
get
|
|
'mean'"mean""mean""mean""mean" |
x |
x
|
|
'deviation'"deviation""deviation""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
TransformNameTransformNameTransformNametransformNametransform_name (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the output transform.
Default:
'normalize'
"normalize"
"normalize"
"normalize"
"normalize"
MeanMeanMeanmeanmean (input_control) real-array → HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Mean.
Default:
0.0
DeviationDeviationDeviationdeviationdeviation (input_control) real-array → HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Deviation.
Default:
255.0
GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control) attribute.name-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Generic input parameter names.
Default:
[]
GenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (input_control) attribute.value-array → HTupleSequence[Union[str, float, int]]HTupleHtuple (string / real / integer) (string / double / int / long) (HString / double / Hlong) (char* / double / Hlong)
Generic input parameter values.
Default:
[]
NormalizeNormalizeNormalizenormalizenormalize (output_control) dl_transform → HDlTransform, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Normalize transform.
Possible Successors
create_dl_transform_pipelinecreate_dl_transform_pipelineCreateDlTransformPipelineCreateDlTransformPipelinecreate_dl_transform_pipeline
Module
Foundation