Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for SHUFFLE (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  return null;
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  return null;
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    		askDisks = len(disks) // use all available drives
    	}
    
    	// However many we ask, versions must exist on ~50%
    	listingQuorum := (askDisks + 1) / 2
    
    	if askDisks > 0 && len(disks) > askDisks {
    		rand.Shuffle(len(disks), func(i, j int) {
    			disks[i], disks[j] = disks[j], disks[i]
    		})
    		fallbackDisks = disks[askDisks:]
    		disks = disks[:askDisks]
    	}
    
    	// How to resolve results.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          return no_op();
    
        // For vectors, shuffle values by sorting instead of the obvious
        // Fisher-Yates algorithm. Fisher-Yates is simple to implement and correct,
        // but not easily parallelizable. For a sufficiently parallel architecture,
        // it is faster to sort many times, than Fisher-Yates shuffle once.
        if (input_rank == 1) {
          // Shuffle values by assigning each value a random key and sorting the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //	    the Go tree can run a sanity check but not spend time running
    //	    exhaustive tests.
    //
    //	-shuffle off,on,N
    //	    Randomize the execution order of tests and benchmarks.
    //	    It is off by default. If -shuffle is set to on, then it will seed
    //	    the randomizer using the system clock. If -shuffle is set to an
    //	    integer N, then N will be used as the seed value. In both cases,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    func randomizeBytes(s []byte, seed int64) []byte {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	n := len(s)
    	var j int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. RELEASE.md

    *   `tf.data`
    
        *   `tf.data.Dataset.zip` now supports Python-style zipping, i.e. `Dataset.zip(a, b, c)`.
        * `tf.data.Dataset.shuffle` now supports `tf.data.UNKNOWN_CARDINALITY` When doing a "full shuffle" using  `dataset = dataset.shuffle(dataset.cardinality())`. But remember, a "full shuffle" will load the full dataset into memory so that it can be shuffled, so make sure to only use this with small datasets or datasets of small objects (like filenames).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/data.go

    		// Note: we load C symbols before Go symbols, so we can scan from the start.
    		for i < len(textp) && (ldr.SubSym(textp[i]) != 0 || ldr.AttrSubSymbol(textp[i])) {
    			i++
    		}
    		textp = textp[i:]
    		r.Shuffle(len(textp), func(i, j int) {
    			textp[i], textp[j] = textp[j], textp[i]
    		})
    	}
    
    	text := ctxt.xdefine("runtime.text", sym.STEXT, 0)
    	etext := ctxt.xdefine("runtime.etext", sym.STEXT, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    					"handSize": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

          return ArraysAreCastCompatible(inferred, actual);
        }
      }];
    }
    
    def TF_ConjugateTransposeOp : TF_Op<"ConjugateTranspose", [Pure]> {
      let summary = [{
    Shuffle dimensions of x according to a permutation and conjugate the result.
      }];
    
      let description = [{
    The output `y` has the same rank as `x`. The shapes of `x` and `y` satisfy:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top