- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 72 for IsNaN (0.04 sec)
-
src/main/webapp/js/admin/plugins/form-validator/color.js
,[0-9]{1,3}%,[0-9]{1,3}%,[0,1]{1}.?[0-9]*\)/i;if(e.match(f)){var g=e.replace(/\(/g,"").replace(/\)/g,""),h=g.split(","),i=!0;return h.forEach(function(a,c){var e=b(a);Number.isInteger(e)?0===c?(d=0<=e&&e<=360,d||(i=!1)):(d=0<=e&&e<=100,d||(i=!1)):isNaN(e)?(e=parseInt(a),d=0<=e&&e<=100,d||(i=!1)):(d=0<=e&&e<=1,d||(i=!1))}),i}return!1},errorMessage:"",errorMessageKey:"badHsla"})}(a)});...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.8K bytes - Viewed (0) -
src/math/erfinv.go
// // Special cases are: // // Erfinv(1) = +Inf // Erfinv(-1) = -Inf // Erfinv(x) = NaN if x < -1 or x > 1 // Erfinv(NaN) = NaN func Erfinv(x float64) float64 { // special cases if IsNaN(x) || x <= -1 || x >= 1 { if x == -1 || x == 1 { return Inf(int(x)) } return NaN() } sign := false if x < 0 { x = -x sign = true } var ans float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 3.4K bytes - Viewed (0) -
src/slices/sort_test.go
for i := 0; i < len(fs); i++ { testfs := Clone(fs) testfs[i] = math.NaN() fmin := Min(testfs) if !math.IsNaN(fmin) { t.Errorf("got min %v, want NaN", fmin) } fmax := Max(testfs) if !math.IsNaN(fmax) { t.Errorf("got max %v, want NaN", fmax) } } } func TestMinMaxPanics(t *testing.T) { intCmp := func(a, b int) int { return a - b }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/c/kernels/histogram_summary_op.cc
tensorflow::histogram::Histogram histo; for (int64_t i = 0; i < TF_TensorElementCount(safe_values_ptr.get()); ++i) { const double double_val = static_cast<double>(values_array[i]); if (Eigen::numext::isnan(double_val)) { std::ostringstream err; err << "Nan in summary histogram for: " << k->op_node_name; TF_SetStatus(status.get(), TF_INVALID_ARGUMENT, err.str().c_str());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.5K bytes - Viewed (0) -
src/math/sqrt.go
// Note: On systems where Sqrt is a single instruction, the compiler // may turn a direct call into a direct use of that instruction instead. func sqrt(x float64) float64 { // special cases switch { case x == 0 || IsNaN(x) || IsInf(x, 1): return x case x < 0: return NaN() } ix := Float64bits(x) // normalize x exp := int((ix >> shift) & mask) if exp == 0 { // subnormal x for ix&(1<<shift) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 15 17:07:57 UTC 2022 - 4.8K bytes - Viewed (0) -
src/math/log1p.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.3K bytes - Viewed (0) -
src/math/gamma.go
// Gamma(-Inf) = NaN // Gamma(NaN) = NaN func Gamma(x float64) float64 { const Euler = 0.57721566490153286060651209008240243104215933593992 // A001620 // special cases switch { case isNegInt(x) || IsInf(x, -1) || IsNaN(x): return NaN() case IsInf(x, 1): return Inf(1) case x == 0: if Signbit(x) { return Inf(-1) } return Inf(1) } q := Abs(x) p := Floor(q) if q > 33 { if x >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 5.5K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker_test.cc
auto y = Div(scope, x, Sub(scope, x, x)); float max_error; TF_ASSERT_OK((ComputeGradientError<float, float, float>( scope, {x}, {shape}, {y}, {shape}, &max_error))); EXPECT_TRUE(std::isnan(max_error)); } TEST(GradientCheckerTest, MatMulGrad) { Scope scope = Scope::NewRootScope(); TensorShape x_shape({4, 3}); TensorShape y_shape({3, 2}); TensorShape z_shape({4, 2});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 06 15:54:08 UTC 2018 - 6.7K bytes - Viewed (0) -
src/math/expm1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary
TensorArrayV3 8 TensorArrayWriteV3 9 Unique 2 VariableV2 164 _Retval 5 cluster 0 size 440 Abs 40 AddN 1 Any 41 Cast 40 ConcatV2 2 Const 95 ExpandDims 2 IsInf 1 IsNan 40 L2Loss 40 LogicalOr 1 Max 41 Minimum 1 Mul 82 Pack 3 Reciprocal 2 Reshape 2 ReverseSequence 1 Sqrt 1 Sum 1 Transpose 3 cluster 1 size 86 BroadcastGradientArgs 1 Cast 5
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 06 10:38:14 UTC 2023 - 5K bytes - Viewed (0)