Home
last modified time | relevance | path

Searched refs:is_inf (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_IsInf.pbtxt4 name: "math.is_inf"
7 name: "debugging.is_inf"
11 name: "is_inf"
/external/tensorflow/tensorflow/core/kernels/
Dcheck_numerics_op.cc290 const int is_inf = abnormality_indicators(1); in checkForAnomalies() local
291 if (is_nan || is_inf) { in checkForAnomalies()
293 << " = {" << is_nan << ", " << is_inf << "} " << message_; in checkForAnomalies()
296 if (is_nan && is_inf) { in checkForAnomalies()
300 } else if (is_inf) { in checkForAnomalies()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_events_monitors.py177 is_inf = np.isinf(tensor_value)
179 np.logical_and(is_inf, np.less(tensor_value, 0.0)))
181 np.logical_and(is_inf, np.greater(tensor_value, 0.0)))
Dcheck_numerics_callback.py174 is_inf = np.isinf(tensor)
176 num_neg_inf = np.sum(np.logical_and(np.less(tensor, 0.), is_inf))
177 num_pos_inf = np.sum(np.logical_and(np.greater(tensor, 0.), is_inf))
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_IsInf.pbtxt13 tf.math.is_inf(x) ==> [False, True, False, True]
/external/rust/crates/serde_json/src/lexical/
Dnum.rs267 fn is_inf(self) -> bool { in is_inf() method
299 debug_assert!(self.is_sign_positive() && !self.is_inf()); in next_positive()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_float.c153 LLVMValueRef infcheck_src, is_inf, is_nan; in lp_build_float_to_smallfloat() local
165 is_inf = lp_build_compare(gallivm, i32_type, PIPE_FUNC_EQUAL, in lp_build_float_to_smallfloat()
167 is_nan_or_inf = lp_build_or(&i32_bld, is_nan, is_inf); in lp_build_float_to_smallfloat()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_test_ops.py53 math_ops.is_inf,
Dragged_dispatch.py318 math_ops.is_inf,
/external/one-true-awk/
Dlib.c788 bool is_inf = false; in is_valid_number() local
803 is_inf = (strncasecmp(s+1, "inf", 3) == 0); in is_valid_number()
804 if ((is_nan || is_inf) in is_valid_number()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dchlo_legalize_to_hlo_patterns.td284 // Express `is_inf` as
285 // is_inf(x) = is_pos_inf(|x|)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.debugging.pbtxt116 name: "is_inf"
Dtensorflow.math.pbtxt208 name: "is_inf"
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h598 bool is_inf =
604 if (is_inf) {
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h668 bool is_inf =
674 if (is_inf) {
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h668 bool is_inf =
674 if (is_inf) {
/external/python/cpython2/Lib/test/
Dtest_float.py1008 self.assertTrue(INF.is_inf())
1009 self.assertFalse(NAN.is_inf())
1010 self.assertFalse((0.).is_inf())
/external/tensorflow/tensorflow/python/tpu/
Dtensor_tracer.py769 gen_math_ops.is_nan(tensor), gen_math_ops.is_inf(tensor)))
1332 gen_math_ops.is_nan(cache), gen_math_ops.is_inf(cache)))
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlower_tf.cc711 Value is_inf = rewriter.create<IsInfOp>(loc, tensor_bool_type, input); in matchAndRewrite() local
712 result = rewriter.create<SelectV2Op>(loc, is_inf, infinity, result); in matchAndRewrite()
/external/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h597 struct is_inf { struct
602 inline cstfp_pred_ty<is_inf> m_Inf() { in m_Inf() argument
603 return cstfp_pred_ty<is_inf>(); in m_Inf()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dmap_vectorization_test.py109 ("IsInf", math_ops.is_inf),
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
DBUILD978 "is_inf",
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dmath_test.py108 math_ops.is_inf,
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dchlo_ops.td609 def HLOClient_IsInfOp : HLOClient_UnaryElementwiseOp<"is_inf",
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.math.pbtxt208 name: "is_inf"

12