create_dl_layer_depth_max T_create_dl_layer_depth_max CreateDlLayerDepthMax CreateDlLayerDepthMax create_dl_layer_depth_max (Operator)
Name
create_dl_layer_depth_max T_create_dl_layer_depth_max CreateDlLayerDepthMax CreateDlLayerDepthMax create_dl_layer_depth_max — Erstellen eines Depth-Max-Layers.
Signatur
void CreateDlLayerDepthMax (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
(Nur Windows)
static void HOperatorSet .CreateDlLayerDepthMax (HTuple DLLayerInput , HTuple layerName , HTuple depthMaxMode , HTuple genParamName , HTuple genParamValue , out HTuple DLLayerDepthMaxArg , out HTuple DLLayerDepthMaxValue )
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 )
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]
Beschreibung
Der Operator create_dl_layer_depth_max create_dl_layer_depth_max CreateDlLayerDepthMax CreateDlLayerDepthMax CreateDlLayerDepthMax create_dl_layer_depth_max erzeugt einen Depth-Max-Layer.
Der Parameter DLLayerInput DLLayerInput DLLayerInput DLLayerInput DLLayerInput dllayer_input bestimmt den zuführenden Eingabelayer
und erwartet das Layer-Handle als Wert.
Es gibt zwei mögliche Ausgabelayer abhängig von DepthMaxMode DepthMaxMode DepthMaxMode DepthMaxMode depthMaxMode depth_max_mode :
Beachten Sie, dass diese Parameter nur gesetzt werden müssen, wenn ein
solcher Ausgabelayer angefordert wird (siehe DepthMaxMode DepthMaxMode DepthMaxMode DepthMaxMode depthMaxMode depth_max_mode ).
Der Parameter LayerName LayerName LayerName LayerName layerName layer_name definiert den Namen des/der Ausgabelayer
abhängig von DepthMaxMode DepthMaxMode DepthMaxMode DepthMaxMode depthMaxMode depth_max_mode :
Es ist zu beachten, dass beim Erstellen eines Modells mit
create_dl_model create_dl_model CreateDlModel CreateDlModel CreateDlModel create_dl_model jeder Layer des erstellten Netzes einen
eindeutigen Namen haben muss.
Der Modus DepthMaxMode DepthMaxMode DepthMaxMode DepthMaxMode depthMaxMode depth_max_mode gibt an, welcher Depth-Max-Wert
tatsächlich als Ausgabe zurückgegeben wird.
Die folgenden Werte werden unterstützt:
'argmax' "argmax" "argmax" "argmax" "argmax" "argmax" :
Der Tiefe-Index des maximalen Wertes wird
in DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg dllayer_depth_max_arg zurückgegeben.
'value' "value" "value" "value" "value" "value" :
Der Maximalwert selbst wird in DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue dllayer_depth_max_value zurückgegeben.
'argmax_and_value' "argmax_and_value" "argmax_and_value" "argmax_and_value" "argmax_and_value" "argmax_and_value" :
Beide Werte werden zurückgegeben, der Tiefe-Index
des Maximalwertes im Ausgabelayer DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg dllayer_depth_max_arg und
der Maximalwert selbst im Ausgabelayer DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue dllayer_depth_max_value .
Die folgenden generischen Parameter GenParamName GenParamName GenParamName GenParamName genParamName gen_param_name und die
entsprechenden Werte GenParamValue GenParamValue GenParamValue GenParamValue genParamValue gen_param_value werden unterstützt:
'is_inference_output' "is_inference_output" "is_inference_output" "is_inference_output" "is_inference_output" "is_inference_output" :
Bestimmt, ob apply_dl_model apply_dl_model ApplyDlModel ApplyDlModel ApplyDlModel apply_dl_model die Ausgabe dieses Layers im
Dictionary DLResultBatch DLResultBatch DLResultBatch DLResultBatch DLResultBatch dlresult_batch zurückgibt, auch ohne den
Layer in Outputs Outputs Outputs Outputs outputs outputs anzugeben ('true' "true" "true" "true" "true" "true" ), oder
nur falls er angegeben wird ('false' "false" "false" "false" "false" "false" ).
Default: 'false' "false" "false" "false" "false" "false"
Bestimmte Parameter von Layern, die mit create_dl_layer_depth_max create_dl_layer_depth_max CreateDlLayerDepthMax CreateDlLayerDepthMax CreateDlLayerDepthMax create_dl_layer_depth_max
erzeugt wurden, können mit weiteren Operatoren gesetzt und abgerufen werden.
Die folgenden Tabellen geben einen Überblick, welche Parameter mit
set_dl_model_layer_param set_dl_model_layer_param SetDlModelLayerParam SetDlModelLayerParam SetDlModelLayerParam set_dl_model_layer_param gesetzt werden können und welche mit
get_dl_model_layer_param get_dl_model_layer_param GetDlModelLayerParam GetDlModelLayerParam GetDlModelLayerParam get_dl_model_layer_param oder get_dl_layer_param get_dl_layer_param GetDlLayerParam GetDlLayerParam GetDlLayerParam get_dl_layer_param ausgelesen
werden können. Es ist zu beachten, dass die Operatoren
set_dl_model_layer_param set_dl_model_layer_param SetDlModelLayerParam SetDlModelLayerParam SetDlModelLayerParam set_dl_model_layer_param und get_dl_model_layer_param get_dl_model_layer_param GetDlModelLayerParam GetDlModelLayerParam GetDlModelLayerParam get_dl_model_layer_param ein
Modell benötigen, das mit create_dl_model create_dl_model CreateDlModel CreateDlModel CreateDlModel create_dl_model erzeugt wurde.
Generische Layer-Parameter
set
get
'is_inference_output' "is_inference_output" "is_inference_output" "is_inference_output" "is_inference_output" "is_inference_output"
'num_trainable_params' "num_trainable_params" "num_trainable_params" "num_trainable_params" "num_trainable_params" "num_trainable_params"
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Wird ohne Parallelisierung verarbeitet.
Parameter
DLLayerInput DLLayerInput DLLayerInput DLLayerInput DLLayerInput dllayer_input (input_control) dl_layer → HDlLayer , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Zuführender Layer.
LayerName LayerName LayerName LayerName layerName layer_name (input_control) string → HTuple str HTuple Htuple (string) (string ) (HString ) (char* )
Name des Ausgabelayers.
DepthMaxMode DepthMaxMode DepthMaxMode DepthMaxMode depthMaxMode depth_max_mode (input_control) string → HTuple str HTuple Htuple (string) (string ) (HString ) (char* )
Modus der die Art des Ausgabewerts bestimmt.
Defaultwert:
'argmax'
"argmax"
"argmax"
"argmax"
"argmax"
"argmax"
Werteliste: 'argmax' "argmax" "argmax" "argmax" "argmax" "argmax" , 'argmax_and_value' "argmax_and_value" "argmax_and_value" "argmax_and_value" "argmax_and_value" "argmax_and_value" , 'value' "value" "value" "value" "value" "value"
GenParamName GenParamName GenParamName GenParamName genParamName gen_param_name (input_control) attribute.name(-array) → HTuple MaybeSequence[str] HTuple Htuple (string) (string ) (HString ) (char* )
Namen der generischen Eingabeparameter.
Defaultwert: []
Werteliste: 'is_inference_output' "is_inference_output" "is_inference_output" "is_inference_output" "is_inference_output" "is_inference_output"
GenParamValue GenParamValue GenParamValue GenParamValue genParamValue gen_param_value (input_control) attribute.value(-array) → HTuple MaybeSequence[Union[int, float, str]] HTuple Htuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)
Werte der generischen Eingabeparameter.
Defaultwert: []
Wertevorschläge: 'true' "true" "true" "true" "true" "true" , 'false' "false" "false" "false" "false" "false"
DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg DLLayerDepthMaxArg dllayer_depth_max_arg (output_control) dl_layer(-array) → HDlLayer , HTuple Sequence[HHandle] HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Optional, Depth-Max-Layer mit dem Index des maximalen
Wertes.
DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue DLLayerDepthMaxValue dllayer_depth_max_value (output_control) dl_layer(-array) → HDlLayer , HTuple Sequence[HHandle] HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Optional, Depth-Max-Layer mit dem maximalen Wert.
Modul
Deep Learning Training