Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for Shuffle (0.22 sec)

  1. RELEASE.md

        *   `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).
    
    *   `tf.math`
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  2. cmd/erasure-server-pool.go

    						askDisks = len(disks) // use all available drives
    					}
    
    					var fallbackDisks []StorageAPI
    					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]
    					}
    
    					requestedVersions := 0
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

            builder.appendCodePoint(cp);
          }
          return builder.toString();
        }
        // Use a shuffled index array to ensure constant percentage of matching
        // characters
        List<Integer> list = Lists.newArrayList();
        for (int i = 0; i < length; i++) {
          list.add(i);
        }
        Collections.shuffle(list, rand);
        if (forceSlow) {
          // Move zero index to front to force a matching character (if percent > 0)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

            builder.appendCodePoint(cp);
          }
          return builder.toString();
        }
        // Use a shuffled index array to ensure constant percentage of matching
        // characters
        List<Integer> list = Lists.newArrayList();
        for (int i = 0; i < length; i++) {
          list.add(i);
        }
        Collections.shuffle(list, rand);
        if (forceSlow) {
          // Move zero index to front to force a matching character (if percent > 0)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(1, 2); // Duplicate
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

                EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(5, 1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils_test.go

    	if err != nil {
    		removeRoots(disks)
    		t.Fatal(err)
    	}
    	defer removeRoots(disks)
    	z := objLayer.(*erasureServerPools)
    	testShuffleDisks(t, z)
    }
    
    // Test shuffleDisks which returns shuffled slice of disks for their actual distribution.
    func testShuffleDisks(t *testing.T, z *erasureServerPools) {
    	disks := z.serverPools[0].GetDisks(0)()
    	distribution := []int{16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(1, 2); // Duplicate
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

                EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(5, 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top