OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:quant_max
(Results
1 - 3
of
3
) sorted by null
/external/tensorflow/tensorflow/core/kernels/
fake_quant_ops_functor.h
42
const float min, const float max, const int quant_min, const int
quant_max
,
45
const float quant_max_float = static_cast<float>(
quant_max
);
49
quant_min_float,
quant_max
,
55
return static_cast<uint16>(
quant_max
);
81
const float max, const int quant_min, const int
quant_max
,
88
Nudge(min, max, quant_min,
quant_max
, &nudged_min, &nudged_max,
106
const int quant_min, const int
quant_max
,
113
Nudge(min, max, quant_min,
quant_max
, &nudged_min, &nudged_max,
129
const int quant_min, const int
quant_max
,
139
Nudge(min_val, max_val, quant_min,
quant_max
, &nudged_min, &nudged_max
[
all
...]
fake_quant_ops.cc
153
const float min, const float max, const int quant_min, const int
quant_max
,
163
const int quant_min, const int
quant_max
,
274
const int
quant_max
, typename TTypes<float>::Flat output);
288
const int
quant_max
, typename TTypes<float>::Flat backprops_wrt_input,
420
const int
quant_max
, typename TTypes<float>::Matrix outputs);
434
const int quant_min, const int
quant_max
,
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
fake_quantize_ops.cc
28
const float
quant_max
, float* nudged_min, float* nudged_max,
30
*scale = (max - min) / (
quant_max
- quant_min);
36
} else if (zero_point_from_min >=
quant_max
) {
37
nudged_zero_point =
quant_max
;
43
*nudged_max = (
quant_max
- nudged_zero_point) * (*scale);
61
xla::ComputationDataHandle
quant_max
=
local
65
b->Select(b->Ge(zero_point_from_min,
quant_max
),
quant_max
,
68
*nudged_max = b->Mul(b->Sub(
quant_max
, nudged_zero_point), *scale);
152
const float
quant_max
= (1 << num_bits) - 1
local
[
all
...]
Completed in 87 milliseconds