Home
last modified time | relevance | path

Searched refs:fp_shift (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils.h246 const int fp_shift = 16; in RequantizeManyInNewRangeReference() local
254 : static_cast<int64>(255.0 * (1 << fp_shift) * in RequantizeManyInNewRangeReference()
257 static_cast<int64>(input_rezero * recip_output_range * (1 << fp_shift)); in RequantizeManyInNewRangeReference()
261 : static_cast<int64>((1 << fp_shift) * (min_output * 255.0) / in RequantizeManyInNewRangeReference()
263 const int64 rounding_delta = 1 << (fp_shift - 1); in RequantizeManyInNewRangeReference()
275 int64 quantized_int64 = round_intermediate >> fp_shift; in RequantizeManyInNewRangeReference()
317 const int fp_shift = 16; in RequantizeManyInNewRangeNeon() local
332 : static_cast<int32>(255.0 * (1 << (fp_shift - 16)) * in RequantizeManyInNewRangeNeon()
336 static_cast<int32>(input_rezero * recip_output_range * (1 << fp_shift)); in RequantizeManyInNewRangeNeon()
341 : static_cast<int32>((1 << fp_shift) * (min_output * 255.0) / in RequantizeManyInNewRangeNeon()
[all …]
/external/v8/src/ppc/
Dsimulator-ppc.cc3651 int fp_shift = (7 - bfa) * CRWIDTH; in ExecuteGeneric() local
3652 int field_val = (fp_condition_reg_ >> fp_shift) & 0xF; in ExecuteGeneric()