Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 384 for partitioned (0.31 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertFalse(partitions.hasNext());
      }
    
      public void testPaddedPartition_singleton2() {
        Iterator<Integer> source = Iterators.singletonIterator(1);
        Iterator<List<Integer>> partitions = Iterators.paddedPartition(source, 2);
        assertTrue(partitions.hasNext());
        assertTrue(partitions.hasNext());
        assertEquals(Arrays.<@Nullable Integer>asList(1, null), partitions.next());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/mergelocals_test.go

    		},
    		{
    			// missing element 2
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{0, 1},
    				v2: []int{0, 1},
    				v3: []int{0, 1},
    			},
    			experr: true,
    		},
    		{
    			// partitions disagree for v1 vs v2
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{0, 1, 2},
    				v2: []int{1, 0, 2},
    				v3: []int{0, 1, 2},
    			},
    			experr: true,
    		},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    In detail,
    
    ```python
        outputs[i].shape = [sum(partitions == i)] + data.shape[partitions.ndim:]
    
        outputs[i] = pack([data[js, ...] for js if partitions[js] == i])
    ```
    
    `data.shape` must start with `partitions.shape`.
    
    For example:
    
    ```python
        # Scalar partitions.
        partitions = 1
        num_partitions = 2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-utils.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    
    	"github.com/zeebo/xxh3"
    )
    
    // getFileInfoVersions partitions this object's versions such that,
    //   - fivs.Versions has all the non-free versions
    //   - fivs.FreeVersions has all the free versions
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

      local format="${4}"
    
    
      if [[ -z "${devicenum}" ]]; then
        echo "Failed to get the local disk number for device ${ssd}" >&2
        exit 2
      fi
    
      # TODO: Handle partitioned disks. Right now this code just ignores partitions
      if [[ "${format}" == "fs" ]]; then
        if [[ "${interface}" == "scsi" ]]; then
          local actual_device
          actual_device=$(readlink -f "${ssd}" | cut -d '/' -f 3)
          # Error checking
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/data_flow_grad.cc

      // [g1, g2, g4, g5, g3]
      auto data = op.input(0);
      auto partitions = op.input(1);
      int32_t num_partitions;
      TF_RETURN_IF_ERROR(
          GetNodeAttr(op.node()->attrs(), "num_partitions", &num_partitions));
    
      // Note: the shape of the partitions is a prefix of the data shape.
      // shape(partitions) = [5]
      auto partitions_shape = Shape(scope, partitions);
      // We now create a partitions-shaped tensor with integers from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 24 13:40:35 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.5.md

      * For StatefulSet (previously PetSet), this change means creation of
        replacement pods is blocked until old pods are definitely not running
        (indicated either by the kubelet returning from partitioned state,
        deletion of the Node object, deletion of the instance in the cloud provider,
        or force deletion of the pod from the api-server).
        This helps prevent "split brain" scenarios in clustered applications by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top