SHL 2.2.x
|
Functions | |
int | csinn_abs_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Abs initialization function. More... | |
int | csinn_acos_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
acos initialization function More... | |
int | csinn_acosh_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
acosh initialization function More... | |
int | csinn_add_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Add initialization function. More... | |
int | csinn_all_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
All initialization function. More... | |
int | csinn_and_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
AND initialization function. More... | |
int | csinn_any_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Any initialization function. More... | |
int | csinn_arange_init (struct csinn_tensor *output, struct csinn_arange_params *params) |
Arange initialization function. More... | |
int | csinn_argmax_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Argmax initialization function. More... | |
int | csinn_argmin_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Argmin initialization function. More... | |
int | csinn_asin_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
asin initialization function More... | |
int | csinn_asinh_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
asinh initialization function More... | |
int | csinn_atan_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
atan initialization function More... | |
int | csinn_atanh_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
atanh initialization function More... | |
int | csinn_avgpool2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
Two-dimensional average pooling initialization function. More... | |
int | csinn_avgpool3d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
Three-dimensional average pooling initialization function. More... | |
int | csinn_batch_normalization_init (struct csinn_tensor *input, struct csinn_tensor *mean, struct csinn_tensor *variance, struct csinn_tensor *gamma, struct csinn_tensor *beta, struct csinn_tensor *output, struct csinn_bn_params *params) |
Batch normalization initialization function. More... | |
int | csinn_batch_to_space_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_batch_to_space_params *params) |
Batch to space initialization function. More... | |
int | csinn_batch_to_space_nd_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_batch_to_space_nd_params *params) |
Batch to space nd initialization function. More... | |
int | csinn_broadcast_to_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_broadcast_to_params *params) |
Broadcast to initialization function. More... | |
int | csinn_cache_conv1d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *weight, struct csinn_tensor *bias, struct csinn_cache_conv1d_params *params) |
Cache conv1d initialization function. More... | |
int | csinn_cache_matmul_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *weight, struct csinn_tensor *bias, struct csinn_cache_matmul_params *params) |
Cache matmul initialization function. More... | |
int | csinn_cast_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_cast_params *params) |
Data convert initialization function. More... | |
int | csinn_ceil_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Ceil initialization function. More... | |
int | csinn_clip_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_clip_params *params) |
Clip initialization function. More... | |
int | csinn_col2im_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_col2im_params *params) |
col2im initialization function More... | |
int | csinn_concat_init (struct csinn_tensor **input, struct csinn_tensor *output, struct csinn_concat_params *params) |
Concat initialization function. More... | |
int | csinn_conv2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv2d_params *params) |
Two-dimensional convolution initialization function. More... | |
int | csinn_conv1d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv1d_params *params) |
One-dimensional convolution initialization function. More... | |
int | csinn_conv3d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv3d_params *params) |
Three-dimensional convolution initialization function. More... | |
int | csinn_conv2d_relu_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv2d_params *params) |
Two-dimensional convolution and ReLU fusion initialization function. More... | |
int | csinn_conv2d_relu6_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv2d_params *params) |
Two-dimensional convolution and ReLU6 fusion initialization function. More... | |
int | csinn_cos_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
col initialization function More... | |
int | csinn_cosh_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
colh function More... | |
int | csinn_crop_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_crop_params *params) |
Crop initialization function. More... | |
int | csinn_cumprod_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_cumprod_params *params) |
Cumprod initialization function. More... | |
int | csinn_cumsum_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_cumsum_params *params) |
Cumsum initialization function. More... | |
int | csinn_data_convert_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Data convert initialization function. More... | |
int | csinn_deconv2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv2d_params *params) |
Two-dimensional deconvolution initialization function. More... | |
int | csinn_deconv3d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv3d_params *params) |
Three-dimensional deconvolution initialization function. More... | |
int | csinn_depth_to_space_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_depth_to_space_params *params) |
Depth to space initialization function. More... | |
int | csinn_depthwise_conv2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv2d_params *params) |
Two-dimensional depthwise convolution initialization function. More... | |
int | csinn_depthwise_conv2d_relu_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv2d_params *params) |
Two-dimensional depthwise convolution and ReLU fusion initialization function. More... | |
int | csinn_div_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Div initialization function. More... | |
int | csinn_elu_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
ELU initialization function. More... | |
int | csinn_equal_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Equal initialization function. More... | |
int | csinn_erf_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Erf initialization function. More... | |
int | csinn_exp_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Exp initialization function. More... | |
int | csinn_expand_dims_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_expand_dims_params *params) |
Expand dims initialization function. More... | |
int | csinn_expm1_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Expm1 initialization function. More... | |
int | csinn_flatten_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_flatten_params *params) |
Flatten initialization function. More... | |
int | csinn_floor_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Floor initialization function. More... | |
int | csinn_floor_divide_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Floor div initialization function. More... | |
int | csinn_floor_mod_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Floor mod initialization function. More... | |
int | csinn_fsmn_init (struct csinn_tensor *frame, struct csinn_tensor *l_filter, struct csinn_tensor *r_filter, struct csinn_tensor *frame_sequence, struct csinn_tensor *frame_counter, struct csinn_tensor *output, struct csinn_fsmn_params *params) |
Feedforward Sequential Memory Network initialization function. More... | |
int | csinn_fullyconnected_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *weights, struct csinn_tensor *bias, struct csinn_fc_params *params) |
Fully Connected initialization function. More... | |
int | csinn_gather_init (struct csinn_tensor *input, struct csinn_tensor *indices, struct csinn_tensor *output, struct csinn_gather_params *params) |
Gather initialization function. More... | |
int | csinn_gather_nd_init (struct csinn_tensor *input, struct csinn_tensor *indices, struct csinn_tensor *output, struct csinn_gather_nd_params *params) |
Gather_nd initialization function. More... | |
int | csinn_global_avgpool2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
Two-dimensional global average pooling initialization function. More... | |
int | csinn_global_maxpool2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
Two-dimensional global max pooling initialization function. More... | |
int | csinn_greater_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Greater initialization function. More... | |
int | csinn_greater_equal_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Greater equal initialization function. More... | |
int | csinn_group_conv2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *kernel, struct csinn_tensor *bias, struct csinn_conv2d_params *params) |
Two-dimensional group convolution initialization function. More... | |
int | csinn_hard_sigmoid_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_sigmoid_params *params) |
Hard sigmoid initialization function. More... | |
int | csinn_im2col_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_im2col_params *params) |
im2col initialization function More... | |
int | csinn_isnan_bool_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Isnan bool initialization function. More... | |
int | csinn_l2_normalization_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_l2n_params *params) |
L2 normalization initialization function. More... | |
int | csinn_l2pool_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
L2 pooling initialization function. More... | |
int | csinn_layer_norm_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tensor *gamma, struct csinn_tensor *beta, struct csinn_layer_norm_params *params) |
Layer normalization initialization function. More... | |
int | csinn_leaky_relu_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
Leaky ReLU initialization function. More... | |
int | csinn_less_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Less initialization function. More... | |
int | csinn_less_equal_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Less equal initialization function. More... | |
int | csinn_log_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Log initialization function. More... | |
int | csinn_log1p_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Log1p initialization function. More... | |
int | csinn_log_softmax_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_softmax_params *params) |
Log softmax initialization function. More... | |
int | csinn_logical_and_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Logical AND initialization function. More... | |
int | csinn_logical_not_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Logical NOT initialization function. More... | |
int | csinn_logical_or_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Logical OR initialization function. More... | |
int | csinn_logical_xor_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Logical XOR initialization function. More... | |
int | csinn_lrn_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_lrn_params *params) |
Local Response Normalization initialization function. More... | |
int | csinn_matmul_init (struct csinn_tensor *mat0, struct csinn_tensor *mat1, struct csinn_tensor *output, struct csinn_matmul_params *params) |
Matmul initialization function. More... | |
int | csinn_max_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Max initialization function. More... | |
int | csinn_maximum_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Maximum initialization function. More... | |
int | csinn_maxpool2d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
Two-dimensional max pooling initialization function. More... | |
int | csinn_maxpool2d_locat_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
Max pooling and with locating information initialization function. More... | |
int | csinn_maxpool3d_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pool_params *params) |
Three-dimensional max pooling initialization function. More... | |
int | csinn_mean_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Mean initialization function. More... | |
int | csinn_min_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Min initialization function. More... | |
int | csinn_minimum_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Minimum initialization function. More... | |
int | csinn_mod_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Mod initialization function. More... | |
int | csinn_mul_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Mul initialization function. More... | |
int | csinn_ndarray_size_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_ndarray_size_params *params) |
Ndarray size initialization function. More... | |
int | csinn_negative_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Negative initialization function. More... | |
int | csinn_non_max_suppression_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_non_max_suppression_params *params) |
Non-max suppression initialization function. More... | |
int | csinn_not_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
NOT initialization function. More... | |
int | csinn_not_equal_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Not equal initialization function. More... | |
int | csinn_one_hot_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_one_hot_params *params) |
One Hot initialization function. More... | |
int | csinn_or_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
OR initialization function. More... | |
int | csinn_pad_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_pad_params *params) |
Pad initialization function. More... | |
int | csinn_power_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Power initialization function. More... | |
int | csinn_prelu_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_prelu_params *params) |
PReLU initialization function. More... | |
int | csinn_prod_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Prod initialization function. More... | |
int | csinn_proposal_init (struct csinn_tensor *cls_prob, struct csinn_tensor *bbox_pred, struct csinn_tensor *im_info, struct csinn_tensor *output, struct csinn_proposal_params *params) |
Proposal initialization function. More... | |
int | csinn_psroipooling_init (struct csinn_tensor *data, struct csinn_tensor *rois, struct csinn_tensor *output, struct csinn_psroipooling_params *params) |
PS ROI pooling initialization function. More... | |
int | csinn_reduce_logsumexp_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Reduce LogSumExp initialization function. More... | |
int | csinn_reduce_max_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Reduce max initialization function. More... | |
int | csinn_reduce_mean_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Reduce mean initialization function. More... | |
int | csinn_reduce_min_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Reduce min initialization function. More... | |
int | csinn_reduce_prod_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Reduce prod initialization function. More... | |
int | csinn_reduce_sum_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Reduce sum initialization function. More... | |
int | csinn_relu_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
ReLU initialization function. More... | |
int | csinn_relu1_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
ReLU1 initialization function. More... | |
int | csinn_relu6_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
ReLU6 initialization function. More... | |
int | csinn_relun_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
ReLUn initialization function. More... | |
int | csinn_reorg_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reorg_params *params) |
Reorg initialization function. More... | |
int | csinn_reshape_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reshape_params *params) |
Reshape initialization function. More... | |
int | csinn_resize_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_resize_params *params) |
Resize initialization function. More... | |
int | csinn_reverse_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reverse_params *params) |
Reverse initialization function. More... | |
int | csinn_roi_align_init (struct csinn_tensor *data, struct csinn_tensor *rois, struct csinn_tensor *output, struct csinn_roi_align_params *params) |
ROI align initialization function. More... | |
int | csinn_roipool_init (struct csinn_tensor *data, struct csinn_tensor *rois, struct csinn_tensor *output, struct csinn_roi_pool_params *params) |
ROI pooling initialization function. More... | |
int | csinn_round_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Round initialization function. More... | |
int | csinn_rsqrt_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Rsqrt initialization function. More... | |
int | csinn_scatter_nd_init (struct csinn_tensor *input, struct csinn_tensor *indices, struct csinn_tensor *updates, struct csinn_tensor *output, struct csinn_scatter_nd_params *params) |
Scatter nd initialization function. More... | |
int | csinn_segment_max_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_segment_params *params) |
Segment max initialization function. More... | |
int | csinn_segment_mean_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_segment_params *params) |
Segment mean initialization function. More... | |
int | csinn_segment_min_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_segment_params *params) |
Segment min initialization function. More... | |
int | csinn_segment_prod_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_segment_params *params) |
Segment prod initialization function. More... | |
int | csinn_segment_sum_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_segment_params *params) |
Segment sum initialization function. More... | |
int | csinn_select_init (struct csinn_tensor *condition, struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_select_params *params) |
Select initialization function. More... | |
int | csinn_sequence_mask_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_sequence_mask_params *params) |
Sequence mask initialization function. More... | |
int | csinn_shape_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_shape_params *params) |
Shape initialization function. More... | |
int | csinn_shuffle_channel_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_shuffle_channel_params *params) |
Shuffle channel initialization function. More... | |
int | csinn_sigmoid_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_sigmoid_params *params) |
Sigmoid initialization function. More... | |
int | csinn_sign_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Sign initialization function. More... | |
int | csinn_sin_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
sin initialization function More... | |
int | csinn_sinh_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
sinh initialization function More... | |
int | csinn_slice_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_slice_params *params) |
Slice initialization function. More... | |
int | csinn_softmax_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_softmax_params *params) |
Softmax initialization function. More... | |
int | csinn_softplus_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Softplus initialization function. More... | |
int | csinn_softrelu_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
Soft ReLU initialization function. More... | |
int | csinn_softsign_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Softsign initialization function. More... | |
int | csinn_space_to_batch_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_space_to_batch_params *params) |
Space to batch initialization function. More... | |
int | csinn_space_to_batch_nd_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_space_to_batch_nd_params *params) |
Space to batch nd initialization function. More... | |
int | csinn_space_to_depth_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_space_to_depth_params *params) |
Space to depth initialization function. More... | |
int | csinn_split_init (struct csinn_tensor *input, struct csinn_tensor **output, struct csinn_split_params *params) |
Split initialization function. More... | |
int | csinn_sqrt_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Sqrt initialization function. More... | |
int | csinn_square_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Square initialization function. More... | |
int | csinn_squeeze_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_squeeze_params *params) |
Squeeze initialization function. More... | |
int | csinn_stack_init (struct csinn_tensor **input, struct csinn_tensor *output, struct csinn_stack_params *params) |
Stack initialization function. More... | |
int | csinn_strided_slice_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_strided_slice_params *params) |
Stride slice initialization function. More... | |
int | csinn_sub_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
Sub initialization function. More... | |
int | csinn_sum_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_reduce_params *params) |
Sum initialization function. More... | |
int | csinn_tan_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
tan initialization function More... | |
int | csinn_tanh_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
tanh initialization function More... | |
int | csinn_threshold_relu_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_relu_params *params) |
Threshold ReLU initialization function. More... | |
int | csinn_tile_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_tile_params *params) |
Tile initialization function. More... | |
int | csinn_topk_init (struct csinn_tensor *input, struct csinn_tensor *output1, struct csinn_tensor *output2, struct csinn_topk_params *params) |
TOP-k initialization function. More... | |
int | csinn_transpose_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_transpose_params *params) |
Transpose initialization function. More... | |
int | csinn_trunc_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
Trunc initialization function. More... | |
int | csinn_unpooling_init (struct csinn_tensor *input, struct csinn_tensor *mask, struct csinn_tensor *output, struct csinn_unpooling_params *params) |
Unpooling initialization function. More... | |
int | csinn_unstack_init (struct csinn_tensor *input, struct csinn_tensor **output, struct csinn_unstack_params *params) |
Unstack initialization function. More... | |
int | csinn_where_init (struct csinn_tensor *condition, struct csinn_tensor *x, struct csinn_tensor *y, struct csinn_tensor *output, struct csinn_where_params *params) |
Where initialization function. More... | |
int | csinn_where_softmax_init (struct csinn_tensor *condition, struct csinn_tensor *y, struct csinn_tensor *output, struct csinn_where_softmax_params *params) |
Where initialization function. More... | |
int | csinn_xor_init (struct csinn_tensor *input0, struct csinn_tensor *input1, struct csinn_tensor *output, struct csinn_diso_params *params) |
XOR initialization function. More... | |
int | csinn_yuv_rgb_scale_init (struct csinn_tensor *input, struct csinn_tensor *output, struct csinn_siso_params *params) |
YUV RGB scale initialization function. More... | |
int csinn_abs_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Abs initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Abs parameter descriptor |
int csinn_acos_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
acos initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | acos parameter descriptor |
int csinn_acosh_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
acosh initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | acosh parameter descriptor |
int csinn_add_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Add initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Add parameter descriptor |
int csinn_all_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
All initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | All parameter descriptor |
int csinn_and_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
AND initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | AND parameter descriptor |
int csinn_any_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Any initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Any parameter descriptor |
int csinn_arange_init | ( | struct csinn_tensor * | output, |
struct csinn_arange_params * | params | ||
) |
Arange initialization function.
[out] | output | Pointer to the output tensor |
[in] | params | Arange parameter descriptor |
int csinn_argmax_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Argmax initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Argmax parameter descriptor |
int csinn_argmin_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Argmin initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Argmin parameter descriptor |
int csinn_asin_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
asin initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | asin parameter descriptor |
int csinn_asinh_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
asinh initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | asinh parameter descriptor |
int csinn_atan_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
atan initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | atan parameter descriptor |
int csinn_atanh_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
atanh initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | atanh parameter descriptor |
int csinn_avgpool2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
Two-dimensional average pooling initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_avgpool3d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
Three-dimensional average pooling initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_batch_normalization_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | mean, | ||
struct csinn_tensor * | variance, | ||
struct csinn_tensor * | gamma, | ||
struct csinn_tensor * | beta, | ||
struct csinn_tensor * | output, | ||
struct csinn_bn_params * | params | ||
) |
Batch normalization initialization function.
[in] | input | Pointer to the input tensor |
[in] | mean | Mean value used to calculate BN |
[in] | variance | Variance used to caculate BN |
[in] | gamma | γ coefficient used to caculate BN |
[in] | beta | β coefficient used to caculate BN |
[out] | output | Pointer to the output tensor |
[in] | params | Batch normalization parameter descriptor |
int csinn_batch_to_space_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_batch_to_space_params * | params | ||
) |
Batch to space initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Batch to space parameter descriptor |
int csinn_batch_to_space_nd_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_batch_to_space_nd_params * | params | ||
) |
Batch to space nd initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Batch to space nd parameter descriptor |
int csinn_broadcast_to_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_broadcast_to_params * | params | ||
) |
Broadcast to initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Broadcast to parameter descriptor |
int csinn_cache_conv1d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | weight, | ||
struct csinn_tensor * | bias, | ||
struct csinn_cache_conv1d_params * | params | ||
) |
Cache conv1d initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | weight | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Cache conv1d parameter descriptor |
int csinn_cache_matmul_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | weight, | ||
struct csinn_tensor * | bias, | ||
struct csinn_cache_matmul_params * | params | ||
) |
Cache matmul initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | weight | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Cache matmul parameter descriptor |
int csinn_cast_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_cast_params * | params | ||
) |
Data convert initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Data Cast parameter descriptor |
int csinn_ceil_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Ceil initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Ceil parameter descriptor |
int csinn_clip_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_clip_params * | params | ||
) |
Clip initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Clip parameter descriptor |
int csinn_col2im_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_col2im_params * | params | ||
) |
col2im initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | params | col2im parameter descriptor |
int csinn_concat_init | ( | struct csinn_tensor ** | input, |
struct csinn_tensor * | output, | ||
struct csinn_concat_params * | params | ||
) |
Concat initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Concat parameter descriptor |
int csinn_conv2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv2d_params * | params | ||
) |
Two-dimensional convolution initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_conv1d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv1d_params * | params | ||
) |
One-dimensional convolution initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_conv3d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv3d_params * | params | ||
) |
Three-dimensional convolution initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_conv2d_relu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv2d_params * | params | ||
) |
Two-dimensional convolution and ReLU fusion initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_conv2d_relu6_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv2d_params * | params | ||
) |
Two-dimensional convolution and ReLU6 fusion initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_cos_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
col initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | col parameter descriptor |
int csinn_cosh_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
colh function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | colh parameter descriptor |
int csinn_crop_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_crop_params * | params | ||
) |
Crop initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Crop parameter descriptor |
int csinn_cumprod_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_cumprod_params * | params | ||
) |
Cumprod initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Cumprod parameter descriptor |
int csinn_cumsum_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_cumsum_params * | params | ||
) |
Cumsum initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Cumsum parameter descriptor |
int csinn_data_convert_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Data convert initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Data convert parameter descriptor |
int csinn_deconv2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv2d_params * | params | ||
) |
Two-dimensional deconvolution initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_deconv3d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv3d_params * | params | ||
) |
Three-dimensional deconvolution initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_depth_to_space_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_depth_to_space_params * | params | ||
) |
Depth to space initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Depth to space parameter descriptor |
int csinn_depthwise_conv2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv2d_params * | params | ||
) |
Two-dimensional depthwise convolution initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_depthwise_conv2d_relu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv2d_params * | params | ||
) |
Two-dimensional depthwise convolution and ReLU fusion initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_div_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Div initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Div parameter descriptor |
int csinn_elu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
ELU initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | ELU parameter descriptor |
int csinn_equal_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Equal initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Equal parameter descriptor |
int csinn_erf_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Erf initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Erf parameter descriptor |
int csinn_exp_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Exp initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Exp parameter descriptor |
int csinn_expand_dims_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_expand_dims_params * | params | ||
) |
Expand dims initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Expand dims parameter descriptor |
int csinn_expm1_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Expm1 initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Expm1 parameter descriptor |
int csinn_flatten_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_flatten_params * | params | ||
) |
Flatten initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Flatten parameter descriptor |
int csinn_floor_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Floor initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Floor parameter descriptor |
int csinn_floor_divide_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Floor div initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Floor div parameter descriptor |
int csinn_floor_mod_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Floor mod initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Floor mod parameter descriptor |
int csinn_fsmn_init | ( | struct csinn_tensor * | frame, |
struct csinn_tensor * | l_filter, | ||
struct csinn_tensor * | r_filter, | ||
struct csinn_tensor * | frame_sequence, | ||
struct csinn_tensor * | frame_counter, | ||
struct csinn_tensor * | output, | ||
struct csinn_fsmn_params * | params | ||
) |
Feedforward Sequential Memory Network initialization function.
[in] | frame | Point to the current input frame data |
[in] | l_filter | Left coefficient matrix, used for matrix calculation with past frames |
[in] | r_filter | Right coefficient matrix for matrix calculation with future frames |
[in] | frame_sequence | Point to all currently calculated frame data |
[in] | frame_counter | Frame counter |
[out] | output | Pointer to the output tensor |
[in] | params | FSMN parameter descriptor |
int csinn_fullyconnected_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | weights, | ||
struct csinn_tensor * | bias, | ||
struct csinn_fc_params * | params | ||
) |
Fully Connected initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | weights | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Fully Connected parameter descriptor |
int csinn_gather_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | indices, | ||
struct csinn_tensor * | output, | ||
struct csinn_gather_params * | params | ||
) |
Gather initialization function.
[in] | input | Pointer to the input tensor |
[in] | indices | Pointer to the index tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Gather parameter descriptor |
int csinn_gather_nd_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | indices, | ||
struct csinn_tensor * | output, | ||
struct csinn_gather_nd_params * | params | ||
) |
Gather_nd initialization function.
[in] | input | Pointer to the input tensor |
[in] | indices | Pointer to the index tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Gather_nd parameter descriptor |
int csinn_global_avgpool2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
Two-dimensional global average pooling initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_global_maxpool2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
Two-dimensional global max pooling initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_greater_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Greater initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Greater parameter descriptor |
int csinn_greater_equal_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Greater equal initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Greater equal parameter descriptor |
int csinn_group_conv2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | kernel, | ||
struct csinn_tensor * | bias, | ||
struct csinn_conv2d_params * | params | ||
) |
Two-dimensional group convolution initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | kernel | Pointer to the weight tensor |
[in] | bias | Pointer to the bias tensor |
[in] | params | Convolution parameter descriptor |
int csinn_hard_sigmoid_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_sigmoid_params * | params | ||
) |
Hard sigmoid initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Hard sigmoid parameter descriptor |
int csinn_im2col_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_im2col_params * | params | ||
) |
im2col initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | im2col parameter descriptor |
int csinn_isnan_bool_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Isnan bool initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Isnan bool parameter descriptor |
int csinn_l2_normalization_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_l2n_params * | params | ||
) |
L2 normalization initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | L2 normalization parameter descriptor |
int csinn_l2pool_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
L2 pooling initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_layer_norm_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_tensor * | gamma, | ||
struct csinn_tensor * | beta, | ||
struct csinn_layer_norm_params * | params | ||
) |
Layer normalization initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | gamma | γ coefficient used to caculate LN |
[in] | beta | β coefficient used to caculate LN |
[in] | params | Layer normalization parameter descriptor |
int csinn_leaky_relu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
Leaky ReLU initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Leaky ReLU parameter descriptor |
int csinn_less_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Less initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Less parameter descriptor |
int csinn_less_equal_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Less equal initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Less equal parameter descriptor |
int csinn_log_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Log initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Log parameter descriptor |
int csinn_log1p_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Log1p initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Log1p parameter descriptor |
int csinn_log_softmax_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_softmax_params * | params | ||
) |
Log softmax initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Log softmax parameter descriptor |
int csinn_logical_and_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Logical AND initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Logical AND parameter descriptor |
int csinn_logical_not_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Logical NOT initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Logical NOT parameter descriptor |
int csinn_logical_or_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Logical OR initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Logical OR parameter descriptor |
int csinn_logical_xor_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Logical XOR initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Logical XOR parameter descriptor |
int csinn_lrn_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_lrn_params * | params | ||
) |
Local Response Normalization initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | LRN parameter descriptor |
int csinn_matmul_init | ( | struct csinn_tensor * | mat0, |
struct csinn_tensor * | mat1, | ||
struct csinn_tensor * | output, | ||
struct csinn_matmul_params * | params | ||
) |
Matmul initialization function.
[in] | mat0 | Pointer to the input0 tensor |
[in] | mat1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Matmul parameter descriptor |
int csinn_max_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Max initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Max parameter descriptor |
int csinn_maximum_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Maximum initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Maximum parameter descriptor |
int csinn_maxpool2d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
Two-dimensional max pooling initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_maxpool2d_locat_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
Max pooling and with locating information initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_maxpool3d_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pool_params * | params | ||
) |
Three-dimensional max pooling initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pooling parameter descriptor |
int csinn_mean_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Mean initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Mean parameter descriptor |
int csinn_min_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Min initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Min parameter descriptor |
int csinn_minimum_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Minimum initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Minimum parameter descriptor |
int csinn_mod_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Mod initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Mod parameter descriptor |
int csinn_mul_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Mul initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Mul parameter descriptor |
int csinn_ndarray_size_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_ndarray_size_params * | params | ||
) |
Ndarray size initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Ndarray size parameter descriptor |
int csinn_negative_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Negative initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Negative parameter descriptor |
int csinn_non_max_suppression_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_non_max_suppression_params * | params | ||
) |
Non-max suppression initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Non-max suppression parameter descriptor |
int csinn_not_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
NOT initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | NOT parameter descriptor |
int csinn_not_equal_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Not equal initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Not equal parameter descriptor |
int csinn_one_hot_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_one_hot_params * | params | ||
) |
One Hot initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | One Hot parameter descriptor |
int csinn_or_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
OR initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | OR parameter descriptor |
int csinn_pad_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_pad_params * | params | ||
) |
Pad initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Pad parameter descriptor |
int csinn_power_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Power initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Power parameter descriptor |
int csinn_prelu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | alpha, | ||
struct csinn_tensor * | output, | ||
struct csinn_prelu_params * | params | ||
) |
PReLU initialization function.
[in] | input | Pointer to the input tensor |
[in] | alpha | Pointer to the α coefficient tensor |
[out] | output | Pointer to the output tensor |
[in] | params | PReLU parameter descriptor |
int csinn_prod_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Prod initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Prod parameter descriptor |
int csinn_proposal_init | ( | struct csinn_tensor * | cls_prob, |
struct csinn_tensor * | bbox_pred, | ||
struct csinn_tensor * | im_info, | ||
struct csinn_tensor * | output, | ||
struct csinn_proposal_params * | params | ||
) |
Proposal initialization function.
[in] | cls_prob | Pointer to the classification input tensor |
[in] | bbox_pred | Pointer to the box input tensor |
[in] | im_info | Pointer to the image input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Proposal parameter descriptor |
int csinn_psroipooling_init | ( | struct csinn_tensor * | data, |
struct csinn_tensor * | rois, | ||
struct csinn_tensor * | output, | ||
struct csinn_psroipooling_params * | params | ||
) |
PS ROI pooling initialization function.
[in] | data | Pointer to the input tensor |
[in] | rois | ROI information |
[out] | output | Pointer to the output tensor |
[in] | params | PS ROI pooling parameter descriptor |
int csinn_reduce_logsumexp_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Reduce LogSumExp initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reduce LogSumExp parameter descriptor |
int csinn_reduce_max_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Reduce max initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reduce max parameter descriptor |
int csinn_reduce_mean_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Reduce mean initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reduce mean parameter descriptor |
int csinn_reduce_min_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Reduce min initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reduce min parameter descriptor |
int csinn_reduce_prod_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Reduce prod initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reduce prod parameter descriptor |
int csinn_reduce_sum_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Reduce sum initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reduce sum parameter descriptor |
int csinn_relu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
ReLU initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | ReLU parameter descriptor |
int csinn_relu1_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
ReLU1 initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | ReLU1 parameter descriptor |
int csinn_relu6_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
ReLU6 initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | ReLU6 parameter descriptor |
int csinn_relun_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
ReLUn initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | ReLUn parameter descriptor |
int csinn_reorg_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reorg_params * | params | ||
) |
Reorg initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reorg parameter descriptor |
int csinn_reshape_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reshape_params * | params | ||
) |
Reshape initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reshape parameter descriptor |
int csinn_resize_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_resize_params * | params | ||
) |
Resize initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Resize parameter descriptor |
int csinn_reverse_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reverse_params * | params | ||
) |
Reverse initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Reverse parameter descriptor |
int csinn_roi_align_init | ( | struct csinn_tensor * | data, |
struct csinn_tensor * | rois, | ||
struct csinn_tensor * | output, | ||
struct csinn_roi_align_params * | params | ||
) |
ROI align initialization function.
[in] | data | Pointer to the input tensor |
[in] | rois | ROI information |
[out] | output | Pointer to the output tensor |
[in] | params | ROI align parameter descriptor |
int csinn_roipool_init | ( | struct csinn_tensor * | data, |
struct csinn_tensor * | rois, | ||
struct csinn_tensor * | output, | ||
struct csinn_roi_pool_params * | params | ||
) |
ROI pooling initialization function.
[in] | data | Pointer to the input tensor |
[in] | rois | ROI information |
[out] | output | Pointer to the output tensor |
[in] | params | ROI pooling parameter descriptor |
int csinn_round_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Round initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Round parameter descriptor |
int csinn_rsqrt_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Rsqrt initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Rsqrt parameter descriptor |
int csinn_scatter_nd_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | indices, | ||
struct csinn_tensor * | updates, | ||
struct csinn_tensor * | output, | ||
struct csinn_scatter_nd_params * | params | ||
) |
Scatter nd initialization function.
[in] | input | Pointer to the input tensor |
[in] | indices | Pointer to the index tensor |
[in] | updates | Pointer to the distribution of update tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Broadcast to parameter descriptor |
int csinn_segment_max_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_segment_params * | params | ||
) |
Segment max initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Segment max parameter descriptor |
int csinn_segment_mean_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_segment_params * | params | ||
) |
Segment mean initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Segment mean parameter descriptor |
int csinn_segment_min_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_segment_params * | params | ||
) |
Segment min initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Segment min parameter descriptor |
int csinn_segment_prod_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_segment_params * | params | ||
) |
Segment prod initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Segment prod parameter descriptor |
int csinn_segment_sum_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_segment_params * | params | ||
) |
Segment sum initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Segment sum parameter descriptor |
int csinn_select_init | ( | struct csinn_tensor * | condition, |
struct csinn_tensor * | input0, | ||
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_select_params * | params | ||
) |
Select initialization function.
[in] | condition | Pointer to the condition tensor |
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Select parameter descriptor |
int csinn_sequence_mask_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_sequence_mask_params * | params | ||
) |
Sequence mask initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Sequence mask parameter descriptor |
int csinn_shape_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_shape_params * | params | ||
) |
Shape initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Shape parameter descriptor |
int csinn_shuffle_channel_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_shuffle_channel_params * | params | ||
) |
Shuffle channel initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Shuffle channel parameter descriptor |
int csinn_sigmoid_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_sigmoid_params * | params | ||
) |
Sigmoid initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Sigmoid parameter descriptor |
int csinn_sign_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Sign initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Sign parameter descriptor |
int csinn_sin_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
sin initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | sin parameter descriptor |
int csinn_sinh_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
sinh initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | sinh parameter descriptor |
int csinn_slice_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_slice_params * | params | ||
) |
Slice initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Slice parameter descriptor |
int csinn_softmax_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_softmax_params * | params | ||
) |
Softmax initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Softmax parameter descriptor |
int csinn_softplus_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Softplus initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Softplus parameter descriptor |
int csinn_softrelu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
Soft ReLU initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Soft ReLU parameter descriptor |
int csinn_softsign_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Softsign initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Softsign parameter descriptor |
int csinn_space_to_batch_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_space_to_batch_params * | params | ||
) |
Space to batch initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Space to batch parameter descriptor |
int csinn_space_to_batch_nd_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_space_to_batch_nd_params * | params | ||
) |
Space to batch nd initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Space to batch nd parameter descriptor |
int csinn_space_to_depth_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_space_to_depth_params * | params | ||
) |
Space to depth initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Space to depth parameter descriptor |
int csinn_split_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor ** | output, | ||
struct csinn_split_params * | params | ||
) |
Split initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Split parameter descriptor |
int csinn_sqrt_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Sqrt initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Sqrt parameter descriptor |
int csinn_square_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Square initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Square parameter descriptor |
int csinn_squeeze_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_squeeze_params * | params | ||
) |
Squeeze initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Squeeze parameter descriptor |
int csinn_stack_init | ( | struct csinn_tensor ** | inputs, |
struct csinn_tensor * | output, | ||
struct csinn_stack_params * | params | ||
) |
Stack initialization function.
[in] | inputs | Pointer to the input tensors |
[out] | output | Pointer to the output tensor |
[in] | params | Stack parameter descriptor |
int csinn_strided_slice_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_strided_slice_params * | params | ||
) |
Stride slice initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Stride slice parameter descriptor |
int csinn_sub_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
Sub initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Sub parameter descriptor |
int csinn_sum_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_reduce_params * | params | ||
) |
Sum initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Sum parameter descriptor |
int csinn_tan_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
tan initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | tan parameter descriptor |
int csinn_tanh_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
tanh initialization function
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | tanh parameter descriptor |
int csinn_threshold_relu_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_relu_params * | params | ||
) |
Threshold ReLU initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Threshold ReLU parameter descriptor |
int csinn_tile_init | ( | struct csinn_tensor * | inputs, |
struct csinn_tensor * | output, | ||
struct csinn_tile_params * | params | ||
) |
Tile initialization function.
[in] | inputs | Pointer to the input tensors |
[out] | output | Pointer to the output tensor |
[in] | params | Tile parameter descriptor |
int csinn_topk_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output1, | ||
struct csinn_tensor * | output2, | ||
struct csinn_topk_params * | params | ||
) |
TOP-k initialization function.
[in] | input | Pointer to the input tensor |
[out] | output1 | Pointer to the output1 tensor |
[out] | output2 | Pointer to the output2 tensor |
[in] | params | TOP-k parameter descriptor |
int csinn_transpose_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_transpose_params * | params | ||
) |
Transpose initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Transpose parameter descriptor |
int csinn_trunc_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
Trunc initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Trunc parameter descriptor |
int csinn_unpooling_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | mask, | ||
struct csinn_tensor * | output, | ||
struct csinn_unpooling_params * | params | ||
) |
Unpooling initialization function.
[in] | input | Pointer to the input tensor |
[in] | mask | Locating information |
[out] | output | Pointer to the output tensor |
[in] | params | Unpooling parameter descriptor |
int csinn_unstack_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor ** | output, | ||
struct csinn_unstack_params * | params | ||
) |
Unstack initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Unstack parameter descriptor |
int csinn_where_init | ( | struct csinn_tensor * | condition, |
struct csinn_tensor * | x, | ||
struct csinn_tensor * | y, | ||
struct csinn_tensor * | output, | ||
struct csinn_where_params * | params | ||
) |
Where initialization function.
[in] | condition | Pointer to the condition tensor |
[in] | x | Pointer to the x tensor |
[in] | y | Pointer to the y tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Where parameter descriptor |
int csinn_where_softmax_init | ( | struct csinn_tensor * | condition, |
struct csinn_tensor * | y, | ||
struct csinn_tensor * | output, | ||
struct csinn_where_softmax_params * | params | ||
) |
Where initialization function.
[in] | condition | Pointer to the condition tensor |
[in] | y | Pointer to the y tensor |
[out] | output | Pointer to the output tensor |
[in] | params | Where parameter descriptor |
int csinn_xor_init | ( | struct csinn_tensor * | input0, |
struct csinn_tensor * | input1, | ||
struct csinn_tensor * | output, | ||
struct csinn_diso_params * | params | ||
) |
XOR initialization function.
[in] | input0 | Pointer to the input0 tensor |
[in] | input1 | Pointer to the input1 tensor |
[out] | output | Pointer to the output tensor |
[in] | params | XOR parameter descriptor |
int csinn_yuv_rgb_scale_init | ( | struct csinn_tensor * | input, |
struct csinn_tensor * | output, | ||
struct csinn_siso_params * | params | ||
) |
YUV RGB scale initialization function.
[in] | input | Pointer to the input tensor |
[out] | output | Pointer to the output tensor |
[in] | params | YUV RGB scale parameter descriptor |