Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 155 for var2 (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

    };
    
    // Check if given indices in `val1` has same number of elements as given
    // indices in `val2`.
    bool HasEqualElementSize(Value val1, Value val2, ArrayRef<int> val1_indices,
                             ArrayRef<int> val2_indices) {
      ShapedType val1_shape = mlir::cast<ShapedType>(val1.getType());
      ShapedType val2_shape = mlir::cast<ShapedType>(val2.getType());
      if (!val1_shape.hasRank() || !val2_shape.hasRank()) return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/TransformLoggingIntegrationTest.groovy

                    }
                    task jar2(type: Jar) {
                        archiveFileName = 'lib2.jar'
                    }
                    tasks.withType(Jar) {
                        destinationDirectory = buildDir
                    }
                    artifacts {
                        compile jar1
                        compile jar2
                    }
                }
    
                project(':util') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. pkg/kube/inject/webhook_test.go

    			},
    			podSpec: podSpec,
    			meta: metav1.ObjectMeta{
    				Name:      "policy-enabled-never-inject-with-empty-label",
    				Namespace: "test-namespace",
    				Labels:    map[string]string{"foo": "", "foo2": "bar2"},
    			},
    			want: false,
    		},
    		{
    			config: &Config{
    				Policy:               InjectionPolicyDisabled,
    				AlwaysInjectSelector: []metav1.LabelSelector{*parseToLabelSelector(t, "foo")},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  4. pkg/controller/daemon/update_test.go

    	addNodes(manager.nodeStore, 0, 5, nil)
    	manager.dsStore.Add(ds)
    	expectSyncDaemonSets(t, manager, ds, podControl, 5, 0, 0)
    	markPodsReady(podControl.podStore)
    
    	ds.Spec.Template.Spec.Containers[0].Image = "foo2/bar2"
    	ds.Spec.UpdateStrategy.Type = apps.RollingUpdateDaemonSetStrategyType
    	intStr := intstr.FromInt32(int32(maxUnavailable))
    	ds.Spec.UpdateStrategy.RollingUpdate = &apps.RollingUpdateDaemonSet{MaxUnavailable: &intStr}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    loop body inine):
    
    ```mlir
      %var0 = ...
      %var1 = ...
      tf.while (..., %var0, %var1) {
        tf_device.replicate ([%var0, %var1] as %rvar) {
          %compile:2 = "tf._TPUCompileMlir"()
          tf.TPUExecuteAndUpdateVariablesOp(%rvar, compile#1)
        }
      }
    ```
    
    This pass will transform it into
    
    ```mlir
      %var0 = ...
      %var1 = ...
      %state_var0 = ...
      %state_var1 = ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ## Add ILM rules
    ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER --transition-days 0 --noncurrent-expire-days 2 --expire-days 3 --prefix "myprefix" --tags "tag1=val1&tag2=val2"
    ./mc ilm rule list sitea/bucket
    
    ## Check ilm expiry flag
    ./mc admin replicate info sitea --json
    flag1=$(./mc admin replicate info sitea --json | jq '.sites[0]."replicate-ilm-expiry"')
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. test/escape2.go

    func goLeak(b *Bar) { // ERROR "leaking param: b$"
    	go b.NoLeak()
    }
    
    type Bar2 struct {
    	i  [12]int
    	ii []int
    }
    
    func NewBar2() *Bar2 {
    	return &Bar2{[12]int{42}, nil} // ERROR "&Bar2{...} escapes to heap$"
    }
    
    func (b *Bar2) NoLeak() int { // ERROR "b does not escape$"
    	return b.i[0]
    }
    
    func (b *Bar2) Leak() []int { // ERROR "leaking param: b to result ~r0 level=0$"
    	return b.i[:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. pkg/kubelet/util/cache/object_cache_test.go

    	if value.(string) != testObj.val {
    		t.Errorf("Expected to get cached value: %#v, but got: %s", testObj.val, value.(string))
    	}
    
    }
    
    func TestExpirationBasic(t *testing.T) {
    	unexpectedVal := "bar"
    	expectedVal := "bar2"
    
    	testObj := testObject{
    		key: "foo",
    		val: unexpectedVal,
    	}
    
    	fakeClock := testingclock.NewFakeClock(time.Now())
    
    	objectCache := NewFakeObjectCache(func() (interface{}, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGeneratorSpec.groovy

                .add(new TestMethodResult(1, "foo"))
    
            def barTest = new TestClassResult(2, 'BarTest', 100)
                .add(new TestMethodResult(2, "bar"))
                .add(new TestMethodResult(3, "bar2"))
    
            resultsProvider.visitClasses(_) >> { Action action ->
                action.execute(fooTest)
                action.execute(barTest)
            }
    
            when:
            generator.generate()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:07:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

    class PropertiesAsMapTest {
    
        @Test
        void testPropertiesAsMap() {
            Properties props = new Properties();
            props.setProperty("foo1", "bar1");
            props.setProperty("foo2", "bar2");
            PropertiesAsMap pam = new PropertiesAsMap(props);
            assertEquals(2, pam.size());
            Set<Entry<String, String>> set = pam.entrySet();
            assertNotNull(set);
            assertEquals(2, set.size());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top