/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 | 245 math_ops.reduce_all(math_ops.is_finite(g)) for g in grads if g is not None 270 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
|
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/skia/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 | 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 | SkScan_Hairline.cpp | 382 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/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()
|
D | SkScan_Hairline.cpp | 382 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/core/api_def/base_api/ |
D | api_def_IsFinite.pbtxt | 13 tf.math.is_finite(x) ==> [True, True, True, False, False]
|
/external/rust/crates/proc-macro2/src/ |
D | lib.rs | 1046 assert!(f.is_finite()); in f64_unsuffixed() 1064 assert!(f.is_finite()); in f64_suffixed() 1082 assert!(f.is_finite()); in f32_unsuffixed() 1100 assert!(f.is_finite()); in f32_suffixed()
|
/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)
|
D | normal_test.py | 59 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/compiler/tf2xla/python/ |
D | xla.py | 90 is_finite = _unary_op(math_ops.is_finite) variable
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator.cc | 516 Status HloEvaluator::HandleIsFinite(HloInstruction* is_finite) { in HandleIsFinite() argument 517 auto operand = is_finite->operand(0); in HandleIsFinite() 546 is_finite, in HandleIsFinite() 551 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 556 is_finite, in HandleIsFinite() 561 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 566 is_finite, in HandleIsFinite() 569 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 574 is_finite, in HandleIsFinite() 577 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
|
D | hlo_evaluator.h | 207 Status HandleIsFinite(HloInstruction* is_finite) override;
|
/external/tensorflow/tensorflow/python/ops/ |
D | clip_ops.py | 330 math_ops.is_finite(use_norm),
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.debugging.pbtxt | 112 name: "is_finite"
|
/external/python/cpython2/Lib/ |
D | fractions.py | 194 if not dec.is_finite():
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | unary_ops_test.py | 204 math_ops.is_finite, 383 math_ops.is_finite,
|
/external/tensorflow/tensorflow/python/distribute/ |
D | cross_device_utils.py | 166 array_ops.reduce_all(array_ops.is_finite(grads)))
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_dispatch.py | 312 math_ops.is_finite,
|
D | ragged_dispatch_test.py | 66 math_ops.is_finite,
|