Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for lgamma (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // Compute the reflected value, used when x < 0.5:
        //
        //   lgamma(x) = log(pi) - lgamma(1-x) - log(abs(sin(pi * x))).
        //
        // (The abs is because lgamma is the log of the absolute value of the gamma
        // function.)
        //
        // We have to be careful when computing the final term above. gamma(x) goes
        // to +/-inf at every integer x < 0, and this is controlled by the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                "Rsqrt", "Sigmoid", "Sign", "Sinh", "Softplus", "Softsign", "Sqrt",
                "Square", "Tan", "Tanh", "Real", "Imag", "Erf", "Erfc", "Erfinv",
                "Lgamma", "Digamma",
                // Binary
                "Add", "AddV2", "Sub", "Mul", "Div", "Atan2", "Complex", "DivNoNan",
                "MulNoNan", "FloorDiv", "Xlogy", "Xlog1py", "Xdivy", "FloorMod",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. src/crypto/internal/mlkem768/mlkem768_test.go

    		}
    	}
    }
    
    func TestGammas(t *testing.T) {
    	ζ := big.NewInt(17)
    	q := big.NewInt(q)
    	for k, gamma := range gammas {
    		// ζ^2BitRev7(i)+1
    		exp := new(big.Int).Exp(ζ, big.NewInt(int64(BitRev7(uint8(k)))*2+1), q)
    		if big.NewInt(int64(gamma)).Cmp(exp) != 0 {
    			t.Errorf("gammas[%d] = %v, expected %v", k, gamma, exp)
    		}
    	}
    }
    
    func TestRoundTrip(t *testing.T) {
    	dk, err := GenerateKey()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/crypto/elliptic/params.go

    	z3.Mul(z3, z3)
    	z3.Sub(z3, gamma)
    	if z3.Sign() == -1 {
    		z3.Add(z3, curve.P)
    	}
    	z3.Sub(z3, delta)
    	if z3.Sign() == -1 {
    		z3.Add(z3, curve.P)
    	}
    	z3.Mod(z3, curve.P)
    
    	beta.Lsh(beta, 2)
    	beta.Sub(beta, x3)
    	if beta.Sign() == -1 {
    		beta.Add(beta, curve.P)
    	}
    	y3 := alpha.Mul(alpha, beta)
    
    	gamma.Mul(gamma, gamma)
    	gamma.Lsh(gamma, 3)
    	gamma.Mod(gamma, curve.P)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    	{"hello\x01world", 1, []string{"hello\x01"}, nil},
    	{"foo\nbar", 0, []string{"foo\nbar"}, io.EOF},
    	{"alpha\nbeta\ngamma\n", '\n', []string{"alpha\n", "beta\n", "gamma\n"}, nil},
    	{"alpha\nbeta\ngamma", '\n', []string{"alpha\n", "beta\n", "gamma"}, io.EOF},
    }
    
    func TestReadBytes(t *testing.T) {
    	for _, test := range readBytesTests {
    		buf := NewBufferString(test.buffer)
    		var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    Compute the upper regularized incomplete Gamma function `Q(a, x)`.
      }];
    
      let description = [{
    The upper regularized incomplete Gamma function is defined as:
    
    \\(Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x)\\)
    
    where
    
    \\(Gamma(a, x) = \int_{x}^{\infty} t^{a-1} exp(-t) dt\\)
    
    is the upper incomplete Gamma function.
    
    Note, above `P(a, x)` (`Igamma`) is the lower regularized complete
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

        $t, $m, $v, $beta, $gamma, F32Attr:$variance_epsilon, ConstBoolAttrFalse:$scale_after_normalization),
      (TF_AddOp
        (TF_MulOp $t, (TF_RsqrtOp:$rsqrt (TF_AddOp $v, (TF_ConstOp $variance_epsilon)))),
        (TF_SubOp $beta, (TF_MulOp $m, $rsqrt)))>;
    def ConvertBatchNormWithGlobalNormalization_2 : Pat<
      (TF_BatchNormWithGlobalNormalizationOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/rsc.io/markdown/entity.go

    	"&Fouriertrf;":                      "\u2131",
    	"&Fscr;":                            "\u2131",
    	"&GJcy;":                            "\u0403",
    	"&GT;":                              "\u003e",
    	"&Gamma;":                           "\u0393",
    	"&Gammad;":                          "\u03dc",
    	"&Gbreve;":                          "\u011e",
    	"&Gcedil;":                          "\u0122",
    	"&Gcirc;":                           "\u011c",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

            given:
            comparer = ExhaustiveLinesSearcher.useUnifiedDiff()
            def expectedLines = ["cat", "bird", "dog"]
            def actualLines = ["kangaroo", "cat", "llama", "dog", "turtle", "cat", "moose", "dog"]
    
            when:
            comparer.assertLinesContainedIn(expectedLines, actualLines)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

        return row * pool.w_out + col;
      };
    
      std::vector<float> correction_data(out_shaped_type.getNumElements(), 1.0);
    
      const float kern_size = pool.kh * pool.kw;
    
      // LEMMA 1: Changing the rounding mode from floor to ceil will increase an
      // output dimension by at most 1 (see `ComputeSpatialOutDim`). This is because
      // for any `x`, `ceil(x) - floor(x) <= 1`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top