Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dprelu.h66 const int32_t clamped_output = in BroadcastPrelu4DSlow() local
68 output_data[output_index] = static_cast<T>(clamped_output); in BroadcastPrelu4DSlow()
100 const int32_t clamped_output = in Prelu() local
102 output_data[i] = static_cast<T>(clamped_output); in Prelu()
Dmul.h37 const int32_t clamped_output = in MulElementwise() local
40 output_data[i] = static_cast<uint8_t>(clamped_output); in MulElementwise()
103 const int32_t clamped_output = std::min( in BroadcastMul4DSlow() local
107 static_cast<uint8_t>(clamped_output); in BroadcastMul4DSlow()
Dsub.h156 const int32_t clamped_output = in BroadcastSubSlow() local
160 static_cast<uint8_t>(clamped_output); in BroadcastSubSlow()
250 const int32_t clamped_output = in BroadcastSubSlow() local
254 static_cast<int8_t>(clamped_output); in BroadcastSubSlow()
370 const int32_t clamped_output = in BroadcastSub16POTSlow() local
374 static_cast<int16_t>(clamped_output); in BroadcastSub16POTSlow()
405 const int32_t clamped_output = in SubElementwise() local
408 output_data[i] = static_cast<uint8_t>(clamped_output); in SubElementwise()
439 const int32_t clamped_output = in SubElementwise() local
442 output_data[i] = static_cast<int8_t>(clamped_output); in SubElementwise()
Dadd.h83 const int32_t clamped_output = in AddElementwise() local
86 output_data[i] = static_cast<T>(clamped_output); in AddElementwise()
117 const int32_t clamped_output = in AddScalarBroadcast() local
120 output_data[i] = static_cast<uint8_t>(clamped_output); in AddScalarBroadcast()
199 const int16_t clamped_output = std::min(
201 output_data[i] = clamped_output;
339 const int32_t clamped_output = in BroadcastAdd4DSlow() local
343 static_cast<T>(clamped_output); in BroadcastAdd4DSlow()
Ddiv.h54 const int32 clamped_output = in DivElementwise() local
57 output_data[i] = static_cast<uint8>(clamped_output); in DivElementwise()
118 const int32 clamped_output = in BroadcastDivSlow() local
122 static_cast<uint8>(clamped_output); in BroadcastDivSlow()
Dleaky_relu.h60 const T clamped_output = in QuantizeLeakyRelu() local
62 output_data[i] = static_cast<T>(clamped_output); in QuantizeLeakyRelu()
Drequantize.h59 const int32_t clamped_output = in Requantize() local
61 output_data[i] = static_cast<output_type>(clamped_output); in Requantize()
Dreference_ops.h296 const int16 clamped_output = std::min( in Sub16() local
298 output_data[i] = clamped_output; in Sub16()
309 const int16 clamped_output = std::min( in Sub16() local
311 output_data[i] = clamped_output; in Sub16()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmul.h37 const int32_t clamped_output = in MulElementwise() local
40 output_data[i] = static_cast<T>(clamped_output); in MulElementwise()
118 const int32_t clamped_output = std::min( in BroadcastMul4DSlow() local
122 static_cast<T>(clamped_output); in BroadcastMul4DSlow()
Dadd.h102 const int32_t clamped_output = in AddFunc() local
105 return static_cast<int8_t>(clamped_output); in AddFunc()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmul.h133 const int32 clamped_output = in MulElementwise() local
136 output_data[i] = static_cast<int8>(clamped_output); in MulElementwise()
225 const int32 clamped_output = in MulSimpleBroadcast() local
228 output_data[i] = static_cast<int8>(clamped_output); in MulSimpleBroadcast()
Dadd.h159 const int32 clamped_output = in AddElementwise() local
162 output_data[i] = static_cast<int8>(clamped_output); in AddElementwise()
259 const int32 clamped_output = in AddScalarBroadcast() local
262 output_data[i] = static_cast<int8>(clamped_output); in AddScalarBroadcast()
/external/tensorflow/tensorflow/lite/kernels/
Dsquared_difference.cc165 const int32_t clamped_output = in SquaredDifference() local
168 return static_cast<int8_t>(clamped_output); in SquaredDifference()
/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.h1942 const int32 clamped_output = in AddElementwise() local
1945 output_data[i] = static_cast<uint8>(clamped_output); in AddElementwise()
2044 const int32 clamped_output = in AddScalarBroadcast() local
2047 output_data[i] = static_cast<uint8>(clamped_output); in AddScalarBroadcast()
2133 const int16 clamped_output = std::min( in Add() local
2135 output_data[i] = clamped_output; in Add()
2445 const int32 clamped_output = in MulElementwise() local
2448 output_data[i] = static_cast<uint8>(clamped_output); in MulElementwise()
2514 const int32 clamped_output = in MulSimpleBroadcast() local
2517 output_data[i] = static_cast<uint8>(clamped_output); in MulSimpleBroadcast()
[all …]