- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for seed2 (0.07 sec)
-
src/math/rand/v2/pcg.go
type PCG struct { hi uint64 lo uint64 } // NewPCG returns a new PCG seeded with the given values. func NewPCG(seed1, seed2 uint64) *PCG { return &PCG{seed1, seed2} } // Seed resets the PCG to behave the same way as NewPCG(seed1, seed2). func (p *PCG) Seed(seed1, seed2 uint64) { p.hi = seed1 p.lo = seed2 } // MarshalBinary implements the encoding.BinaryMarshaler interface. func (p *PCG) MarshalBinary() ([]byte, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 2.9K bytes - Viewed (0) -
src/hash/maphash/maphash_purego.go
) func wyhash(key []byte, seed, len uint64) uint64 { p := key i := len var a, b uint64 seed ^= m1 if i > 16 { if i > 48 { seed1 := seed seed2 := seed for ; i > 48; i -= 48 { seed = mix(r8(p)^m2, r8(p[8:])^seed) seed1 = mix(r8(p[16:])^m3, r8(p[24:])^seed1) seed2 = mix(r8(p[32:])^m4, r8(p[40:])^seed2) p = p[48:] } seed ^= seed1 ^ seed2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/hash64.go
default: l := s if l > 48 { seed1 := seed seed2 := seed for ; l > 48; l -= 48 { seed = mix(r8(p)^hashkey[1], r8(add(p, 8))^seed) seed1 = mix(r8(add(p, 16))^hashkey[2], r8(add(p, 24))^seed1) seed2 = mix(r8(add(p, 32))^hashkey[3], r8(add(p, 40))^seed2) p = add(p, 48) } seed ^= seed1 ^ seed2 } for ; l > 16; l -= 16 { seed = mix(r8(p)^hashkey[1], r8(add(p, 8))^seed)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:39:28 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
def LegalizeRandomUniform : Pat< (TF_RandomUniformOp $shape, $seed, $seed2), (TFL_RandomUniformOp $shape, (convertIntAttrTo64Bit $seed), (convertIntAttrTo64Bit $seed2))>; def LegalizeRandomStandardNormal : Pat< (TF_RandomStandardNormalOp $shape, $seed, $seed2), (TFL_RandomStandardNormalOp $shape, (convertIntAttrTo64Bit $seed), (convertIntAttrTo64Bit $seed2))>; def LegalizeMultinomial : Pat<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir
func.func @random_uniform_simple(%arg0: tensor<3xi32>) -> tensor<12x?x64xf32> { // expected-remark@+1 {{lowering requires operand #0 to be a constant}} %0 = "tf.RandomUniform"(%arg0) {device = "", seed = 0 : i64, seed2 = 0 : i64} : (tensor<3xi32>) -> tensor<12x?x64xf32> func.return %0 : tensor<12x?x64xf32> } // ----- module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// CHECK-NOT: tf.RandomUniformInt %1 = "tf.RandomUniformInt"(%0, %arg0, %arg1) {seed = 0 : i64, seed2 = 0 : i64} : (tensor<1xi32>, tensor<i32>, tensor<i32>) -> tensor<1000xi32> func.return %1 : tensor<1000xi32> } // CHECK-LABEL: multinomial func.func @multinomial(%arg0: tensor<2x4xf32>, %seed: tensor<i32>, %seed2: tensor<i32>) -> tensor<2x10xi32> { // CHECK-NOT: tf.Multinomial
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
//===----------------------------------------------------------------------===// // TODO(b/148269299): handle random number generator seeds/states correctly. class MHLO_RngDistributionValue<string enumStr> : ConstantAttr<MHLO_RngDistributionAttr, "::mlir::mhlo::RngDistribution::" # enumStr>; def : Pat<(TF_RandomUniformOp:$old $shape, $seed, $seed2), (MHLO_RngOp (MHLO_ConstantOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema.fbs
table VarHandleOptions { container:string; shared_name:string; } table ReadVariableOptions { } table AssignVariableOptions { } table RandomOptions { seed: long; seed2: long; } table BucketizeOptions { boundaries: [float]; // The bucket boundaries. } table GeluOptions { approximate: bool; } table DynamicUpdateSliceOptions {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
// CHECK-LABEL: func @testSideEffectOp() -> tensor<3xf32> func.func @testSideEffectOp() -> tensor<3xf32> { %0 = arith.constant dense<[3]> : tensor<1xi32> %1 = "tf.RandomUniform"(%0) {device = "", seed = 3 : i64, seed2 = 5 : i64} : (tensor<1xi32>) -> tensor<3xf32> // CHECK: %[[random:.*]] = "tf.RandomUniform" // CHECK: return %[[random]] func.return %1: tensor<3xf32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0)