Skip to content

create_dl_layer_depth_maxCreateDlLayerDepthMaxCreateDlLayerDepthMaxcreate_dl_layer_depth_maxT_create_dl_layer_depth_max🔗

説明🔗

create_dl_layer_depth_maxCreateDlLayerDepthMaxCreateDlLayerDepthMaxcreate_dl_layer_depth_maxT_create_dl_layer_depth_max — 深度最大層を作成する。

書式🔗

create_dl_layer_depth_max( dl_layer DLLayerInput, string LayerName, string DepthMaxMode, attribute.name GenParamName, attribute.value GenParamValue, out dl_layer DLLayerDepthMaxArg, out dl_layer DLLayerDepthMaxValue )void CreateDlLayerDepthMax( const HTuple& DLLayerInput, const HTuple& LayerName, const HTuple& DepthMaxMode, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* DLLayerDepthMaxArg, HTuple* DLLayerDepthMaxValue )static void HOperatorSet.CreateDlLayerDepthMax( HTuple DLLayerInput, HTuple layerName, HTuple depthMaxMode, HTuple genParamName, HTuple genParamValue, out HTuple DLLayerDepthMaxArg, out HTuple DLLayerDepthMaxValue )def create_dl_layer_depth_max( dllayer_input: HHandle, layer_name: str, depth_max_mode: str, gen_param_name: MaybeSequence[str], gen_param_value: MaybeSequence[Union[int, float, str]] ) -> Tuple[Sequence[HHandle], Sequence[HHandle]]

def create_dl_layer_depth_max_s( dllayer_input: HHandle, layer_name: str, depth_max_mode: str, gen_param_name: MaybeSequence[str], gen_param_value: MaybeSequence[Union[int, float, str]] ) -> Tuple[HHandle, HHandle]Herror T_create_dl_layer_depth_max( const Htuple DLLayerInput, const Htuple LayerName, const Htuple DepthMaxMode, const Htuple GenParamName, const Htuple GenParamValue, Htuple* DLLayerDepthMaxArg, Htuple* DLLayerDepthMaxValue )

HDlLayerArray HDlLayer::CreateDlLayerDepthMax( const HString& LayerName, const HString& DepthMaxMode, const HTuple& GenParamName, const HTuple& GenParamValue, HDlLayerArray* DLLayerDepthMaxValue ) const

HDlLayer HDlLayer::CreateDlLayerDepthMax( const HString& LayerName, const HString& DepthMaxMode, const HString& GenParamName, const HString& GenParamValue, HDlLayer* DLLayerDepthMaxValue ) const

HDlLayer HDlLayer::CreateDlLayerDepthMax( const char* LayerName, const char* DepthMaxMode, const char* GenParamName, const char* GenParamValue, HDlLayer* DLLayerDepthMaxValue ) const

HDlLayer HDlLayer::CreateDlLayerDepthMax( const wchar_t* LayerName, const wchar_t* DepthMaxMode, const wchar_t* GenParamName, const wchar_t* GenParamValue, HDlLayer* DLLayerDepthMaxValue ) const (Windows only)

HDlLayer[] HDlLayer.CreateDlLayerDepthMax( string layerName, string depthMaxMode, HTuple genParamName, HTuple genParamValue, out HDlLayer[] DLLayerDepthMaxValue )

HDlLayer HDlLayer.CreateDlLayerDepthMax( string layerName, string depthMaxMode, string genParamName, string genParamValue, out HDlLayer DLLayerDepthMaxValue )

説明🔗

オペレーター create_dl_layer_depth_maxCreateDlLayerDepthMax は深度最大層を作成します。

パラメーター DLLayerInputDLLayerInputdllayer_input は、入力とする層を決定し、層ハンドルを値として期待します。

DepthMaxModedepthMaxModedepth_max_modeに依存する2つの出力可能な層:

これらのパラメーターは、そのような出力層が要求された場合にのみ設定する必要があることに注意してください (DepthMaxModedepthMaxModedepth_max_modeを参照)。

パラメーターLayerNamelayerNamelayer_nameは、DepthMaxModedepthMaxModedepth_max_modeに応じて出力層の名前を定義します:

create_dl_modelCreateDlModel を使ってモデルを生成する場合、生成されたネットワークの それぞれの層が特有の名前を持たなければならないことに注意してください。

モードDepthMaxModedepthMaxModedepth_max_modeは、どの深度最大値が実際に出力として返されるかを示します。 次の値がサポートされています。:

以下の一般パラメータGenParamNamegenParamNamegen_param_nameとそれに対応する値GenParamValuegenParamValuegen_param_valueがサポートされます。

  • 'is_inference_output'"is_inference_output": apply_dl_modelApplyDlModel が Outputsoutputsoutputs としてこの層を指定していなくても、 ディクショナリ DLResultBatchDLResultBatchdlresult_batch にこの層の出力を含めるか ('true'"true")、 含めないか ('false'"false") を設定します。

    初期値: 'false'"false"

このオペレーターcreate_dl_layer_depth_maxCreateDlLayerDepthMaxを使って作成された層の特定のパラメーターは、 他のオペレーターによって値を設定及び取得することができます。 次の表は、どのパラメーターがset_dl_model_layer_paramSetDlModelLayerParamを使用して設定でき、 どのパラメーターがget_dl_model_layer_paramGetDlModelLayerParamまたはget_dl_layer_paramGetDlLayerParamを使用して取得することができるか、 概要を示しています。 オペレーターset_dl_model_layer_paramSetDlModelLayerParam及び get_dl_model_layer_paramGetDlModelLayerParamは、 create_dl_modelCreateDlModelによって作成されたモデルを必要としますのでご注意ください。

層パラメーター set get
'input_layer'"input_layer" (DLLayerInputDLLayerInputdllayer_input) x
'mode'"mode" (DepthMaxModedepthMaxModedepth_max_mode) x x
'name'"name" (LayerNamelayerNamelayer_name) x x
'output_layer'"output_layer" (DLLayerDepthMaxArgDLLayerDepthMaxArgdllayer_depth_max_arg and/or DLLayerDepthMaxValueDLLayerDepthMaxValuedllayer_depth_max_value) x
'shape'"shape" x
'type'"type" x
汎用層パラメーター set get
'is_inference_output'"is_inference_output" x
'num_trainable_params'"num_trainable_params" x

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

DLLayerInputDLLayerInputdllayer_input (input_control) dl_layer → (handle)HTuple (HHandle)HDlLayer, HTuple (IntPtr)HHandleHtuple (handle)

入力として与えられる層

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

出力層の名前

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

戻り値の型を示すモード

初期値: 'argmax'"argmax"
値のリスト: 'argmax', 'argmax_and_value', 'value'"argmax", "argmax_and_value", "value"

GenParamNamegenParamNamegen_param_name (input_control) attribute.name(-array) → (string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)

汎用入力パラメーターの名前

初期値: [][]
値のリスト: 'is_inference_output'"is_inference_output"

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

汎用入力パラメーターの値

初期値: [][]
推奨値: 'true', 'false'"true", "false"

DLLayerDepthMaxArgDLLayerDepthMaxArgdllayer_depth_max_arg (output_control) dl_layer(-array) → (handle)HTuple (HHandle)HDlLayer, HTuple (IntPtr)Sequence[HHandle]Htuple (handle)

オプション, 'argmax'"argmax"モードの深度最大層

DLLayerDepthMaxValueDLLayerDepthMaxValuedllayer_depth_max_value (output_control) dl_layer(-array) → (handle)HTuple (HHandle)HDlLayer, HTuple (IntPtr)Sequence[HHandle]Htuple (handle)

オプション, 'value'"value"モードの深度最大層

モジュール🔗

Deep Learning Professional