説明
create_dl_transform_normalizeCreateDlTransformNormalizeCreateDlTransformNormalizecreate_dl_transform_normalizeT_create_dl_transform_normalize — 正規化変換を作成する。
書式
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 )
説明
オペレーター create_dl_transform_normalizeCreateDlTransformNormalize は、
正規化変換を作成し、その変換ハンドルを Normalizenormalizenormalize に返します。
パラメーター TransformNametransformNametransform_name は、変換のための一意かつ空ではない名前を指定します。
create_dl_transform_pipelineCreateDlTransformPipeline を使用して変換パイプラインを作成する場合、パイプライン内の
各変換は一意の名前を持つ必要があることに注意してください。
パラメーター Meanmeanmean および Deviationdeviationdeviation は、以下の式によって各チャンネルを正規化します。
output := (input - Mean) / Deviation.
この変換では、汎用パラメーター GenParamNamegenParamNamegen_param_name および GenParamValuegenParamValuegen_param_value は
サポートされていません。値 [][] のみを設定できます。
以下のパラメーターは、変換タイプ 'normalize'"normalize" に固有のものです。これらはそれぞれ、
オペレーター get_dl_transform_pipeline_paramGetDlTransformPipelineParam および
set_dl_transform_pipeline_paramSetDlTransformPipelineParam を使用して取得または設定できます。
| ParamName |
set |
get |
| 'mean'"mean" |
x |
x |
| 'deviation'"deviation" |
x |
x |
実行情報
実行情報
このオペレータはハンドルを返します。このハンドルタイプのインスタンスの状態は、特定のオペレータにおいては、入力パラメータとして使われている場合であっても変更されることがあります。
パラメーター
TransformNametransformNametransform_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)
出力変換の名前。
初期値: 'normalize'"normalize"
Meanmeanmean (input_control) real-array → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
平均。
初期値: 0.00.0
Deviationdeviationdeviation (input_control) real-array → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
偏差。
初期値: 255.0255.0
GenParamNamegenParamNamegen_param_name (input_control) attribute.name-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)
汎用入力パラメーター名。
初期値: [][]
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)
汎用入力パラメーター値。
初期値: [][]
Normalizenormalizenormalize (output_control) dl_transform → (handle)HTuple (HHandle)HDlTransform, HTuple (IntPtr)HHandleHtuple (handle)
正規化変換。
他のオペレーターとの組み合わせ
組み合わせ
後処理の候補
create_dl_transform_pipelineCreateDlTransformPipeline
モジュール
Foundation