/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_IsFinite.pbtxt | 4 name: "math.is_finite" 7 name: "debugging.is_finite" 11 name: "is_finite"
|
/external/tensorflow/tensorflow/python/training/experimental/ |
D | loss_scale.py | 284 math_ops.reduce_all(math_ops.is_finite(g)) for g in grads if g is not None 309 math_ops.is_finite(value), lambda: _op_in_graph_mode(var.assign(value)), 406 is_finite = _is_all_finite(grads) 409 return math_ops.cast(is_finite, dtypes.float32) 415 is_finite = math_ops.equal(reduced_is_finite_float, 418 is_finite = _is_all_finite(grads) 443 update_op = control_flow_ops.cond(is_finite, update_if_finite_grads, 445 should_apply_gradients = is_finite
|
D | loss_scale_test.py | 108 def _get_tensor(self, is_finite): argument 109 tensor = control_flow_ops.cond(is_finite, lambda: 1., lambda: float('NaN')) 137 is_finite = itr.get_next() 138 grad = self._get_tensor(is_finite) 140 assert_op = check_ops.assert_equal(should_apply_gradients, is_finite)
|
/external/skia/tests/ |
D | Float16Test.cpp | 23 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/ |
D | Float16Test.cpp | 23 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/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | loss_scale_optimizer.py | 186 math_ops.reduce_all(math_ops.is_finite(g)) for g in grads if g is not None 211 math_ops.is_finite(value), lambda: _op_in_graph_mode(var.assign(value)), 347 is_finite = _is_all_finite(grads) 350 return math_ops.cast(is_finite, dtypes.float32) 356 is_finite = math_ops.equal(reduced_is_finite_float, 359 is_finite = _is_all_finite(grads) 384 update_op = control_flow_ops.cond(is_finite, update_if_finite_grads, 386 should_apply_gradients = is_finite
|
/external/rust/crates/rand/src/distributions/ |
D | utils.rs | 241 fn is_finite(self) -> bool; in is_finite() method 304 fn is_finite(self) -> bool { 325 self.is_finite() 330 self.is_finite()
|
/external/rust/crates/num-traits/src/ |
D | float.rs | 220 fn is_finite(self) -> bool { in is_finite() method 802 Self::is_finite(self) -> bool; 877 Self::is_finite(self) -> bool; 1062 fn is_finite(self) -> bool; in is_finite() method 1840 Self::is_finite(self) -> bool; 1922 FloatCore::is_finite(self) -> bool;
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_IsFinite.pbtxt | 13 tf.math.is_finite(x) ==> [True, True, True, False, False]
|
/external/skqp/src/core/ |
D | SkColorSpaceXformSteps.cpp | 101 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()
|
D | SkEdgeBuilder.cpp | 345 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()
|
/external/skia/src/core/ |
D | SkEdgeBuilder.cpp | 292 bool is_finite = true; in build() local 322 is_finite = rec.fIsFinite; in build() 360 return is_finite ? fList.count() : 0; in build()
|
D | SkColorSpaceXformSteps.cpp | 99 auto is_finite = [](float x) { return x*0 == 0; }; in apply() local 101 float invA = is_finite(1.0f / rgba[3]) ? 1.0f / rgba[3] : 0; in apply()
|
/external/rust/crates/ryu/tests/ |
D | exhaustive.rs | 35 if !f.is_finite() { in test_exhaustive()
|
D | f2s_test.rs | 59 assert!(!f.is_finite(), "f={}", f); in test_non_finite()
|
D | d2s_test.rs | 64 assert!(!f.is_finite(), "f={}", f); in test_non_finite()
|
/external/rust/crates/ryu/examples/ |
D | upstream_benchmark.rs | 49 if f.is_finite() {
|
/external/rust/crates/proc-macro2/src/ |
D | lib.rs | 1109 assert!(f.is_finite()); in f64_unsuffixed() 1127 assert!(f.is_finite()); in f64_suffixed() 1145 assert!(f.is_finite()); in f32_unsuffixed() 1163 assert!(f.is_finite()); in f32_suffixed()
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_tensor_test_ops.py | 52 math_ops.is_finite,
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | special_math_test.py | 88 is_finite = np.isfinite(x) 89 all_true = np.ones_like(is_finite, dtype=np.bool) 90 self.assertAllEqual(all_true, is_finite)
|
/external/rust/crates/serde_json/src/ |
D | number.rs | 133 return self.n.parse::<f64>().ok().map_or(false, |f| f.is_finite()); in is_f64() 214 self.n.parse::<f64>().ok().filter(|float| float.is_finite()) in as_f64() 231 if f.is_finite() { in from_f64()
|
/external/rust/crates/criterion/src/analysis/ |
D | compare.rs | 91 .filter(|a| a.is_finite()) in t_test()
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | linalg_impl.py | 325 is_finite = math_ops.is_finite(math_ops.reduce_max(l1_norm)) 328 is_finite, lambda: linalg_ops.matrix_solve(-u + v, u + v), 334 return control_flow_ops.cond(is_finite,
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator.cc | 528 Status HloEvaluator::HandleIsFinite(HloInstruction* is_finite) { in HandleIsFinite() argument 529 auto operand = is_finite->operand(0); in HandleIsFinite() 558 is_finite, in HandleIsFinite() 563 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 568 is_finite, in HandleIsFinite() 573 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 578 is_finite, in HandleIsFinite() 581 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 586 is_finite, in HandleIsFinite() 589 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
|
/external/tensorflow/tensorflow/compiler/tf2xla/python/ |
D | xla.py | 93 is_finite = _unary_op(math_ops.is_finite) variable
|