Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmul.h35 const int32 clamped_output = in MulElementwise() local
38 output_data[i] = static_cast<int8_t>(clamped_output); in MulElementwise()
117 const int32 clamped_output = std::min( in BroadcastMul4DSlow() local
121 static_cast<int8_t>(clamped_output); in BroadcastMul4DSlow()
Dadd.h53 const int32 clamped_output = in AddElementwise() local
56 output_data[i] = static_cast<int8_t>(clamped_output); in AddElementwise()
130 const int32_t clamped_output = in BroadcastAdd4DSlow() local
134 static_cast<int8_t>(clamped_output); in BroadcastAdd4DSlow()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreference_ops.h592 const int32 clamped_output = in AddElementwise() local
595 output_data[i] = static_cast<uint8>(clamped_output); in AddElementwise()
626 const int32 clamped_output = in AddScalarBroadcast() local
629 output_data[i] = static_cast<uint8>(clamped_output); in AddScalarBroadcast()
679 const int16 clamped_output = std::min( in Add() local
681 output_data[i] = clamped_output; in Add()
829 const int32 clamped_output = in BroadcastAdd4DSlow() local
833 static_cast<uint8>(clamped_output); in BroadcastAdd4DSlow()
1022 const int32 clamped_output = in MulElementwise() local
1025 output_data[i] = static_cast<uint8>(clamped_output); in MulElementwise()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dquantized_conv_ops.cc175 const int32 clamped_output = std::max(top_clamped_output, lowest); in operator ()() local
178 (out_x * filter_count) + out_channel] = clamped_output; in operator ()()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h2761 const int32 clamped_output = in AddElementwise() local
2764 output_data[i] = static_cast<uint8>(clamped_output); in AddElementwise()
2863 const int32 clamped_output = in AddScalarBroadcast() local
2866 output_data[i] = static_cast<uint8>(clamped_output); in AddScalarBroadcast()
2919 const int16 clamped_output = std::min( in Add() local
2921 output_data[i] = clamped_output; in Add()
3264 const int32 clamped_output = in MulElementwise() local
3267 output_data[i] = static_cast<uint8>(clamped_output); in MulElementwise()
3328 const int32 clamped_output = in MulSimpleBroadcast() local
3331 output_data[i] = static_cast<uint8>(clamped_output); in MulSimpleBroadcast()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h2977 const int32 clamped_output = in AddElementwise() local
2980 output_data[i] = static_cast<uint8>(clamped_output); in AddElementwise()
3032 const int16 clamped_output = std::min( in Add() local
3034 output_data[i] = clamped_output; in Add()
3340 const int32 clamped_output = in MulElementwise() local
3343 output_data[i] = static_cast<uint8>(clamped_output); in MulElementwise()
3404 const int32 clamped_output = in MulSimpleBroadcast() local
3407 output_data[i] = static_cast<uint8>(clamped_output); in MulSimpleBroadcast()