Back to Ncnn

Operation Param Weight Table

docs/developer-guide/operation-param-weight-table.md

latest6.3 KB
Original Source
operationparam idparam phasedefault valueweight order
AbsVal
ArgMax0out_max_val0
1topk1
BatchNorm0channels0slope mean variance bias
1eps0.f
Bias0bias_data_size0
BinaryOp0op_type0
1with_scalar0
2b0.f
BNLL
Cast0type_from0
1type_to0
Clip0min-FLT_MAX
1maxFLT_MAX
Concat0axis0
Convolution0num_output0weight bias
1kernel_w0
2dilation_w1
3stride_w1
4pad_left0
5bias_term0
6weight_data_size0
8int8_scale_term0
9activation_type0
10activation_params[ ]
11kernel_hkernel_w
12dilation_hdilation_w
13stride_hstride_w
15pad_rightpad_left
14pad_toppad_left
16pad_bottompad_top
17impl_type0
18pad_value0.f
ConvolutionDepthWise0num_output0weight bias
1kernel_w0
2dilation_w1
3stride_w1
4pad_left0
5bias_term0
6weight_data_size0
7group1
8int8_scale_term0
9activation_type0
10activation_params[ ]
11kernel_hkernel_w
12dilation_hdilation_w
13stride_hstride_w
15pad_rightpad_left
14pad_toppad_left
16pad_bottompad_top
18pad_value0.f
Crop0woffset0
1hoffset0
2coffset0
3outw0
4outh0
5outc0
6woffset20
7hoffset20
8coffset20
9starts[ ]
10ends[ ]
11axes[ ]
Deconvolution0num_output0weight bias
1kernel_w0
2dilation_w1
3stride_w1
4pad_left0
5bias_term0
6weight_data_size0
9activation_type0
10activation_params[ ]
11kernel_hkernel_w
12dilation_hdilation_w
13stride_hstride_w
15pad_rightpad_left
14pad_toppad_left
16pad_bottompad_top
18output_pad_right0
19output_pad_bottomoutput_pad_right
20output_w0
21output_houtput_w
DeconvolutionDepthWise0num_output0weight bias
1kernel_w0
2dilation_w1
3stride_w1
4pad_left0
5bias_term0
6weight_data_size0
7group1
9activation_type0
10activation_params[ ]
11kernel_hkernel_w
12dilation_hdilation_w
13stride_hstride_w
15pad_rightpad_left
14pad_toppad_left
16pad_bottompad_top
18output_pad_right0
19output_pad_bottomoutput_pad_right
20output_w0
21output_houtput_w
Dequantize0scale1.fbias
1bias_term0
2bias_data_size0
DetectionOutput0num_class0
1nms_threshold0.05f
2nms_top_k300
3keep_top_k100
4confidence_threshold0.5f
5variances[0]0.1f
6variances[1]0.1f
7variances[2]0.2f
8variances[3]0.2f
Dropout0scale1.f
Eltwise0op_type0
1coeffs[ ]
ELU0alpha0.1f
Embed0num_output0weight bias
1input_dim0
2bias_term0
3weight_data_size0
Exp0base-1.f
1scale1.f
2shift0.f
ExpandDims0expand_w0
1expand_h0
2expand_c0
3axes[ ]
Flatten
HardSigmoid0alpha0.2f
1beta0.5f
HardSwish0alpha0.2f
1beta0.5f
InnerProduct0num_output0weight bias
1bias_term0
2weight_data_size0
8int8_scale_term0
9activation_type0
10activation_params[ ]
Input0w0
1h0
2c0
InstanceNorm0channels0gamma bias
1eps0.001f
Interp0resize_type0
1height_scale1.f
2width_scale1.f
3output_height0
4output_width0
Log0base-1.f
1scale1.f
2shift0.f
LRN0region_type0
1local_size5
2alpha1.f
3beta0.75f
4bias1.f
LSTM0num_output0
1weight_data_size1
2direction0
MemoryData0w0
1h0
2c0
Mish
MVN0normalize_variance0
1across_channels0
2eps0.0001f
Noop
Normalize0across_spatial0scale
4across_channel0
1channel_shared0
2eps0.0001f
9eps_mode0
3scale_data_size0
Packing0out_packing1
1use_padding0
2cast_type_from0
3cast_type_to0
4storage_type_from0
5storage_type_to0
Padding0top0per_channel_pad_data
1bottom0
2left0
3right0
4type0
5value0.f
6per_channel_pad_data_size0
7front0
8behind0
Permute0order_type0
PixelShuffle0upscale_factor1
Pooling0pooling_type(0: max 1: avg)0
1kernel_w0
11kernel_hkernel_w
2stride_w1
12stride_hstride_w
3pad_left0
14pad_rightpad_left
13pad_toppad_left
15pad_bottompad_top
4global_pooling0
5pad_mode0
Power0power1.f
1scale1.f
2shift0.f
PReLU0num_slope0slope
PriorBox0min_sizes[ ]
1max_sizes[ ]
2aspect_ratios[ ]
3varainces[0]0.f
4varainces[1]0.f
5varainces[2]0.f
6varainces[3]0.f
7flip1
8clip0
9image_width0
10image_height0
11step_width-233.f
12step_height-233.f
13offset0.f
14step_mmdetection0
15center_mmdetection0
Proposal0feat_stride16
1base_size16
2pre_nms_topN6000
3after_nms_topN300
4num_thresh0.7f
5min_size16
PSROIPooling0pooled_width7
1pooled_height7
2spatial_scale0.0625f
3output_dim0
Quantize0scale1.f
Reduction0operation0
1dim0
2coeff1.f
3axes[ ]
4keepdims0
ReLU0slope0.f
Reorg0stride0
Requantize0scale_in1.fbias
1scale_out1.f
2bias_term0
3bias_data_size0
4fusion_relu0
Reshape0w-233
1h-233
2c-233
3permute0
ROIAlign0pooled_width0
1pooled_height0
2spatial_scale1.f
3sampling_ratio0
4aligned0
5version0
ROIPooling0pooled_width0
1pooled_height0
2spatial_scale1.f
Scale0scale_data_size0scale bias
1bias_term0
SELU0alpha1.67326324f
1lambda1.050700987f
ShuffleChannel0group1
Sigmoid
Slice0slices[ ]
1axis0
Softmax0axis0
Split
SPP0pooling_type0
1pyramid_height1
Squeeze0squeeze_w0
1squeeze_h0
2squeeze_c0
3axes[ ]
StatisticsPooling0include_stddev0
Swish
TanH
Threshold0threshold0.f
Tile0dim0
1tiles1
UnaryOp0op_type0
YoloDetectionOutput0num_class20
1num_box5
2confidence_threshold0.01f
3num_threshold0.45f
4biases[]
Yolov3DetectionOutput0num_class20
1num_box5
2confidence_threshold0.01f
3num_threshold0.45f
4biases[]
5mask[]
6anchors_scale[]
RNN0num_output0
1weight_data_size0
2direction0
MultiHeadAttention0embed_dim0
1num_head1
2weight_data_size0