Home
last modified time | relevance | path

Searched refs:round_mode (Results 1 – 25 of 42) sorted by relevance

12

/external/vixl/src/
Dutils-vixl.cc336 FPRounding round_mode, in FPToFloat() argument
340 VIXL_ASSERT((round_mode == FPTieEven) || (round_mode == FPRoundOdd)); in FPToFloat()
341 USE(round_mode); in FPToFloat()
389 return FPRoundToFloat(sign, exponent, mantissa, round_mode); in FPToFloat()
448 FPRounding round_mode, in FPToFloat16() argument
452 VIXL_ASSERT(round_mode == FPTieEven); in FPToFloat16()
453 USE(round_mode); in FPToFloat16()
493 return FPRoundToFloat16(sign, exponent, mantissa, round_mode); in FPToFloat16()
503 FPRounding round_mode, in FPToFloat16() argument
507 VIXL_ASSERT(round_mode == FPTieEven); in FPToFloat16()
[all …]
Dutils-vixl.h1102 FPRounding round_mode) { in FPRound() argument
1106 VIXL_ASSERT((round_mode == FPTieEven) || (round_mode == FPRoundOdd)); in FPRound()
1180 if (round_mode == FPTieEven) { in FPRound()
1185 VIXL_ASSERT(round_mode == FPRoundOdd); in FPRound()
1214 if (round_mode == FPTieEven) { in FPRound()
1218 VIXL_ASSERT(round_mode == FPRoundOdd); in FPRound()
1239 if (round_mode == FPTieEven) { in FPRound()
1262 VIXL_ASSERT(round_mode == FPRoundOdd); in FPRound()
1289 FPRounding round_mode) { in FPRoundToDouble() argument
1294 round_mode); in FPRoundToDouble()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dquantize_and_dequantize_op.h50 QuantizerRoundMode round_mode, bool narrow_range,
59 QuantizerRoundMode round_mode, bool narrow_range,
102 QuantizerRoundMode round_mode, Vec output) { in ClampScaleAndRound() argument
103 switch (round_mode) { in ClampScaleAndRound()
129 QuantizerRoundMode round_mode, Vec output) { in ScaleAndRound() argument
130 switch (round_mode) { in ScaleAndRound()
144 QuantizerRoundMode round_mode, bool narrow_range, in ComputeQuantizationRange() argument
185 QuantizerRoundMode round_mode, bool narrow_range, in Compute()
203 ComputeQuantizationRange(signed_input, num_bits, round_mode, narrow_range, in Compute()
212 round_mode, output); in Compute()
[all …]
Dquantize_and_dequantize_op_gpu.cu.cc35 QuantizerRoundMode round_mode, bool narrow_range, in operator ()()
39 input_max_tensor, round_mode, narrow_range, output); in operator ()()
48 QuantizerRoundMode round_mode, bool narrow_range, in operator ()()
52 input_max_tensor, round_mode, narrow_range, output); in operator ()()
Dquantize_and_dequantize_op.cc383 Tensor* input_max_tensor, QuantizerRoundMode round_mode, in operator ()()
387 input_max_tensor, round_mode, narrow_range, out); in operator ()()
396 QuantizerRoundMode round_mode, bool narrow_range, in operator ()()
400 input_max_tensor, round_mode, narrow_range, out); in operator ()()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.quantization.pbtxt33 …argspec: "args=[\'input\', \'min_range\', \'max_range\', \'T\', \'mode\', \'round_mode\', \'name\'…
37 …n\', \'input_max\', \'signed_input\', \'num_bits\', \'range_given\', \'round_mode\', \'name\', \'n…
41 …n\', \'input_max\', \'signed_input\', \'num_bits\', \'range_given\', \'round_mode\', \'name\', \'n…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.quantization.pbtxt33 …argspec: "args=[\'input\', \'min_range\', \'max_range\', \'T\', \'mode\', \'round_mode\', \'name\'…
37 …n\', \'input_max\', \'signed_input\', \'num_bits\', \'range_given\', \'round_mode\', \'name\', \'n…
41 …n\', \'input_max\', \'signed_input\', \'num_bits\', \'range_given\', \'round_mode\', \'name\', \'n…
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_QuantizeAndDequantizeV4.pbtxt45 name: "round_mode"
47 The 'round_mode' attribute controls which rounding tie-breaking algorithm is
51 * HALF_TO_EVEN: this is the default round_mode.
Dapi_def_QuantizeAndDequantizeV2.pbtxt45 name: "round_mode"
47 The 'round_mode' attribute controls which rounding tie-breaking algorithm is
51 * HALF_TO_EVEN: this is the default round_mode.
124 The above round function rounds the value based on the given round_mode.
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DQuantizeV2.pbtxt162 name: "round_mode"
229 name: "round_mode"
296 name: "round_mode"
377 name: "round_mode"
DQuantizeAndDequantizeV2.pbtxt206 name: "round_mode"
271 name: "round_mode"
343 name: "round_mode"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DQuantizeV2.pbtxt162 name: "round_mode"
229 name: "round_mode"
296 name: "round_mode"
DQuantizeAndDequantizeV2.pbtxt206 name: "round_mode"
271 name: "round_mode"
DQuantizeAndDequantizeV4.pbtxt53 name: "round_mode"
/external/tensorflow/tensorflow/python/ops/
Dquantized_ops_test.py88 round_mode="HALF_TO_EVEN",
99 round_mode="HALF_TO_EVEN",
Darray_ops.py6120 round_mode="HALF_AWAY_FROM_ZERO", argument
6139 round_mode=round_mode,
6150 round_mode=round_mode,
6170 round_mode="HALF_AWAY_FROM_ZERO", argument
6183 round_mode=round_mode,
6194 round_mode=round_mode,
6253 round_mode="HALF_TO_EVEN", argument
6298 round_mode=round_mode,
6313 round_mode="HALF_TO_EVEN", argument
6385 round_mode=round_mode,
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ops/
Dquantization_ops.cc129 std::string round_mode; member
137 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "round_mode", &args->round_mode)); in ValidateQDQForExplicitPrecision()
138 if (args->round_mode != "HALF_TO_EVEN") { in ValidateQDQForExplicitPrecision()
140 << " has round_mode=" << args->round_mode in ValidateQDQForExplicitPrecision()
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2021-185.md37 round_mode='HALF_TO_EVEN',
76 round_mode='HALF_TO_EVEN',
Dtfsa-2021-099.md19 signed_input=False, num_bits=1, range_given=False, round_mode='HALF_TO_EVEN',
Dtfsa-2021-138.md20 round_mode='HALF_AWAY_FROM_ZERO',
Dtfsa-2021-184.md20 round_mode='HALF_TO_EVEN',
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.h71 DRI_CONF_OPT_E(round_mode, def, 0, 1, \
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.h71 DRI_CONF_OPT_E(round_mode, def, 0, 1, \
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcanonicalize.td225 $range_given, $round_mode, $narrow_range, $axis),
227 $range_given, $round_mode, $narrow_range, $axis)>;
/external/vixl/src/aarch64/
Dsimulator-aarch64.h4438 double FPRoundInt(double value, FPRounding round_mode);
4439 double FPRoundInt(double value, FPRounding round_mode, FrintMode frint_mode);
4440 double FPRoundIntCommon(double value, FPRounding round_mode);
4445 double FixedToDouble(int64_t src, int fbits, FPRounding round_mode);
4446 double UFixedToDouble(uint64_t src, int fbits, FPRounding round_mode);
4447 float FixedToFloat(int64_t src, int fbits, FPRounding round_mode);
4448 float UFixedToFloat(uint64_t src, int fbits, FPRounding round_mode);
4451 FPRounding round_mode);
4454 FPRounding round_mode);

12