Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_IsFinite.pbtxt4 name: "math.is_finite"
7 name: "debugging.is_finite"
11 name: "is_finite"
/external/skia/tests/
DFloat16Test.cpp23 static bool is_finite(uint16_t h) { in is_finite() function
29 if (!is_finite(h)) { in DEF_TEST()
56 if (!is_finite(expected)) {
/external/skqp/tests/
DFloat16Test.cpp23 static bool is_finite(uint16_t h) { in is_finite() function
29 if (!is_finite(h)) { in DEF_TEST()
56 if (!is_finite(expected)) {
/external/skqp/src/core/
DSkColorSpaceXformSteps.cpp101 auto is_finite = [](float x) { return x*0 == 0; }; in apply() local
103 float invA = is_finite(1.0f / rgba[3]) ? 1.0f / rgba[3] : 0; in apply()
DSkEdgeBuilder.cpp345 bool is_finite = true; in build() local
351 auto apply_clipper = [this, &clipper, &is_finite] { in build()
358 is_finite = false; in build()
457 return is_finite ? fList.count() : 0; in build()
DSkScan_Hairline.cpp382 Sk2x32 is_finite(~0); // start out as true in hair_cubic() local
386 is_finite &= sk2s_is_finite(p); in hair_cubic()
389 if (is_finite.allTrue()) { in hair_cubic()
/external/skia/src/core/
DSkColorSpaceXformSteps.cpp101 auto is_finite = [](float x) { return x*0 == 0; }; in apply() local
103 float invA = is_finite(1.0f / rgba[3]) ? 1.0f / rgba[3] : 0; in apply()
DSkEdgeBuilder.cpp345 bool is_finite = true; in build() local
351 auto apply_clipper = [this, &clipper, &is_finite] { in build()
358 is_finite = false; in build()
457 return is_finite ? fList.count() : 0; in build()
DSkScan_Hairline.cpp382 Sk2x32 is_finite(~0); // start out as true in hair_cubic() local
386 is_finite &= sk2s_is_finite(p); in hair_cubic()
389 if (is_finite.allTrue()) { in hair_cubic()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc491 Status HloEvaluator::HandleIsFinite(HloInstruction* is_finite) { in HandleIsFinite() argument
492 auto operand = is_finite->operand(0); in HandleIsFinite()
521 is_finite, in HandleIsFinite()
526 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
531 is_finite, in HandleIsFinite()
536 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
541 is_finite, in HandleIsFinite()
544 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
549 is_finite, in HandleIsFinite()
552 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
Dhlo_evaluator.h201 Status HandleIsFinite(HloInstruction* is_finite) override;
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dhalf_normal_test.py53 is_finite = np.isfinite(tensor.eval())
54 all_true = np.ones_like(is_finite, dtype=np.bool)
55 self.assertAllEqual(all_true, is_finite)
Dcauchy_test.py54 is_finite = np.isfinite(tensor.eval())
55 all_true = np.ones_like(is_finite, dtype=np.bool)
56 self.assertAllEqual(all_true, is_finite)
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dspecial_math_test.py88 is_finite = np.isfinite(x)
89 all_true = np.ones_like(is_finite, dtype=np.bool)
90 self.assertAllEqual(all_true, is_finite)
Dnormal_test.py59 is_finite = np.isfinite(self.evaluate(tensor))
60 all_true = np.ones_like(is_finite, dtype=np.bool)
61 self.assertAllEqual(all_true, is_finite)
/external/tensorflow/tensorflow/contrib/mixed_precision/python/
Dloss_scale_optimizer.py150 is_finite_grad.append(math_ops.reduce_all(gen_math_ops.is_finite(g)))
Dloss_scale_manager.py167 gen_math_ops.is_finite(self._loss_scale * self._incr_ratio),
/external/tensorflow/tensorflow/compiler/tf2xla/python/
Dxla.py89 is_finite = _unary_op(math_ops.is_finite) variable
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.debugging.pbtxt96 name: "is_finite"
/external/python/cpython3/Lib/
Dstatistics.py164 return x.is_finite() # Likely a Decimal.
/external/tensorflow/tensorflow/contrib/eager/python/examples/l2hmc/
Dl2hmc.py232 return tf.where(tf.is_finite(prob), prob, tf.zeros_like(prob))
/external/python/cpython2/Lib/
Dfractions.py194 if not dec.is_finite():
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dmath_test.py64 math_ops.is_finite,
/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_test.py227 math_ops.is_finite,
402 math_ops.is_finite,
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dmap_vectorization_test.py79 ("IsFinite", math_ops.is_finite),

12