Home
last modified time | relevance | path

Searched refs:output_range (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils.h248 const float output_range = max_output - min_output; in RequantizeManyInNewRangeReference() local
250 output_range == 0.0 ? 0.0 : (255.0 / output_range); in RequantizeManyInNewRangeReference()
253 output_range == 0.0 ? 0.0 in RequantizeManyInNewRangeReference()
255 input_range / output_range); in RequantizeManyInNewRangeReference()
259 output_range == 0.0 in RequantizeManyInNewRangeReference()
262 output_range); in RequantizeManyInNewRangeReference()
323 const float output_range = max_output - min_output; in RequantizeManyInNewRangeNeon() local
326 output_range == 0.0 ? 0.0 : (255.0 / output_range); in RequantizeManyInNewRangeNeon()
331 output_range == 0.0 ? 0.0 in RequantizeManyInNewRangeNeon()
333 input_range / output_range); in RequantizeManyInNewRangeNeon()
[all …]
Dquantized_add_op.cc494 const float output_range = (biggest_range * (1 << 14)); in Compute() local
495 const float min_z_value = -output_range; in Compute()
496 const float max_z_value = output_range; in Compute()
/external/u-boot/drivers/power/regulator/
Dsandbox.c36 struct output_range { struct
43 static struct output_range buck_voltage_range[] = { argument
49 static struct output_range buck_current_range[] = {
61 static struct output_range ldo_voltage_range[] = {
67 static struct output_range ldo_current_range[] = {
80 struct output_range *range) in out_get_value()
107 struct output_range *range, int value) in out_set_value()
Dstpmu1.c45 const struct stpmu1_output_range *output_range) in stpmu1_output_find_uv() argument
50 for (i = 0, range = output_range->ranges; in stpmu1_output_find_uv()
51 i < output_range->nbranges; i++, range++) { in stpmu1_output_find_uv()
61 const struct stpmu1_output_range *output_range) in stpmu1_output_find_sel() argument
66 for (i = 0, range = output_range->ranges; in stpmu1_output_find_sel()
67 i < output_range->nbranges; i++, range++) { in stpmu1_output_find_sel()
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.cc178 const auto& output_range = output->second; in ExpandFunctionDefInput() local
182 output_range.second - output_range.first); in ExpandFunctionDefInput()
184 for (int i = output_range.first; i < output_range.second; ++i) { in ExpandFunctionDefInput()
189 if (position > (output_range.second - output_range.first)) { in ExpandFunctionDefInput()
194 int pos = output_range.first + position; in ExpandFunctionDefInput()
254 const auto& output_range = el.second; in AsFunctionDefInput() local
255 if (index >= output_range.first && index < output_range.second) { in AsFunctionDefInput()
256 int pos = index - output_range.first; in AsFunctionDefInput()