Home
last modified time | relevance | path

Searched refs:output_channel (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Ddepthwise_conv.h68 const int output_channel = m + in_channel * depth_multiplier; in DepthwiseConvPerChannel() local
85 filter_shape, 0, filter_y, filter_x, output_channel)]; in DepthwiseConvPerChannel()
107 acc += bias_data[output_channel]; in DepthwiseConvPerChannel()
110 acc, output_multiplier[output_channel], in DepthwiseConvPerChannel()
111 output_shift[output_channel]); in DepthwiseConvPerChannel()
116 output_channel)] = static_cast<int8_t>(acc); in DepthwiseConvPerChannel()
165 const int output_channel = m + in_channel * depth_multiplier; in DepthwiseConvPerChannel() local
182 filter_shape, 0, filter_y, filter_x, output_channel)]; in DepthwiseConvPerChannel()
193 acc += bias_data[output_channel]; in DepthwiseConvPerChannel()
196 acc, output_multiplier[output_channel], in DepthwiseConvPerChannel()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddepthwiseconv_uint8.h243 const int output_channel = m + in_channel * depth_multiplier; in RunPerChannel() local
261 filter_shape, 0, filter_y, filter_x, output_channel)]; in RunPerChannel()
282 acc += bias_data[output_channel]; in RunPerChannel()
285 acc, output_multiplier[output_channel], in RunPerChannel()
286 output_shift[output_channel]); in RunPerChannel()
291 output_channel)] = static_cast<int8_t>(acc); in RunPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dconv_per_channel_quantized_16x8_test.cc68 for (int output_channel = 0; output_channel < output_depth; in PickOutputMultiplier() local
69 ++output_channel) { in PickOutputMultiplier()
87 filter_data[Offset(filter_shape, output_channel, filter_y, in PickOutputMultiplier()
96 acc += bias_data[output_channel]; in PickOutputMultiplier()
Ddepthwiseconv_per_channel_quantized_16x8_test.cc70 const int output_channel = m + in_channel * depth_multiplier; in PickOutputMultiplier() local
87 filter_shape, 0, filter_y, filter_x, output_channel)]; in PickOutputMultiplier()
94 acc += bias_data[output_channel]; in PickOutputMultiplier()
Ddepthwiseconv_per_channel_quantized_test.cc72 const int output_channel = m + in_channel * depth_multiplier; in PickOutputMultiplier() local
89 filter_shape, 0, filter_y, filter_x, output_channel)]; in PickOutputMultiplier()
95 acc += bias_data[output_channel]; in PickOutputMultiplier()
/external/XNNPACK/test/
Ddepth-to-space.cc70 size_t output_channel() { return output_dims[3]; } in output_channel() function in DepthToSpaceTest
230 output_channel(), input_channel(), output_channel(), block_size, /*flags=*/0, &op); in TEST_F()
294 output_channel(), input_channel(), output_channel(), block_size, /*flags=*/0, &op); in TEST_F()
355 output_channel(), input_channel(), output_channel(), block_size, /*flags=*/0, &op); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_fused_ops_test.cc1012 const int output_channel = 5; in TYPED_TEST_P() local
1014 this->VerifyFusedMatMul(batch, input_channel, output_channel, {"BiasAdd"}); in TYPED_TEST_P()
1020 const int output_channel = 5; in TYPED_TEST_P() local
1022 this->VerifyFusedMatMul(batch, input_channel, output_channel, in TYPED_TEST_P()
1029 const int output_channel = 5; in TYPED_TEST_P() local
1031 this->VerifyFusedMatMul(batch, input_channel, output_channel, in TYPED_TEST_P()
1038 const int output_channel = 5; in TYPED_TEST_P() local
1040 this->VerifyFusedMatMul(batch, input_channel, output_channel, in TYPED_TEST_P()
1047 const int output_channel = 5; in TYPED_TEST_P() local
1049 this->VerifyFusedMatMul(batch, input_channel, output_channel, in TYPED_TEST_P()
[all …]
/external/XNNPACK/src/operators/
Dconvolution-nhwc.c922 …for (size_t output_channel = 0; output_channel < groups * group_output_channels; output_channel++)… in xnn_create_convolution2d_nhwc_qc8() local
923 if (kernel_scale[output_channel] <= 0.0f || !isnormal(kernel_scale[output_channel])) { in xnn_create_convolution2d_nhwc_qc8()
927 … xnn_operator_type_to_string(xnn_operator_type_convolution_nhwc_qc8), kernel_scale[output_channel], in xnn_create_convolution2d_nhwc_qc8()
928 output_channel); in xnn_create_convolution2d_nhwc_qc8()
948 …for (size_t output_channel = 0; output_channel < groups * group_output_channels; output_channel++)… in xnn_create_convolution2d_nhwc_qc8() local
949 … requantization_scale[output_channel] = input_scale * kernel_scale[output_channel] / output_scale; in xnn_create_convolution2d_nhwc_qc8()
950 if (requantization_scale[output_channel] >= 256.0f) { in xnn_create_convolution2d_nhwc_qc8()
955 input_scale, kernel_scale[output_channel], output_scale, in xnn_create_convolution2d_nhwc_qc8()
956 output_channel, requantization_scale[output_channel]); in xnn_create_convolution2d_nhwc_qc8()
/external/webrtc/modules/audio_processing/test/
Ddebug_dump_test.cc278 msg->output_channel(0).size()); in VerifyDebugDump()
281 memcmp(output->channels()[i], msg->output_channel(i).data(), in VerifyDebugDump()
282 msg->output_channel(i).size())); in VerifyDebugDump()
Daec_dump_based_simulator.cc52 msg.output_channel(0).size() != out_config.num_frames()) { in VerifyFloatBitExactness()
57 if (msg.output_channel(ch).data()[sample] != in VerifyFloatBitExactness()
/external/webrtc/modules/audio_processing/
Ddebug.proto44 repeated bytes output_channel = 8; field
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dim2col_utils.h397 const int output_channel = im2col_shape.Dims(4); in Im2col3D() local
410 buffer_id += output_channel; in Im2col3D()
Doptimized_ops.h4336 const int output_channel = ext_output_shape.Dims(4); in PadImpl() local
4356 output_spatial_dim3 * output_channel); in PadImpl()
4364 output_spatial_dim3 * output_channel); in PadImpl()
4371 pad_value, left_s2_padding * output_spatial_dim3 * output_channel); in PadImpl()
4378 pad_value, left_s3_padding * output_channel); in PadImpl()
4399 out_w, output_channel - right_c_padding), in PadImpl()
4407 pad_value, right_s3_padding * output_channel); in PadImpl()
4414 pad_value, right_s2_padding * output_spatial_dim3 * output_channel); in PadImpl()
4423 output_channel); in PadImpl()
4432 output_spatial_dim3 * output_channel); in PadImpl()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_tfl.cc1160 int output_channel = 0; in matchAndRewrite() local
1164 output_channel = output_type.getDimSize(3); in matchAndRewrite()
1166 output_channel = filter_type.getDimSize(0); in matchAndRewrite()
1181 SmallVector<APInt> vec(output_channel, APInt(48, 0, true)); in matchAndRewrite()
1182 zero_bias = getConstTensor<APInt>(rewriter, op, vec, {output_channel}); in matchAndRewrite()
1184 SmallVector<int32_t> vec(output_channel, 0); in matchAndRewrite()
1185 zero_bias = getConstTensor<int32_t>(rewriter, op, vec, {output_channel}); in matchAndRewrite()
1188 SmallVector<float> vec(output_channel, 0.0f); in matchAndRewrite()
1189 zero_bias = getConstTensor<float>(rewriter, op, vec, {output_channel}); in matchAndRewrite()
Dlegalize_tf.cc1022 int output_channel = output_type.getShape()[3]; in matchAndRewrite() local
1023 SmallVector<float> vec(output_channel, 0.0f); in matchAndRewrite()
1025 getConstTensor<float>(rewriter, op, vec, {output_channel}); in matchAndRewrite()
/external/webrtc/rtc_tools/unpack_aecdump/
Dunpack.cc435 reinterpret_cast<const float*>(msg.output_channel(i).data()); in do_main()
/external/webrtc/webrtc/modules/audio_processing/
Ddebug.pb.h700 const std::string& output_channel(int index) const; in Swap()
711 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& output_channel() const; in Swap()
2683 inline const std::string& Stream::output_channel(int index) const { in output_channel() function
2730 Stream::output_channel() const { in output_channel() function
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dquantization_spec.md55 Often, the `quantized_dimension` is the `output_channel` of the weights of