Home
last modified time | relevance | path

Searched refs:output_operand (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_depth2space.c70 DnnOperand *output_operand = &operands[output_operand_index]; in ff_dnn_execute_layer_depth2space() local
71 output_operand->dims[0] = number; in ff_dnn_execute_layer_depth2space()
72 output_operand->dims[1] = height * block_size; in ff_dnn_execute_layer_depth2space()
73 output_operand->dims[2] = width * block_size; in ff_dnn_execute_layer_depth2space()
74 output_operand->dims[3] = new_channels; in ff_dnn_execute_layer_depth2space()
75 output_operand->data_type = operands[input_operand_index].data_type; in ff_dnn_execute_layer_depth2space()
76 output_operand->length = ff_calculate_operand_data_length(output_operand); in ff_dnn_execute_layer_depth2space()
77 if (output_operand->length <= 0) { in ff_dnn_execute_layer_depth2space()
81 output_operand->data = av_realloc(output_operand->data, output_operand->length); in ff_dnn_execute_layer_depth2space()
82 if (!output_operand->data) { in ff_dnn_execute_layer_depth2space()
[all …]
Ddnn_backend_native_layer_avgpool.c73 DnnOperand *output_operand = &operands[output_operand_index]; in ff_dnn_execute_layer_avg_pool() local
103 output_operand->dims[0] = number; in ff_dnn_execute_layer_avg_pool()
104 output_operand->dims[1] = output_height; in ff_dnn_execute_layer_avg_pool()
105 output_operand->dims[2] = output_width; in ff_dnn_execute_layer_avg_pool()
107 output_operand->dims[3] = channel; in ff_dnn_execute_layer_avg_pool()
108 output_operand->data_type = operands[input_operand_index].data_type; in ff_dnn_execute_layer_avg_pool()
109 output_operand->length = ff_calculate_operand_data_length(output_operand); in ff_dnn_execute_layer_avg_pool()
110 if (output_operand->length <= 0) { in ff_dnn_execute_layer_avg_pool()
114 output_operand->data = av_realloc(output_operand->data, output_operand->length); in ff_dnn_execute_layer_avg_pool()
115 if (!output_operand->data) { in ff_dnn_execute_layer_avg_pool()
[all …]
Ddnn_backend_native_layer_dense.c98 DnnOperand *output_operand = &operands[output_operand_index]; in ff_dnn_execute_layer_dense() local
99 output_operand->dims[0] = number; in ff_dnn_execute_layer_dense()
100 output_operand->dims[1] = height; in ff_dnn_execute_layer_dense()
101 output_operand->dims[2] = width; in ff_dnn_execute_layer_dense()
102 output_operand->dims[3] = dense_params->output_num; in ff_dnn_execute_layer_dense()
103 output_operand->data_type = operands[input_operand_index].data_type; in ff_dnn_execute_layer_dense()
104 output_operand->length = ff_calculate_operand_data_length(output_operand); in ff_dnn_execute_layer_dense()
105 if (output_operand->length <= 0) { in ff_dnn_execute_layer_dense()
109 output_operand->data = av_realloc(output_operand->data, output_operand->length); in ff_dnn_execute_layer_dense()
110 if (!output_operand->data) { in ff_dnn_execute_layer_dense()
[all …]
Ddnn_backend_native_layer_pad.c107 DnnOperand *output_operand = &operands[output_operand_index]; in ff_dnn_execute_layer_pad() local
108 output_operand->dims[0] = new_number; in ff_dnn_execute_layer_pad()
109 output_operand->dims[1] = new_height; in ff_dnn_execute_layer_pad()
110 output_operand->dims[2] = new_width; in ff_dnn_execute_layer_pad()
111 output_operand->dims[3] = new_channel; in ff_dnn_execute_layer_pad()
112 output_operand->data_type = operands[input_operand_index].data_type; in ff_dnn_execute_layer_pad()
113 output_operand->length = ff_calculate_operand_data_length(output_operand); in ff_dnn_execute_layer_pad()
114 if (output_operand->length <= 0) { in ff_dnn_execute_layer_pad()
118 output_operand->data = av_realloc(output_operand->data, output_operand->length); in ff_dnn_execute_layer_pad()
119 if (!output_operand->data) { in ff_dnn_execute_layer_pad()
[all …]
Ddnn_backend_native_layer_conv2d.c203 DnnOperand *output_operand = &operands[output_operand_index]; in ff_dnn_execute_layer_conv2d() local
206 output_operand->dims[0] = operands[input_operand_indexes[0]].dims[0]; in ff_dnn_execute_layer_conv2d()
207 output_operand->dims[1] = height - pad_size * 2; in ff_dnn_execute_layer_conv2d()
208 output_operand->dims[2] = width - pad_size * 2; in ff_dnn_execute_layer_conv2d()
209 output_operand->dims[3] = conv_params->output_num; in ff_dnn_execute_layer_conv2d()
210 output_operand->data_type = operands[input_operand_indexes[0]].data_type; in ff_dnn_execute_layer_conv2d()
211 output_operand->length = ff_calculate_operand_data_length(output_operand); in ff_dnn_execute_layer_conv2d()
212 if (output_operand->length <= 0) { in ff_dnn_execute_layer_conv2d()
216 tmp = av_realloc(output_operand->data, output_operand->length); in ff_dnn_execute_layer_conv2d()
221 output_operand->data = tmp; in ff_dnn_execute_layer_conv2d()
[all …]
/third_party/node/deps/v8/src/compiler/backend/
Dregister-allocator.cc1670 InstructionOperand* output_operand = last_instruction->OutputAt(i); in MeetRegisterConstraintsForLastInstructionInBlock() local
1671 DCHECK(!output_operand->IsConstant()); in MeetRegisterConstraintsForLastInstructionInBlock()
1672 UnallocatedOperand* output = UnallocatedOperand::cast(output_operand); in MeetRegisterConstraintsForLastInstructionInBlock()